Changeset 4004
- Timestamp:
- 05/07/04 14:46:30 (21 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r4001 r4004 25 25 rounding errors of the floats introduced significant errors in the 26 26 RMS! 27 - introduced one condition about possible window sizes of 0. 27 28 28 29 -
trunk/MagicSoft/Mars/mpedestal/MPedCalcPedRun.cc
r4001 r4004 346 346 { 347 347 348 Int_t lastdesired = (Int_t) (fLoGainLast);348 Int_t lastdesired = (Int_t)fLoGainLast; 349 349 Int_t lastavailable = (Int_t)fRunHeader->GetNumSamplesLoGain()-1; 350 350 … … 469 469 UInt_t sqr = 0; 470 470 471 do471 if (fWindowSizeHiGain != 0) 472 472 { 473 sum += *ptr; 474 sqr += *ptr * *ptr; 473 do 474 { 475 sum += *ptr; 476 sqr += *ptr * *ptr; 477 } 478 while (++ptr != end); 475 479 } 476 while (++ptr != end); 477 480 478 481 if (fWindowSizeLoGain != 0) 479 482 {
Note:
See TracChangeset
for help on using the changeset viewer.