Changeset 3404 for trunk/MagicSoft/Mars/msignal
- Timestamp:
- 03/04/04 17:07:43 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/msignal/MArrivalTimeCalc.cc
r3385 r3404 201 201 const Double_t pedestal = ped.GetPedestal(); 202 202 const Double_t halfMax = (maximum - pedestal)/2.; 203 return (halfMax > pedestal) ? (Float_t ) spline->FindVal(halfMax,abMaximum,'l'): 0.0; 203 Float_t time = (halfMax > pedestal) ? (Float_t ) spline->FindVal(halfMax,abMaximum,'l'): 0.0; 204 delete spline; 205 return time; 204 206 205 207 }
Note:
See TracChangeset
for help on using the changeset viewer.