Changeset 3288
- Timestamp:
- 02/25/04 01:22:29 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mcalib/MCalibrationChargePix.cc
r3287 r3288 109 109 const Float_t MCalibrationChargePix::fgTimeLimit = 1.5; 110 110 const Float_t MCalibrationChargePix::fgTimeErrLimit = 3.; 111 const Float_t MCalibrationChargePix::fgConvFFactorRelErrLimit = 0.2 ;111 const Float_t MCalibrationChargePix::fgConvFFactorRelErrLimit = 0.25; 112 112 // -------------------------------------------------------------------------- 113 113 // … … 684 684 685 685 fRSigmaCharge = TMath::Sqrt(rsigmachargesquare); 686 fRSigmaChargeErr = TMath::Sqrt(sigmaSquareErrSquare + pedRmsSquareErrSquare) ;686 fRSigmaChargeErr = TMath::Sqrt(sigmaSquareErrSquare + pedRmsSquareErrSquare) / 2. / fRSigmaCharge; 687 687 688 688 return kTRUE; … … 727 727 const Float_t rsigmaSquare = fRSigmaCharge * fRSigmaCharge; 728 728 const Float_t rsigmaSquareRelErrSquare = 4.* fRSigmaChargeErr * fRSigmaChargeErr / rsigmaSquare; 729 729 730 730 731 // … … 757 758 // 758 759 const Float_t convRelErrSquare = ( pheFFactorRelErrSquare + chargeRelErrSquare + avQERelErrSquare); 759 760 760 761 if (convRelErrSquare < 0.) 761 762 return kFALSE; 762 763 764 763 765 const Float_t convRelErr = TMath::Sqrt(convRelErrSquare); 764 766 fConversionFFactorMethodErr = convRelErr * fMeanConversionFFactorMethod; 765 767 766 768 if (convRelErr < fConvFFactorRelErrLimit) 767 769 SetFFactorMethodValid(); 768 770 769 771 //
Note:
See TracChangeset
for help on using the changeset viewer.