- Timestamp:
- 10/16/02 20:36:50 (22 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r1545 r1546 7 7 - Now the default pixel treatment is the same as originally: add 8 8 all FADC slices 9 10 * macros/MagicHillas.C 11 - changed accordingly to changes above. 9 12 10 13 2002/10/16: Thomas Bretz -
trunk/MagicSoft/Mars/macros/MagicHillas.C
r1543 r1546 101 101 // Example: use only 2nd to 6th FADC slices for photon calculation: 102 102 // 103 // MCerPhotCalc2 ncalc;104 103 // const Float_t x[15]={0, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0}; 105 104 // TArrayF w(15,x); -
trunk/MagicSoft/Mars/manalysis/AnalysisLinkDef.h
r1524 r1546 9 9 #pragma link C++ class MCerPhotAnal+; 10 10 #pragma link C++ class MCerPhotCalc+; 11 #pragma link C++ class MCerPhotCalc2+;12 11 13 12 #pragma link C++ class MImgCleanStd+; -
trunk/MagicSoft/Mars/manalysis/MCerPhotCalc.h
r1291 r1546 6 6 // MCerPhotCalc // 7 7 // // 8 // Integrates the time slices of one pixel and substracts the pedestal//9 // (offset) value//8 // Integrates the desired ADC time slices of one pixel and substracts the // 9 // pedestal (offset) value // 10 10 // // 11 11 ///////////////////////////////////////////////////////////////////////////// … … 15 15 #endif 16 16 17 #include <TArrayF.h> 18 17 19 class MRawEvtData; 18 20 class MPedestalCam; 19 21 class MCerPhotEvt; 20 22 class MRawRunHeader; 23 class TArrayF; 21 24 22 25 class MCerPhotCalc : public MTask 23 26 { 24 MPedestalCam *fPedestals; // Pedestals of all pixels in the camera 25 MRawEvtData *fRawEvt; // raw event data (time slices) 26 MCerPhotEvt *fCerPhotEvt; // Cerenkov Photon Event used for calculation 27 MRawRunHeader *fRunHeader; // RunHeader information 27 MPedestalCam *fPedestals; // Pedestals of all pixels in the camera 28 MRawEvtData *fRawEvt; // raw event data (time slices) 29 MCerPhotEvt *fCerPhotEvt; // Cerenkov Photon Event used for calculation 30 MRawRunHeader *fRunHeader; // RunHeader information 31 32 Bool_t fEnableFix; // fix for a bug in files from older camera versions (<=40) 28 33 29 Bool_t fEnableFix; // fix for a bug in files from older camera versions (<=40) 34 TArrayF fWeight; // Weights for adding up the ADC slices 35 Float_t fSumQuadWeights; 36 37 void SetDefaultWeights(); 30 38 31 39 public: … … 34 42 Bool_t PreProcess(MParList *pList); 35 43 Bool_t Process(); 44 Bool_t ReInit(MParList *pList); 36 45 37 Bool_t ReInit(MParList *pList);46 void SetWeights(TArrayF w) {fWeight.Set(w.GetSize(),w.GetArray());} 38 47 39 48 ClassDef(MCerPhotCalc, 0) // Task to calculate cerenkov photons from raw data 40 49 }; 50 41 51 42 52 #endif
Note:
See TracChangeset
for help on using the changeset viewer.