Changeset 5491
- Timestamp:
- 11/28/04 17:01:42 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/msignal/MExtractFixedWindowPeakSearch.cc
r5250 r5491 232 232 fLoGainFirst, fLoGainLast, fNumLoGainSamples); 233 233 234 *fLog << dec << endl; 235 *fLog << inf << "Taking " << fNumHiGainSamples 236 << " HiGain samples starting with slice " << (Int_t)fHiGainFirst 237 << " to " << (Int_t)(fHiGainLast+fHiLoLast) << " incl" << endl; 238 *fLog << inf << "Taking " << fNumLoGainSamples 239 << " LoGain samples starting with slice " << (Int_t)fLoGainFirst 240 << " to " << (Int_t)fLoGainLast << " incl" << endl; 241 234 242 return kTRUE; 235 243 … … 381 389 Byte_t hiGainFirst = 0; 382 390 Byte_t loGainFirst = 0; 383 Byte_t hilolastsave = fHiLoLast;391 fHiLoLast = 0; 384 392 385 393 while (pixel.Next()) … … 402 410 403 411 loGainFirst = ( hiGainFirst+fLoGainPeakShift > fLoGainFirst ) ? 404 412 hiGainFirst+fLoGainPeakShift : fLoGainFirst; 405 413 406 414 // Make sure we will not integrate beyond the hi gain limit: … … 446 454 const Float_t pedes = ped.GetPedestal(); 447 455 const Float_t pedrms = ped.GetPedestalRms(); 448 449 456 // 450 457 // Set extracted signal with pedestal substracted … … 461 468 462 469 463 fHiLoLast = hilolastsave;464 470 fSignals->SetReadyToSave(); 465 471
Note:
See TracChangeset
for help on using the changeset viewer.