Changeset 3287 for trunk


Ignore:
Timestamp:
02/25/04 00:42:01 (21 years ago)
Author:
gaug
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r3286 r3287  
    2525       CalcFFactorMethod(). The average QE was applied twice.
    2626       This error had been introduced on 13/02/04
     27     - loosened criterium convFFactorRelErrLimit from 0.1 to 0.2
     28     - CalcFFactor asks for IsChargeValid before calculating anything
     29
    2730
    2831   * mcalib/MCalibrate.cc
  • trunk/MagicSoft/Mars/mcalib/MCalibrationChargePix.cc

    r3275 r3287  
    109109const Float_t MCalibrationChargePix::fgTimeLimit                = 1.5;
    110110const Float_t MCalibrationChargePix::fgTimeErrLimit             = 3.;
    111 const Float_t MCalibrationChargePix::fgConvFFactorRelErrLimit   = 0.1;
     111const Float_t MCalibrationChargePix::fgConvFFactorRelErrLimit   = 0.2;
    112112// --------------------------------------------------------------------------
    113113//
     
    696696{
    697697
     698  if (!IsChargeValid())
     699      return kFALSE;
    698700
    699701  if (fRSigmaCharge < 0.)
     
    719721  const Float_t avQEFFactorErr            = 1./ ( 2. * avQEFFactor ) * fAverageQEErr
    720722                                            / ( fAverageQE * fAverageQE );
     723
    721724  const Float_t avQEFFactorRelErrSquare  = avQEFFactorErr  * avQEFFactorErr
    722725                                           / ( avQEFFactor * avQEFFactor) ;
     
    735738  //
    736739  const Float_t pheFFactorRelErrSquare =  ffactorsquareRelErrSquare
    737                                         + chargeSquareRelErrSquare
    738                                         + rsigmaSquareRelErrSquare;
     740                                         + chargeSquareRelErrSquare
     741                                         + rsigmaSquareRelErrSquare;
    739742  fPheFFactorMethodErr                 =  TMath::Sqrt(pheFFactorRelErrSquare) * fPheFFactorMethod;
    740743
     
    790793}
    791794
    792 
    793 
    794795void MCalibrationChargePix::ApplyLoGainConversion()
    795796{
     
    812813
    813814}
     815
Note: See TracChangeset for help on using the changeset viewer.