Changeset 4004 for trunk/MagicSoft/Mars/mpedestal
- Timestamp:
- 05/07/04 14:46:30 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.