Changeset 8165 for trunk/MagicSoft/Mars/mextralgo/MExtralgoSpline.cc
- Timestamp:
- 10/25/06 19:36:26 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mextralgo/MExtralgoSpline.cc
r8158 r8165 69 69 void MExtralgoSpline::InitDerivatives() const 70 70 { 71 if (fNum<2) 72 return; 73 71 74 fDer1[0] = 0.; 72 75 fDer2[0] = 0.; … … 211 214 Float_t MExtralgoSpline::ExtractNoise(/*Int_t iter*/) 212 215 { 216 if (fNum<5) 217 return 0; 218 213 219 // FIXME: Shell we keep the extraction inside one slice 214 220 // or randomize it along the extraction window? … … 216 222 217 223 if (fExtractionType == kAmplitude) 218 return Eval( 1, nsx);224 return Eval(2, nsx); 219 225 else 220 return CalcIntegral(2 .+ nsx);226 return CalcIntegral(2 + nsx); 221 227 } 222 228 … … 227 233 fSignalDev = -1; 228 234 fTimeDev = -1; 235 236 if (fNum<2) 237 return; 229 238 /* 230 239 // … … 373 382 374 383 Float_t maxpos, maxval; 375 // FIXME: Check the d feault if no maximum found!!!384 // FIXME: Check the default if no maximum found!!! 376 385 GetMaxAroundI(maxbin, maxpos, maxval); 377 386
Note:
See TracChangeset
for help on using the changeset viewer.