Changeset 3385
- Timestamp:
- 03/03/04 09:05:07 (21 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r3383 r3385 4 4 5 5 -*-*- END OF LINE -*-*- 6 2004/03/03: Sebastian Raducci 7 * msignal/MArrivalTime.cc 8 - The calculation of the arrival times is made only when needed 9 (when the HalfMax is over the pedestal) 6 10 7 11 2004/03/03: Abelardo Moralejo -
trunk/MagicSoft/Mars/msignal/MArrivalTimeCalc.cc
r3368 r3385 199 199 Double_t maximum = spline->EvalMax(); 200 200 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; 203 204 204 205 }
Note:
See TracChangeset
for help on using the changeset viewer.