Changeset 3602 for trunk/MagicSoft/Mars/mcalib/MCalibrationChargeCalc.h
- Timestamp:
- 03/29/04 18:58:22 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mcalib/MCalibrationChargeCalc.h
r3559 r3602 13 13 #ifndef MARS_MTask 14 14 #include "MTask.h" 15 #endif 16 17 #ifndef MARS_MBadPixelsPix 18 #include "MBadPixelsPix.h" 15 19 #endif 16 20 … … 32 36 { 33 37 private: 38 39 static const Float_t fgChargeLimit; // The default for fChargeLimit 40 static const Float_t fgChargeErrLimit; // The default for fChargeErrLimit 41 static const Float_t fgChargeRelErrLimit; // The default for fChargeRelErrLimit 42 static const Float_t fgTimeLowerLimit; // The default for fTimeLowerLimit 43 static const Float_t fgTimeUpperLimit; // The default for fTimeUpperLimit 44 45 Float_t fChargeLimit; // The limit (in units of PedRMS) for acceptance of the fitted mean charge 46 Float_t fChargeErrLimit; // The limit (in units of PedRMS) for acceptance of the fitted charge sigma square 47 Float_t fChargeRelErrLimit; // The limit (in units of Sigma of fitted charge) for acceptance of the fitted mean 48 Float_t fTimeLowerLimit; // The limit (in units of FADC slices) for distance to first signal extraction slice 49 Float_t fTimeUpperLimit; // The limit (in units of FADC slices) for distance to last signal extraction slice 34 50 35 51 MPedestalCam *fPedestals; //! Pedestals of all pixels in the camera … … 67 83 void FinalizeAvPedestals(MCalibrationChargePix &cal, Float_t avped, Float_t avrms, Int_t avnum); 68 84 Bool_t FinalizeCharges(MCalibrationChargePix &cal, MBadPixelsPix &bad); 69 void PrintInfo(); 70 85 86 void PrintUnsuitable(MBadPixelsPix::UnsuitableType_t typ, const char *text) const; 87 void PrintUncalibrated(MBadPixelsPix::UncalibratedType_t typ, const char *text) const; 88 71 89 public: 72 90 … … 75 93 void Clear(const Option_t *o=""); 76 94 95 void SetChargeLimit ( const Float_t f=fgChargeLimit ) { fChargeLimit = f; } 96 void SetChargeErrLimit ( const Float_t f=fgChargeErrLimit ) { fChargeErrLimit = f; } 97 void SetChargeRelErrLimit( const Float_t f=fgChargeRelErrLimit ) { fChargeRelErrLimit = f; } 98 99 void SetTimeLowerLimit ( const Float_t f=fgTimeLowerLimit ) { fTimeLowerLimit = f; } 100 void SetTimeUpperLimit ( const Float_t f=fgTimeUpperLimit ) { fTimeUpperLimit = f; } 101 77 102 void SkipQualityChecks(Bool_t b=kTRUE) 78 103 {b ? CLRBIT(fFlags, kUseQualityChecks) : SETBIT(fFlags, kUseQualityChecks);}
Note:
See TracChangeset
for help on using the changeset viewer.