Changeset 3907 for trunk/MagicSoft
- Timestamp:
- 04/30/04 14:40:15 (21 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r3904 r3907 26 26 * mcalib/MHCalibrationRelTimeCam.[h,cc] 27 27 - Getter and Setter for the reference pixel 28 29 * mcalib/MCalibrate.cc 30 - make error of nphot to be taken from square root of absolute 31 number of photons instead of number of photons, otherwise 32 NaN's are obtained 33 28 34 29 35 2004/04/29: Thomas Bretz -
trunk/MagicSoft/Mars/mcalib/MCalibrate.cc
r3845 r3907 334 334 case kFfactor: 335 335 if (pix.IsFFactorMethodValid()) 336 336 { 337 337 calibQE = qe.GetQECascadesFFactor ( zenith ); 338 338 calibQEVar = qe.GetQECascadesFFactorVar( zenith ); 339 339 } 340 340 else 341 341 continue; … … 394 394 395 395 nphot = signal*calibConv/calibQE; 396 nphotErr = calibFFactor*TMath::Sqrt( nphot);396 nphotErr = calibFFactor*TMath::Sqrt(TMath::Abs(nphot)); 397 397 398 398 if (fCalibrationMode == kFlatCharge) -
trunk/MagicSoft/Mars/mcalib/MHCalibrationChargePINDiode.cc
r3723 r3907 56 56 const Int_t MHCalibrationChargePINDiode::fgAbsTimeNbins = 30; 57 57 const Axis_t MHCalibrationChargePINDiode::fgChargeFirst = -0.5; 58 const Axis_t MHCalibrationChargePINDiode::fgChargeLast = 199 .5;59 const Int_t MHCalibrationChargePINDiode::fgChargeNbins = 200 ;60 const Int_t MHCalibrationChargePINDiode::fgRmsChargeNbins = 100;58 const Axis_t MHCalibrationChargePINDiode::fgChargeLast = 1999.5; 59 const Int_t MHCalibrationChargePINDiode::fgChargeNbins = 2000; 60 const Int_t MHCalibrationChargePINDiode::fgRmsChargeNbins = 200; 61 61 const Axis_t MHCalibrationChargePINDiode::fgRmsChargeFirst = 0.; 62 const Axis_t MHCalibrationChargePINDiode::fgRmsChargeLast = 100.;62 const Axis_t MHCalibrationChargePINDiode::fgRmsChargeLast = 200.; 63 63 const Float_t MHCalibrationChargePINDiode::fgTimeLowerLimit = 3.; 64 64 const Float_t MHCalibrationChargePINDiode::fgTimeUpperLimit = 4.; … … 156 156 MHGausEvents::InitBins(); 157 157 158 fHAbsTime. SetBins(fAbsTimeNbins,fAbsTimeFirst,fAbsTimeLast);158 fHAbsTime. SetBins(fAbsTimeNbins, fAbsTimeFirst, fAbsTimeLast); 159 159 fHRmsCharge.SetBins(fRmsChargeNbins,fRmsChargeFirst,fRmsChargeLast); 160 160
Note:
See TracChangeset
for help on using the changeset viewer.