Ignore:
Timestamp:
03/03/04 09:05:07 (21 years ago)
Author:
raducci
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r3368 r3385  
    199199    Double_t maximum = spline->EvalMax();
    200200    const MPedestalPix &ped = (*fPedestals)[idx];
    201     const Float_t halfMax = (maximum - ped.GetPedestal())/2;
    202     return (halfMax > 0.0) ? (Float_t ) spline->FindVal(halfMax,abMaximum,'l'): 0.0;
     201    const Double_t pedestal = ped.GetPedestal();
     202    const Double_t halfMax = (maximum - pedestal)/2.;
     203    return (halfMax > pedestal) ? (Float_t ) spline->FindVal(halfMax,abMaximum,'l'): 0.0;
    203204   
    204205}
Note: See TracChangeset for help on using the changeset viewer.