Changeset 3701 for trunk/MagicSoft/Mars/manalysis/MPedCalcPedRun.h
- Timestamp:
- 04/09/04 19:17:17 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/manalysis/MPedCalcPedRun.h
r3199 r3701 10 10 #endif 11 11 12 #ifndef ROOT_TArrayI 13 #include <TArrayI.h> 14 #endif 15 12 16 class MRawEvtData; 13 17 class MPedestalCam; 14 18 class MGeomCam; 15 19 class MPedCalcPedRun : public MTask 16 20 { 17 Byte_t fNumHiGainSamples;18 UInt_t fNumSamplesTot;19 21 20 MRawEvtData *fRawEvt; // raw event data (time slices) 21 MPedestalCam *fPedestals; // Pedestals of all pixels in the camera 22 Byte_t fNumHiGainSamples; 23 UInt_t fNumSamplesTot; 24 25 MRawEvtData *fRawEvt; // raw event data (time slices) 26 MPedestalCam *fPedestals; // Pedestals of all pixels in the camera 27 MGeomCam *fGeom; // Camera geometry 28 29 TArrayF fSumx; // sum of values 30 TArrayF fSumx2; // sum of squared values 31 TArrayF fAreaSumx; // averaged sum of values per area idx 32 TArrayF fAreaSumx2; // averaged sum of squared values per area idx 33 TArrayI fAreaValid; // number of valid pixel with area idx 34 TArrayF fSectorSumx; // averaged sum of values per sector 35 TArrayF fSectorSumx2; // averaged sum of squared values per sector 36 TArrayI fSectorValid; // number of valid pixel with sector idx 37 38 Int_t PreProcess ( MParList *pList ); 39 Bool_t ReInit ( MParList *pList ); 40 Int_t Process (); 41 Int_t PostProcess(); 42 43 public: 22 44 23 TArrayF fSumx; // sum of values 24 TArrayF fSumx2; // sum of squared values 25 26 Bool_t ReInit(MParList *pList); 27 28 Int_t PreProcess(MParList *pList); 29 Int_t Process(); 30 Int_t PostProcess(); 31 32 public: 33 MPedCalcPedRun(const char *name=NULL, const char *title=NULL); 34 35 void Clear(const Option_t *o=""); 36 void SetNumHiGainSamples(const Byte_t n) { fNumHiGainSamples = n; } 37 38 ClassDef(MPedCalcPedRun, 0) // Task to calculate pedestals from pedestal runs raw data 45 MPedCalcPedRun(const char *name=NULL, const char *title=NULL); 46 47 void Clear(const Option_t *o=""); 48 void SetNumHiGainSamples(const Byte_t n) { fNumHiGainSamples = n; } 49 50 ClassDef(MPedCalcPedRun, 0) // Task to calculate pedestals from pedestal runs raw data 39 51 }; 40 52
Note:
See TracChangeset
for help on using the changeset viewer.