Changeset 5867 for trunk/MagicSoft/Mars/msignal
- Timestamp:
- 01/17/05 10:06:27 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/msignal/MExtractTimeAndChargeDigitalFilter.cc
r5833 r5867 332 332 if (maxpos > uplim) 333 333 { 334 time = uplim+1; 334 time = 1.+uplim; 335 for (Int_t ids=0; ids < fWindowSizeHiGain; ids++) 336 { 337 const Int_t idx = fArrBinningResHiGain[ids] + fRandomIter; 338 sum += fAmpWeightsHiGain [idx]*fHiGainSignal[range-fWindowSizeHiGain+ids]; 339 } 335 340 return; 336 341 } … … 341 346 { 342 347 time = 0.; 348 for (Int_t ids=0; ids < fWindowSizeHiGain; ids++) 349 { 350 const Int_t idx = fArrBinningResHiGain[ids] + fRandomIter; 351 sum += fAmpWeightsHiGain [idx]*fHiGainSignal[ids]; 352 } 343 353 return; 344 354 }
Note:
See TracChangeset
for help on using the changeset viewer.