Changeset 8519 for trunk/MagicSoft/Mars/mhcalib
- Timestamp:
- 05/16/07 14:56:18 (18 years ago)
- Location:
- trunk/MagicSoft/Mars/mhcalib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mhcalib/MHCalibrationChargeCam.cc
r8452 r8519 1 1 /* ======================================================================== *\ 2 ! $Name: not supported by cvs2svn $:$Id: MHCalibrationChargeCam.cc,v 1.5 8 2007-04-27 10:04:47 tbretz Exp $2 ! $Name: not supported by cvs2svn $:$Id: MHCalibrationChargeCam.cc,v 1.59 2007-05-16 13:56:17 tbretz Exp $ 3 3 ! -------------------------------------------------------------------------- 4 4 ! … … 751 751 continue; 752 752 753 const Float_t timehi = fRawEvt->GetMax (pixid, hifirst, hilast)+hifirst;753 const Float_t timehi = fRawEvt->GetMaxPos(pixid, hifirst, hilast)+hifirst; 754 754 histhi.FillAbsTime(timehi); 755 755 … … 764 764 MHCalibrationChargePix &histlo = (MHCalibrationChargePix&)(*this)(pixid); 765 765 766 const Float_t timelo = fRawEvt->GetMax (pixid, nhi+lofirst, nhi+lolast)+lofirst;766 const Float_t timelo = fRawEvt->GetMaxPos(pixid, nhi+lofirst, nhi+lolast)+lofirst; 767 767 histlo.FillAbsTime(timelo); 768 768 -
trunk/MagicSoft/Mars/mhcalib/MHCalibrationPulseTimeCam.cc
r8446 r8519 1 1 /* ======================================================================== *\ 2 ! $Name: not supported by cvs2svn $:$Id: MHCalibrationPulseTimeCam.cc,v 1.3 8 2007-04-25 14:39:43tbretz Exp $2 ! $Name: not supported by cvs2svn $:$Id: MHCalibrationPulseTimeCam.cc,v 1.39 2007-05-16 13:56:17 tbretz Exp $ 3 3 ! -------------------------------------------------------------------------- 4 4 ! … … 390 390 391 391 // Get position of maximum 392 const Int_t pos = evt->GetMax(idx);393 const Float_t max = evt->GetSamples(idx)[pos];392 Float_t max; 393 const Int_t pos = evt->GetMax(idx, max); 394 394 395 395 // check if maximum is high enough
Note:
See TracChangeset
for help on using the changeset viewer.