Ignore:
Timestamp:
05/16/07 14:56:18 (17 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.