Changeset 3288 for trunk/MagicSoft


Ignore:
Timestamp:
02/25/04 01:22:29 (21 years ago)
Author:
gaug
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r3287 r3288  
    109109const Float_t MCalibrationChargePix::fgTimeLimit                = 1.5;
    110110const Float_t MCalibrationChargePix::fgTimeErrLimit             = 3.;
    111 const Float_t MCalibrationChargePix::fgConvFFactorRelErrLimit   = 0.2;
     111const Float_t MCalibrationChargePix::fgConvFFactorRelErrLimit   = 0.25;
    112112// --------------------------------------------------------------------------
    113113//
     
    684684 
    685685  fRSigmaCharge    = TMath::Sqrt(rsigmachargesquare);
    686   fRSigmaChargeErr = TMath::Sqrt(sigmaSquareErrSquare + pedRmsSquareErrSquare);
     686  fRSigmaChargeErr = TMath::Sqrt(sigmaSquareErrSquare + pedRmsSquareErrSquare) / 2. / fRSigmaCharge;
    687687
    688688  return kTRUE;
     
    727727  const Float_t rsigmaSquare              =     fRSigmaCharge    * fRSigmaCharge;
    728728  const Float_t rsigmaSquareRelErrSquare  = 4.* fRSigmaChargeErr * fRSigmaChargeErr / rsigmaSquare;
     729
    729730
    730731  //
     
    757758  //
    758759  const Float_t convRelErrSquare     =  ( pheFFactorRelErrSquare + chargeRelErrSquare + avQERelErrSquare);
    759  
     760
    760761  if (convRelErrSquare < 0.)
    761762      return kFALSE;
    762763
     764
    763765  const Float_t convRelErr           =  TMath::Sqrt(convRelErrSquare);
    764766  fConversionFFactorMethodErr        = convRelErr * fMeanConversionFFactorMethod;
    765767 
    766768  if (convRelErr < fConvFFactorRelErrLimit)
    767       SetFFactorMethodValid();
     769    SetFFactorMethodValid();
    768770
    769771  //
Note: See TracChangeset for help on using the changeset viewer.