Ignore:
Timestamp:
06/01/04 13:21:36 (20 years ago)
Author:
moralejo
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r4119 r4252  
    1717  static const Byte_t fgLoGainWindowSize;     // Default for fWindowSizeLoGain (now set to: 6)
    1818  static const Byte_t fgPeakSearchWindowSize; // Default for fPeakSearchWindowSize (now set to: 4)
    19   static const Byte_t fgOffsetFromWindow;     // Default for fOffsetFromWindow   (now set to: 2)
    20  
     19  static const Byte_t fgOffsetFromWindow;     // Default for fOffsetFromWindow (now set to: 1)
     20  static const Byte_t fgLowGainPeakShift;     // Default for fLowGainPeakShift (now set to: 0)
     21
    2122  Byte_t  fWindowSizeHiGain;     // Number of Hi Gain slices in window
    2223  Byte_t  fWindowSizeLoGain;     // Number of Lo Gain slices in window
    2324  Byte_t  fPeakSearchWindowSize; // Size of FADC window in the search for the highest peak of all pixels.
    2425  Byte_t  fOffsetFromWindow;     // Number of slices to start extraction before search window
     26  Byte_t  fLowGainPeakShift;     // Shift of the low gain pulse with respect to the high gain pulse, in slices: it is 0 if the low gain is delayed with respect to HG by 15 slices.
    2527
    2628  void   FindSignalHiGain(Byte_t *ptr, Byte_t *logain, Int_t &sum, Byte_t &sat) const;
     
    4042                    Byte_t peaksearchwindow=fgPeakSearchWindowSize);
    4143    void SetOffsetFromWindow(Byte_t offset=fgOffsetFromWindow)  {  fOffsetFromWindow = offset; }
     44
     45    void SetLowGainPeakShift(Byte_t shift=fgLowGainPeakShift) { fLowGainPeakShift = shift; }
    4246   
    4347    ClassDef(MExtractFixedWindowPeakSearch, 0) // Signal Extractor for fixed size trigger-corrected extraction window
Note: See TracChangeset for help on using the changeset viewer.