Changeset 2791 for trunk/MagicSoft/Mars
- Timestamp:
- 01/13/04 17:31:36 (21 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r2790 r2791 17 17 - declare fit as not valid, if less than 100 events 18 18 in single photo-electron peak 19 20 * mcalib/MHCalibrationPixel.[h.cc] 21 - new function IsEmpty() 22 - Time fit accepted if ChiSquare less than 30. (instead of 20.) 19 23 20 24 -
trunk/MagicSoft/Mars/mcalib/MHCalibrationBlindPixel.h
r2763 r2791 121 121 122 122 void CutAllEdges(); 123 124 TObject *DrawClone(Option_t *option="") const; 123 125 void Draw(Option_t *option=""); 124 126 -
trunk/MagicSoft/Mars/mcalib/MHCalibrationPixel.cc
r2764 r2791 79 79 fChargeLastLoGain(9999.5), 80 80 fChargeNbinsLoGain(1200), 81 fFitOK(kFALSE),82 81 fChargeChisquare(-1.), 83 82 fChargeProb(-1.), … … 93 92 fTimeUpperFitRangeLoGain(0), 94 93 fUseLoGain(kFALSE), 94 fFitOK(kFALSE), 95 95 fOffset(0.), 96 96 fSlope(0.) … … 628 628 fTimeSigma = fTimeGausFit->GetParameter(2); 629 629 630 if (fTimeChisquare > 20.) // Cannot use Probability because Ndf is sometimes < 1630 if (fTimeChisquare > 30.) // Cannot use Probability because Ndf is sometimes < 1 631 631 { 632 632 *fLog << warn << "Fit of the Arrival times failed ! " << endl; … … 684 684 fTimeSigma = fTimeGausFit->GetParameter(2); 685 685 686 if (fTimeChisquare > 20.) // Cannot use Probability because Ndf is sometimes < 1686 if (fTimeChisquare > 30.) // Cannot use Probability because Ndf is sometimes < 1 687 687 { 688 688 *fLog << warn << "Fit of the Arrival times failed ! " << endl;
Note:
See TracChangeset
for help on using the changeset viewer.