Changeset 2764
- Timestamp:
- 01/09/04 22:52:28 (21 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r2763 r2764 10 10 11 11 * mcalib/MHCalibrationPixel.[h,cc] 12 * mcalib/MCalibrationPix.[h,cc] 12 13 - Ranges of time slices stored independently for HiGain and LoGain 13 14 in order to allow consecutive checks -
trunk/MagicSoft/Mars/mcalib/MCalibrationPix.h
r2759 r2764 29 29 Float_t fTime; // The mean arrival time after the fit 30 30 Float_t fSigmaTime; // The error of the mean arrival time after the fit 31 Float_t fTimeChiSquare; // The probability of the fit function 31 Float_t fTimeChiSquare; // The Chi Square of the fit function 32 Float_t fTimeProb; // The probability of the fit function 32 33 33 34 Float_t fFactor; // The laboratory F-factor … … 78 79 Bool_t IsPINDiodeMethodValid() const { return fPINDiodeMethodValid; } 79 80 81 // Charges 80 82 Float_t GetCharge() const { return fCharge; } 81 Float_t GetRSigmaSquare() const { return fRSigmaSquare; }82 83 83 Float_t GetErrCharge() const { return fErrCharge; } 84 84 Float_t GetChargeProb() const { return fChargeProb; } 85 86 85 Float_t GetSigmaCharge() const { return fSigmaCharge; } 87 86 Float_t GetErrSigmaCharge() const { return fErrSigmaCharge; } 87 Float_t GetRSigmaSquare() const { return fRSigmaSquare; } 88 89 // Times 88 90 Float_t GetTime() const { return fTime; } 89 91 Float_t GetSigmaTime() const { return fSigmaTime; } 90 Float_t GetTimeChiSquare() const { return fTimeChiSquare; } 92 Float_t GetTimeChiSquare() const { return fTimeChiSquare; } 93 Float_t GetTimeProb() const { return fTimeProb; } 91 94 92 95 Float_t GetConversionHiLo() const { return fConversionHiLo; } … … 167 170 168 171 MHCalibrationPixel *GetHist() const { return fHist; } 169 void Draw(Option_t *opt="") { fHist->Draw(opt); }172 void Draw(Option_t *opt="") { fHist->Draw(opt); } 170 173 171 174 ClassDef(MCalibrationPix, 1) // Storage Container for Calibration information of one pixel -
trunk/MagicSoft/Mars/mcalib/MHCalibrationPixel.cc
r2734 r2764 88 88 fTimeMean(-1.), 89 89 fTimeSigma(-1.), 90 fTimeLowerFitRange(3.), 91 fTimeUpperFitRange(9.), 90 fTimeLowerFitRangeHiGain(0), 91 fTimeUpperFitRangeHiGain(0), 92 fTimeLowerFitRangeLoGain(0), 93 fTimeUpperFitRangeLoGain(0), 92 94 fUseLoGain(kFALSE), 93 95 fOffset(0.), … … 123 125 fHTimeHiGain->SetXTitle("Mean Arrival Times [Hi Gain FADC slice nr]"); 124 126 fHTimeHiGain->SetYTitle("Nr. of events"); 125 // fHTimeHiGain->Sumw2();126 127 127 fHTimeHiGain->SetDirectory(NULL); 128 128 … … 131 131 fHTimeLoGain->SetXTitle("Mean Arrival Times [Lo Gain FADC slice nr]"); 132 132 fHTimeLoGain->SetYTitle("Nr. of events"); 133 // fHTimeLoGain->Sumw2();134 135 133 fHTimeLoGain->SetDirectory(NULL); 136 134 … … 590 588 return kFALSE; 591 589 592 rmin = (rmin != 0.) ? rmin : fTimeLowerFitRange;593 rmax = (rmax != 0.) ? rmax : fTimeUpperFitRange;590 rmin = (rmin != 0.) ? rmin : (Axis_t)fTimeLowerFitRangeHiGain; 591 rmax = (rmax != 0.) ? rmax : (Axis_t)fTimeUpperFitRangeHiGain; 594 592 595 593 const Stat_t entries = fHTimeHiGain->Integral(); … … 646 644 return kFALSE; 647 645 648 rmin = (rmin != 0.) ? rmin : fTimeLowerFitRange;649 rmax = (rmax != 0.) ? rmax : fTimeUpperFitRange;646 rmin = (rmin != 0.) ? rmin : (Axis_t)fTimeLowerFitRangeLoGain; 647 rmax = (rmax != 0.) ? rmax : (Axis_t)fTimeUpperFitRangeLoGain; 650 648 651 649 const Stat_t entries = fHTimeLoGain->Integral();
Note:
See TracChangeset
for help on using the changeset viewer.