Ignore:
Timestamp:
11/02/06 17:44:10 (18 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/msignal/MExtractTimeAndCharge.cc

    r8192 r8207  
    11/* ======================================================================== *\
    2 ! $Name: not supported by cvs2svn $:$Id: MExtractTimeAndCharge.cc,v 1.58 2006-11-01 15:48:31 tbretz Exp $
     2! $Name: not supported by cvs2svn $:$Id: MExtractTimeAndCharge.cc,v 1.59 2006-11-02 17:44:09 tbretz Exp $
    33! --------------------------------------------------------------------------
    44!
     
    294294            //
    295295            // The jitter in the hi-/lo-gain offset ssems to be around +/-0.5
    296             if (deltatimehi>-0.5)
    297                 first = TMath::FloorNint(timehi+numh+fOffsetLoGain+fLoGainStartShift);
    298             //else ???
     296            const Float_t tm = deltatimehi<0 ? -1.+fHiGainFirst : timehi;
     297            first = TMath::FloorNint(tm+numh+fOffsetLoGain+fLoGainStartShift);
    299298
    300299            if (first<0)
Note: See TracChangeset for help on using the changeset viewer.