Changeset 6683 for trunk/MagicSoft/Mars/mhcalib
- Timestamp:
- 02/28/05 16:37:54 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mhcalib/MHCalibrationPulseTimeCam.cc
r6611 r6683 353 353 continue; 354 354 355 const Float_t timehi = (Float_t)pixel.GetIdxMaxHiGainSample(); 356 357 histhi.FillHist(timehi); 355 const Byte_t slicehi = pixel.GetMaxHiGainSample(); 356 const Byte_t slicelo = pixel.GetMaxLoGainSample(); 357 358 Float_t time = 0.; 359 360 if (slicehi > slicelo) 361 time = (Float_t)pixel.GetIdxMaxHiGainSample(); 362 else 363 time = (Float_t)pixel.GetIdxMaxLoGainSample(); 364 365 histhi.FillHist(time); 358 366 359 367 const Int_t aidx = (*fGeom)[i].GetAidx(); 360 368 const Int_t sector = (*fGeom)[i].GetSector(); 361 369 362 fSumhiarea[aidx] += time hi;363 fSumhisector[sector] += time hi;370 fSumhiarea[aidx] += time; 371 fSumhisector[sector] += time; 364 372 365 373 }
Note:
See TracChangeset
for help on using the changeset viewer.