- Timestamp:
- 01/14/05 19:49:27 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mhcalib/MHCalibrationRelTimeCam.cc
r5713 r5849 126 126 const Float_t MHCalibrationRelTimeCam::fgNumHiGainSaturationLimit = 0.25; 127 127 const UInt_t MHCalibrationRelTimeCam::fgReferencePixel = 1; 128 const Int_t MHCalibrationRelTimeCam::fgNbins = 200;129 const Axis_t MHCalibrationRelTimeCam::fgFirst = -5.;130 const Axis_t MHCalibrationRelTimeCam::fgLast = 5.;128 const Int_t MHCalibrationRelTimeCam::fgNbins = 200; 129 const Axis_t MHCalibrationRelTimeCam::fgFirst = -5.; 130 const Axis_t MHCalibrationRelTimeCam::fgLast = 5.; 131 131 const Float_t MHCalibrationRelTimeCam::fgProbLimit = 0.; 132 132 const TString MHCalibrationRelTimeCam::gsHistName = "RelTime"; … … 282 282 283 283 InitHiGainArrays(npixels,nareas,nsectors); 284 InitLoGainArrays(npixels,nareas,nsectors); 284 if (IsLoGain()) 285 InitLoGainArrays(npixels,nareas,nsectors); 285 286 286 287 fSumareahi .Set(nareas); … … 342 343 343 344 MHCalibrationPix &histhi = (*this)[i]; 344 MHCalibrationPix &histlo = (*this)(i);345 345 346 346 if (histhi.IsExcluded()) … … 355 355 const Float_t reltime = pix.GetArrivalTimeLoGain() - reftime; 356 356 histhi.AddSaturated(1); 357 358 MHCalibrationPix &histlo = (*this)(i); 357 359 histlo.FillHistAndArray(reltime); 360 358 361 fSumarealo [aidx] += reltime; 359 362 fNumarealo [aidx] ++;
Note:
See TracChangeset
for help on using the changeset viewer.