Changeset 1546 for trunk/MagicSoft/Mars/manalysis
- Timestamp:
- 10/16/02 20:36:50 (23 years ago)
- Location:
- trunk/MagicSoft/Mars/manalysis
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
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.