Changeset 3990
- Timestamp:
- 05/05/04 19:39:39 (21 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r3989 r3990 26 26 * mcalib/MCalibrationChargePix.cc 27 27 - loosened the limits somewhat for calibration with the low-gain 28 - introduced different electronic noise for inner and outer pixels 29 (like seen in the data) 28 30 29 31 * mpedestal/MPedCalcPedRun.cc -
trunk/MagicSoft/Mars/mcalib/MCalibrationChargePix.cc
r3988 r3990 79 79 using namespace std; 80 80 81 const Float_t MCalibrationChargePix::gkElectronicPedRms = 1.5; 82 const Float_t MCalibrationChargePix::gkElectronicPedRmsErr = 0.1; 81 const Float_t MCalibrationChargePix::gkElectronicPedRmsInner = 1.5; 82 const Float_t MCalibrationChargePix::gkElectronicPedRmsOuter = 1.8; 83 const Float_t MCalibrationChargePix::gkElectronicPedRmsErr = 0.35; 83 84 const Float_t MCalibrationChargePix::gkFFactor = 1.15; 84 85 const Float_t MCalibrationChargePix::gkFFactorErr = 0.02; … … 87 88 const Float_t MCalibrationChargePix::fgConversionHiLoErr = 2.5; 88 89 const Float_t MCalibrationChargePix::fgPheFFactorMethodLimit = 5.; 89 const Float_t MCalibrationChargePix::fgConvFFactorRelErrLimit = 0. 5;90 const Float_t MCalibrationChargePix::fgConvFFactorRelErrLimit = 0.75; 90 91 // -------------------------------------------------------------------------- 91 92 // … … 605 606 // 606 607 fRSigmaSquare = sigmaSquare - pedRmsSquare; 608 607 609 if (fRSigmaSquare <= 0.) 608 610 { … … 690 692 // 691 693 const Float_t convrelvar = ffactorsquareRelVar + GetMeanRelVar() + rsigmaSquareRelVar; 692 693 if (convrelvar > fConvFFactorRelVarLimit || convrelvar < 0.) 694 const Float_t limit = IsHiGainSaturation() ? fConvFFactorRelVarLimit * 4. : fConvFFactorRelVarLimit; 695 696 if (convrelvar > limit || convrelvar < 0.) 694 697 { 695 698 *fLog << warn << GetDescriptor() << ": Conversion F-Factor Method Rel. Variance: " … … 771 774 // Var (Low Gain Ped RMS Square) = Var(LoGain NSB square) + Var(elec.ped. square) 772 775 // 773 void MCalibrationChargePix::CalcLoGainPedestal(Float_t logainsamples )776 void MCalibrationChargePix::CalcLoGainPedestal(Float_t logainsamples, const Int_t aidx) 774 777 { 775 778 … … 780 783 return; 781 784 782 const Float_t elecPedRms = gkElectronicPedRms * TMath::Sqrt(logainsamples); 785 const Float_t elecPedRms = (aidx > 0 ? gkElectronicPedRmsOuter : gkElectronicPedRmsInner ) 786 * TMath::Sqrt(logainsamples); 783 787 const Float_t elecPedRmsVar = gkElectronicPedRmsErr * gkElectronicPedRmsErr * logainsamples; 784 788
Note:
See TracChangeset
for help on using the changeset viewer.