Changeset 2852 for trunk/MagicSoft/Mars/mcalib/MCalibrationPix.cc
- Timestamp:
- 01/19/04 23:02:57 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mcalib/MCalibrationPix.cc
r2839 r2852 89 89 fBlindPixelMethodValid(kFALSE), 90 90 fFFactorMethodValid(kFALSE), 91 fPINDiodeMethodValid(kFALSE) 91 fPINDiodeMethodValid(kFALSE), 92 fChargeLimit(5.), 93 fChargeErrLimit(0.) 92 94 { 93 95 … … 375 377 equivpedestal /= fConversionHiLo; 376 378 377 if (fCharge < 5.*equivpedestal) 378 { 379 *fLog << warn << "WARNING: Fitted Charge is smaller than 5 Pedestal RMS in Pixel " << fPixId << endl; 380 return kFALSE; 381 } 382 383 if (fErrCharge < 0.) 384 { 385 *fLog << warn << "WARNING: Error of Fitted Charge is smaller than 0 in Pixel " << fPixId << endl; 379 if (fCharge < fChargeLimit*equivpedestal) 380 { 381 *fLog << warn << "WARNING: Fitted Charge is smaller than " 382 << fChargeLimit << " Pedestal RMS in Pixel " << fPixId << endl; 383 return kFALSE; 384 } 385 386 if (fErrCharge < fChargeErrLimit) 387 { 388 *fLog << warn << "WARNING: Error of Fitted Charge is smaller than " 389 << fChargeErrLimit << " in Pixel " << fPixId << endl; 386 390 return kFALSE; 387 391 } … … 511 515 { 512 516 *fLog << warn << "WARNING: Could not fit Lo Gain times of pixel " << fPixId << endl; 513 fHist->PrintTimeFitResult();517 // fHist->PrintTimeFitResult(); 514 518 return kFALSE; 515 519 } … … 524 528 { 525 529 *fLog << warn << "WARNING: Could not fit Hi Gain times of pixel " << fPixId << endl; 526 fHist->PrintTimeFitResult();530 // fHist->PrintTimeFitResult(); 527 531 return kFALSE; 528 532 }
Note:
See TracChangeset
for help on using the changeset viewer.