Changeset 3007 for trunk/MagicSoft/Mars/mcalib/MCalibrationPix.h
- Timestamp:
- 02/02/04 22:52:53 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mcalib/MCalibrationPix.h
r2950 r3007 12 12 private: 13 13 14 static const Float_t gkElectronicPedRms; // The pure electronic component of the RMS 15 static const Float_t gkErrElectronicPedRms; // The error of the pure electronic component of the RMS 16 static const Float_t gkFFactor; // The laboratory F-factor 17 static const Float_t gkFFactorError; // The laboratory F-factor Error 18 static const Float_t gkChargeLimit; // The limit (in units of PedRMS) for acceptance of the fitted mean charge 19 static const Float_t gkChargeErrLimit; // The limit (in units of PedRMS) for acceptance of the fitted charge sigma 20 static const Float_t gkChargeRelErrLimit; // The limit (in units of Error of fitted charge) for acceptance of the fitted mean 21 static const Float_t gkTimeLimit; // The limit (in units of FADC slices) for acceptance of the fitted time 22 static const Float_t gkTimeErrLimit; // The limit (in units of FADC slices) for acceptance of the fitted time sigma 23 14 24 Int_t fPixId; // the pixel Id 15 16 const Float_t fElectronicPedRms; // The pure electronic component of the RMS17 const Float_t fErrElectronicPedRms; // The error of the pure electronic component of the RMS18 25 19 const Float_t fFactor; // The laboratory F-factor 20 const Float_t fFactorError; // The laboratory F-factor Error 21 22 const Float_t fChargeLimit; // The limit (in units of PedRMS) for acceptance of the fitted mean charge 23 const Float_t fChargeErrLimit; // The limit (in units of PedRMS) for acceptance of the fitted charge sigma 24 const Float_t fChargeRelErrLimit; // The limit (in units of Error of fitted charge) for acceptance of the fitted mean 25 Byte_t fFlags; // Flag for the set Bits 26 UInt_t fFlags; // Flag for the set Bits 26 27 27 28 Float_t fCharge; // The mean reduced charge after the fit … … 36 37 Float_t fErrPedRms; // The error of the pedestal RMS (from MPedestalPix) 37 38 38 Float_t fTime; // The mean arrival time after the fit 39 Float_t fTime; // The mean arrival time after the fit 40 Float_t fErrTime; // The mean arrival time error after the fit 39 41 Float_t fSigmaTime; // The error of the mean arrival time after the fit 40 Float_t fTimeChiSquare; // The Chi Square of the fit function41 42 Float_t fTimeProb; // The probability of the fit function 43 44 Byte_t fTimeFirstHiGain; // The first used FADC slice 45 Byte_t fTimeLastHiGain; // The last used FADC slice 46 47 Byte_t fTimeFirstLoGain; // The first used FADC slice 48 Byte_t fTimeLastLoGain; // The last used FADC slice 42 49 43 50 Float_t fPheFFactorMethod; // The number of Phe's calculated (F-factor method) … … 61 68 enum { kHiGainSaturation, 62 69 kExcluded, kExcludeQualityCheck, 63 kFitValid, kFitted, 70 kChargeFitValid, kTimeFitValid, 71 kFitted, 64 72 kBlindPixelMethodValid, kFFactorMethodValid, kPINDiodeMethodValid }; 65 73 … … 90 98 // Times 91 99 Float_t GetTime() const { return fTime; } 100 Float_t GetErrTime() const { return fErrTime; } 92 101 Float_t GetSigmaTime() const { return fSigmaTime; } 93 Float_t GetTimeChiSquare() const { return fTimeChiSquare; }94 102 Float_t GetTimeProb() const { return fTimeProb; } 95 103 … … 118 126 119 127 Bool_t IsExcluded() const; 120 Bool_t IsFitValid() const; 128 Bool_t IsChargeFitValid() const; 129 Bool_t IsTimeFitValid() const; 121 130 Bool_t IsFitted() const; 122 131 Bool_t IsBlindPixelMethodValid() const; … … 138 147 void SetExcluded(Bool_t b = kTRUE); 139 148 void SetExcludeQualityCheck(Bool_t b = kTRUE); 140 void SetFitValid(Bool_t b = kTRUE); 149 void SetChargeFitValid(Bool_t b = kTRUE); 150 void SetTimeFitValid(Bool_t b = kTRUE); 141 151 void SetFitted(Bool_t b = kTRUE); 142 152 void SetBlindPixelMethodValid(Bool_t b = kTRUE); 143 153 void SetFFactorMethodValid(Bool_t b = kTRUE); 144 154 void SetPINDiodeMethodValid(Bool_t b = kTRUE); 155 void SetAbsTimeBordersHiGain(Byte_t f, Byte_t l); 156 void SetAbsTimeBordersLoGain(Byte_t f, Byte_t l); 145 157 146 158 // Fill histos 147 Bool_t FillChargeHiGain(Float_t q) const { return fHist->FillChargeHiGain(q); } 148 Bool_t FillTimeHiGain(Float_t t) const { return fHist->FillTimeHiGain(t); } 159 Bool_t FillChargeHiGain(Float_t q) const { return fHist->FillChargeHiGain(q); } 160 Bool_t FillAbsTimeHiGain(Float_t t) const { return fHist->FillAbsTimeHiGain(t); } 161 Bool_t FillRelTimeHiGain(Float_t t) const { return fHist->FillRelTimeHiGain(t); } 149 162 Bool_t FillRChargevsTimeHiGain(Float_t rq, Int_t t) const { return fHist->FillChargevsNHiGain(rq,t); } 150 163 151 Bool_t FillChargeLoGain(Float_t q) const { return fHist->FillChargeLoGain(q); } 152 Bool_t FillTimeLoGain(Float_t t) const { return fHist->FillTimeLoGain(t); } 164 Bool_t FillChargeLoGain(Float_t q) const { return fHist->FillChargeLoGain(q); } 165 Bool_t FillAbsTimeLoGain(Float_t t) const { return fHist->FillAbsTimeLoGain(t); } 166 Bool_t FillRelTimeLoGain(Float_t t) const { return fHist->FillRelTimeLoGain(t); } 153 167 Bool_t FillRChargevsTimeLoGain(Float_t rq, Int_t t) const { return fHist->FillChargevsNLoGain(rq,t); } 154 168
Note:
See TracChangeset
for help on using the changeset viewer.