Changeset 5491


Ignore:
Timestamp:
11/28/04 17:01:42 (20 years ago)
Author:
gaug
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/msignal/MExtractFixedWindowPeakSearch.cc

    r5250 r5491  
    232232                              fLoGainFirst, fLoGainLast, fNumLoGainSamples);
    233233
     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
    234242  return kTRUE;
    235243 
     
    381389  Byte_t hiGainFirst = 0;
    382390  Byte_t loGainFirst = 0;
    383   Byte_t hilolastsave = fHiLoLast;
     391  fHiLoLast = 0;
    384392
    385393  while (pixel.Next())
     
    402410
    403411  loGainFirst = ( hiGainFirst+fLoGainPeakShift > fLoGainFirst ) ?
    404       hiGainFirst+fLoGainPeakShift : fLoGainFirst;
     412    hiGainFirst+fLoGainPeakShift : fLoGainFirst;
    405413
    406414  // Make sure we will not integrate beyond the hi gain limit:
     
    446454      const Float_t pedes  = ped.GetPedestal();
    447455      const Float_t pedrms = ped.GetPedestalRms();
    448 
    449456      //
    450457      // Set extracted signal with pedestal substracted
     
    461468
    462469
    463   fHiLoLast = hilolastsave;
    464470  fSignals->SetReadyToSave();
    465471
Note: See TracChangeset for help on using the changeset viewer.