Ignore:
Timestamp:
01/19/04 23:02:57 (21 years ago)
Author:
gaug
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mcalib/MCalibrationPix.cc

    r2839 r2852  
    8989      fBlindPixelMethodValid(kFALSE),
    9090      fFFactorMethodValid(kFALSE),
    91       fPINDiodeMethodValid(kFALSE)
     91      fPINDiodeMethodValid(kFALSE),
     92      fChargeLimit(5.),
     93      fChargeErrLimit(0.)
    9294{
    9395
     
    375377    equivpedestal /= fConversionHiLo;
    376378     
    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;
    386390      return kFALSE;
    387391    }
     
    511515        {
    512516          *fLog << warn << "WARNING: Could not fit Lo Gain times of pixel " << fPixId << endl;
    513           fHist->PrintTimeFitResult();
     517          //      fHist->PrintTimeFitResult();
    514518          return kFALSE;
    515519        }
     
    524528        {
    525529          *fLog << warn << "WARNING: Could not fit Hi Gain times of pixel " << fPixId << endl;
    526           fHist->PrintTimeFitResult();
     530          //      fHist->PrintTimeFitResult();
    527531          return kFALSE;
    528532        }
Note: See TracChangeset for help on using the changeset viewer.