Changeset 6683
- Timestamp:
- 02/28/05 16:37:54 (20 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r6682 r6683 26 26 - fixed bug in inter-calibration hi-logain for arrival times. 27 27 28 * mhcalib/MHCalibrationPulseTimeCam.[h,cc] 29 - fixed the situation where the maximum bin is already found in the 30 low-gain samples. 28 31 29 32 2005/02/25 Abelardo Moralejo -
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.