Changeset 2718 for trunk/MagicSoft/Mars/mhist
- Timestamp:
- 12/18/03 17:33:15 (21 years ago)
- Location:
- trunk/MagicSoft/Mars/mhist
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mhist/MHCalibrationPixel.cc
r2699 r2718 86 86 fTimeProb(-1.), 87 87 fTimeNdf(-1), 88 fTimeMean(-1.), 89 fTimeSigma(-1.), 90 fTimeLowerFitRange(3.), 91 fTimeUpperFitRange(9.), 88 92 fUseLoGain(kFALSE), 89 93 fOffset(0.), … … 586 590 return kFALSE; 587 591 588 rmin = (rmin != 0.) ? rmin : 3.;589 rmax = (rmax != 0.) ? rmax : 9.;592 rmin = (rmin != 0.) ? rmin : fTimeLowerFitRange; 593 rmax = (rmax != 0.) ? rmax : fTimeUpperFitRange; 590 594 591 595 const Stat_t entries = fHTimeHiGain->Integral(); … … 642 646 return kFALSE; 643 647 644 rmin = (rmin != 0.) ? rmin : 3.;645 rmax = (rmax != 0.) ? rmax : 9.;648 rmin = (rmin != 0.) ? rmin : fTimeLowerFitRange; 649 rmax = (rmax != 0.) ? rmax : fTimeUpperFitRange; 646 650 647 651 const Stat_t entries = fHTimeLoGain->Integral(); … … 751 755 // 752 756 // The fit result is accepted under condition 753 // The Probability is greater than gkProbLimit (default 0.0 1 == 99%)757 // The Probability is greater than gkProbLimit (default 0.001 == 99.9%) 754 758 // 755 759 if (fChargeProb < gkProbLimit) 756 760 { 757 *fLog << warn << "Prob: " << fChargeProb << " is smaller than the allowed value: " << gkProbLimit << endl; 761 *fLog << warn << "Prob: " << fChargeProb 762 << " is smaller than the allowed value: " << gkProbLimit << endl; 758 763 fFitOK = kFALSE; 759 764 return kFALSE; … … 761 766 762 767 fFitOK = kTRUE; 763 764 768 return kTRUE; 765 769 } -
trunk/MagicSoft/Mars/mhist/MHCalibrationPixel.h
r2699 r2718 85 85 Double_t fTimeSigma; 86 86 87 Stat_t fTimeLowerFitRange; 88 Stat_t fTimeUpperFitRange; 89 87 90 Bool_t fUseLoGain; 88 91 … … 133 136 const Double_t GetTimeSigma() const { return fTimeSigma; } 134 137 138 const Stat_t GetTimeLowerFitRange() const { return fTimeLowerFitRange; } 139 const Stat_t GetTimeUpperFitRange() const { return fTimeUpperFitRange; } 140 135 141 const Double_t GetTimeChiSquare() const { return fTimeChisquare; } 136 142 const Double_t GetTimeProb() const { return fTimeProb; }
Note:
See TracChangeset
for help on using the changeset viewer.