Changeset 3112 for trunk/MagicSoft/Mars/mfilter/MFCosmics.h
- Timestamp:
- 02/12/04 11:34:32 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mfilter/MFCosmics.h
r3084 r3112 1 1 #ifndef MARS_MFCosmics 2 2 #define MARS_MFCosmics 3 4 /////////////////////////////////////////////////////////////////////////////5 // //6 // MFCosmics //7 // //8 // Filter against cosmics (used especially by the calibration //9 // //10 /////////////////////////////////////////////////////////////////////////////11 3 12 4 #ifndef MARS_MFilter … … 22 14 { 23 15 private: 16 MPedestalCam *fPedestals; // Pedestals of all pixels in the camera 17 MExtractedSignalCam *fSignals; // Calibration events of all pixels in the camera 24 18 25 MPedestalCam *fPedestals; // Pedestals of all pixels in the camera 26 MExtractedSignalCam *fSignals; // Calibration events of all pixels in the camera 19 MRawEvtData *fRawEvt; // raw event data (time slices) 27 20 28 MRawEvtData *fRawEvt; // raw event data (time slices) 21 Int_t fCut[2]; 22 Bool_t fResult; 29 23 30 Int_t fCut[2]; 31 Bool_t fResult; 32 Int_t fMaxEmptyPixels; // Maximum number of empty pixels before declaring event as cosmic 33 Float_t fSqrtHiGainSamples; // Square root of the number of used Hi-Gain Samples 34 35 Bool_t ReInit(MParList *pList); 36 Int_t PreProcess(MParList *pList); 37 Int_t Process(); 38 Int_t PostProcess(); 24 Int_t fMaxEmptyPixels; // Maximum number of empty pixels before declaring event as cosmic 25 Float_t fSqrtHiGainSamples; // Square root of the number of used Hi-Gain Samples 39 26 40 Bool_t CosmicsRejection(); 41 42 Bool_t IsExpressionTrue() const { return fResult; } 27 Bool_t ReInit(MParList *pList); 28 Int_t PreProcess(MParList *pList); 29 Int_t Process(); 30 Int_t PostProcess(); 31 32 Bool_t CosmicsRejection() const; 33 34 Bool_t IsExpressionTrue() const { return fResult; } 43 35 44 36 public: 37 MFCosmics(const char *name=NULL, const char *title=NULL); 45 38 46 MFCosmics(const char *name=NULL, const char *title=NULL); 39 void SetMaxEmptyPixels(const Int_t n) { fMaxEmptyPixels = n; } 40 Int_t GetMaxEmptyPixels() const { return fMaxEmptyPixels; } 47 41 48 void SetMaxEmptyPixels(const Int_t n) { fMaxEmptyPixels = n; } 49 Int_t GetMaxEmptyPixels() const { return fMaxEmptyPixels; } 50 51 ClassDef(MFCosmics, 0) // Filter to perform a cosmics rejection 42 ClassDef(MFCosmics, 0) // Filter to perform a cosmics rejection 52 43 }; 53 44
Note:
See TracChangeset
for help on using the changeset viewer.