Changeset 2825
- Timestamp:
- 01/16/04 11:20:15 (21 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r2824 r2825 4 4 5 5 -*-*- END OF LINE -*-*- 6 7 2004/01/16: Abelardo Moralejo 8 * manalysis/MMcCalibrationCalc.cc 9 - TMath::Max() is no longer used because it did not compile in some 10 systems for unkown reasons. I replaced it by a safer (and may be 11 slower) code. 12 6 13 2004/01/15: Abelardo Moralejo 7 14 -
trunk/MagicSoft/Mars/manalysis/MMcCalibrationCalc.cc
r2801 r2825 223 223 // 224 224 225 225 226 const Float_t pedestrms = sigpix.IsLoGainUsed()? 226 sqrt((Double_t)(fSignalCam->GetNumUsedLoGainFADCSlices())) * TMath::Max(0.01, fHeaderFadc->GetPedestalRmsLow(i)) : 227 sqrt((Double_t)(fSignalCam->GetNumUsedHiGainFADCSlices())) * TMath::Max(0.01, fHeaderFadc->GetPedestalRmsHigh(i)); 227 sqrt((Double_t)(fSignalCam->GetNumUsedLoGainFADCSlices())) * 228 (fHeaderFadc->GetPedestalRmsLow(i)>0.? fHeaderFadc->GetPedestalRmsLow(i): 0.01) 229 : 230 sqrt((Double_t)(fSignalCam->GetNumUsedHiGainFADCSlices())) * 231 (fHeaderFadc->GetPedestalRmsHigh(i)>0.? fHeaderFadc->GetPedestalRmsHigh(i) : 0.01); 228 232 229 233 calpix.SetPedestal(pedestmean, pedestrms);
Note:
See TracChangeset
for help on using the changeset viewer.