Changeset 2825 for trunk/MagicSoft/Mars/manalysis/MMcCalibrationCalc.cc
- Timestamp:
- 01/16/04 11:20:15 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.