Changeset 2801 for trunk/MagicSoft
- Timestamp:
- 01/14/04 14:03:26 (21 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r2800 r2801 4 4 5 5 -*-*- END OF LINE -*-*- 6 7 2004/01/14: Abelardo Moralejo 8 9 * manalysis/MMcCalibrationCalc.cc: 10 - set pedestal rms per FADC slice to 0.01 counts in case it is 0. 11 This can happen (depending on camera simulation parameters), and 12 rms = 0 later resulted in the pixel being eliminated in the 13 image cleaning. 6 14 7 15 2004/01/14: Thomas Bretz -
trunk/MagicSoft/Mars/manalysis/MMcCalibrationCalc.cc
r2749 r2801 216 216 fSignalCam->GetNumUsedHiGainFADCSlices()*fHeaderFadc->GetPedestal(i); 217 217 218 // 219 // In some cases, depending on the camera simulation parameters, one can have 220 // very little or no noise in the FADC. In the case the rms of pedestal is zero, 221 // the pixel will be cleaned out later in the image cleaning. To avoid this problem, 222 // we set a default value of 0.01 ADC counts for the RMS per slice: 223 // 224 218 225 const Float_t pedestrms = sigpix.IsLoGainUsed()? 219 sqrt((Double_t)(fSignalCam->GetNumUsedLoGainFADCSlices())) * fHeaderFadc->GetPedestalRmsLow(i) :220 sqrt((Double_t)(fSignalCam->GetNumUsedHiGainFADCSlices())) * fHeaderFadc->GetPedestalRmsHigh(i);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)); 221 228 222 229 calpix.SetPedestal(pedestmean, pedestrms);
Note:
See TracChangeset
for help on using the changeset viewer.