Changeset 3413 for trunk/MagicSoft


Ignore:
Timestamp:
03/05/04 15:42:40 (21 years ago)
Author:
raducci
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r3411 r3413  
    44
    55                                                 -*-*- END OF LINE -*-*-
    6  2004/03/05: Markus Gaug
     62004/03/05: Sebastian Raducci
     7   * msignal/MArrivalTimeCalc.cc
     8     - fixed a little bug (exchanged a - with a + in the Calc() method)
     9 
     102004/03/05: Markus Gaug
    711   * mcalib/MCalibraitonChargeCalc.cc
    812     - remove some runheader line:
  • trunk/MagicSoft/Mars/msignal/MArrivalTimeCalc.cc

    r3404 r3413  
    200200    const MPedestalPix &ped = (*fPedestals)[idx];
    201201    const Double_t pedestal = ped.GetPedestal();
    202     const Double_t halfMax = (maximum - pedestal)/2.;
     202    const Double_t halfMax = (maximum + pedestal)/2.;
    203203    Float_t time = (halfMax > pedestal) ? (Float_t ) spline->FindVal(halfMax,abMaximum,'l'): 0.0;
    204204    delete spline;
Note: See TracChangeset for help on using the changeset viewer.