Changeset 3385 for trunk/MagicSoft/Mars/msignal
- Timestamp:
- 03/03/04 09:05:07 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.