Ignore:
Timestamp:
05/16/07 14:56:18 (18 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mhcalib
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mhcalib/MHCalibrationChargeCam.cc

    r8452 r8519  
    11/* ======================================================================== *\
    2 ! $Name: not supported by cvs2svn $:$Id: MHCalibrationChargeCam.cc,v 1.58 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 $
    33! --------------------------------------------------------------------------
    44!
     
    751751         continue;
    752752
    753       const Float_t timehi = fRawEvt->GetMax(pixid, hifirst, hilast)+hifirst;
     753      const Float_t timehi = fRawEvt->GetMaxPos(pixid, hifirst, hilast)+hifirst;
    754754      histhi.FillAbsTime(timehi);
    755755
     
    764764          MHCalibrationChargePix &histlo = (MHCalibrationChargePix&)(*this)(pixid);
    765765
    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;
    767767          histlo.FillAbsTime(timelo);
    768768
  • trunk/MagicSoft/Mars/mhcalib/MHCalibrationPulseTimeCam.cc

    r8446 r8519  
    11/* ======================================================================== *\
    2 ! $Name: not supported by cvs2svn $:$Id: MHCalibrationPulseTimeCam.cc,v 1.38 2007-04-25 14:39:43 tbretz Exp $
     2! $Name: not supported by cvs2svn $:$Id: MHCalibrationPulseTimeCam.cc,v 1.39 2007-05-16 13:56:17 tbretz Exp $
    33! --------------------------------------------------------------------------
    44!
     
    390390
    391391        // 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);
    394394
    395395        // check if maximum is high enough
Note: See TracChangeset for help on using the changeset viewer.