Ignore:
Timestamp:
02/06/05 14:34:03 (20 years ago)
Author:
gaug
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r6171 r6274  
    2121private:
    2222
    23   static const Byte_t fgHiGainFirst;             //! Default for fHiGainFirst           (now set to: 0)
    24   static const Byte_t fgHiGainLast;              //! Default for fHiGainLast            (now set to:18)
    25   static const Byte_t fgLoGainFirst;             //! Default for fLoGainFirst           (now set to: 2)
    26   static const Byte_t fgLoGainLast;              //! Default for fLoGainLast            (now set to:14)
    27   static const Byte_t fgOffsetLeftFromPeak;      //! Default for fOffsetLeftFromPeak    (now set to: 1) 
    28   static const Byte_t fgOffsetRightFromPeak;     //! Default for fOffsetRightFromPeak   (now set to: 2) 
    29   static const Byte_t fgPeakSearchWindowSize;    //! Default for fPeakSearchWindowSize  (now set to: 2)
    30   static const Int_t  fgHiGainFailureLimit;      //! Default for fHiGainMaxFailureLimit (now set to: 5)
    31   static const Int_t  fgLoGainFailureLimit;      //! Default for fHiGainMaxFailureLimit (now set to: 10)
     23  static const Byte_t fgHiGainFirst;           //! Default for fHiGainFirst           (now set to: 0)
     24  static const Byte_t fgHiGainLast;            //! Default for fHiGainLast            (now set to:18)
     25  static const Byte_t fgLoGainFirst;           //! Default for fLoGainFirst           (now set to: 2)
     26  static const Byte_t fgLoGainLast;            //! Default for fLoGainLast            (now set to:14)
     27  static const Byte_t fgOffsetLeftFromPeak;    //! Default for fOffsetLeftFromPeak    (now set to: 1) 
     28  static const Byte_t fgOffsetRightFromPeak;   //! Default for fOffsetRightFromPeak   (now set to: 2) 
     29  static const Byte_t fgPeakSearchWindowSize;  //! Default for fPeakSearchWindowSize  (now set to: 2)
     30  static const Int_t  fgHiGainFailureLimit;    //! Default for fHiGainMaxFailureLimit (now set to: 5)
     31  static const Int_t  fgLoGainFailureLimit;    //! Default for fHiGainMaxFailureLimit (now set to: 10)
    3232
    33   Byte_t  fOffsetLeftFromPeak;                   // Number of slices to start extraction before peak slice
    34   Byte_t  fOffsetRightFromPeak;                  // Number of slices to stop  extraction after  peak slice
    35   Byte_t  fPeakSearchWindowSize;                 // Size of FADC window in the search for the highest peak of all pixels.
    36   Int_t   fHiGainFailureLimit;                   // Limit for percentage of events ranging out of limits in high gain
    37   Int_t   fLoGainFailureLimit;                   // Limit for percentage of events ranging out of limits in low gain
     33  Byte_t  fOffsetLeftFromPeak;                 // Number of slices to start extraction before peak slice
     34  Byte_t  fOffsetRightFromPeak;                // Number of slices to stop  extraction after  peak slice
     35  Byte_t  fPeakSearchWindowSize;               // Size of FADC window in the search for the highest peak of all pixels.
     36  Int_t   fHiGainFailureLimit;                 // Limit for percentage of events ranging out of limits in high gain
     37  Int_t   fLoGainFailureLimit;                 // Limit for percentage of events ranging out of limits in low gain
    3838
    39   ULong_t fHiGainOutOfRangeLeft;                // Number of events out of range to the left side in high gain
    40   ULong_t fHiGainOutOfRangeRight;               // Number of events out of range to the right side in high gain
    41   ULong_t fLoGainOutOfRangeLeft;                // Number of events out of range to the left side in low gain
    42   ULong_t fLoGainOutOfRangeRight;               // Number of events out of range to the right side in low gain
     39  ULong_t fHiGainOutOfRangeLeft;               // Number of events out of range to the left side in high gain
     40  ULong_t fHiGainOutOfRangeRight;              // Number of events out of range to the right side in high gain
     41  ULong_t fLoGainOutOfRangeLeft;               // Number of events out of range to the left side in low gain
     42  ULong_t fLoGainOutOfRangeRight;              // Number of events out of range to the right side in low gain
    4343
    4444  void    FindPeak(Byte_t *ptr, Byte_t *logain,
     
    5656  ~MExtractTimeAndChargeDigitalFilterPeakSearch() { }
    5757 
    58   void SetOffsetLeftFromPeak ( Byte_t offset=fgOffsetLeftFromPeak  )  { fOffsetLeftFromPeak   = offset; }
    59   void SetOffsetRightFromPeak( Byte_t offset=fgOffsetRightFromPeak )  { fOffsetRightFromPeak  = offset; }
    60   void SetPeakSearchWindowSize(Byte_t size =fgPeakSearchWindowSize )  { fPeakSearchWindowSize = size;   }
    61   void SetHiGainFailureLimit ( Int_t  lim=fgHiGainFailureLimit     )  { fHiGainFailureLimit   = lim;    }     
    62   void SetLoGainFailureLimit ( Int_t  lim=fgLoGainFailureLimit     )  { fLoGainFailureLimit   = lim;    }
     58  void SetOffsetLeftFromPeak  ( Byte_t offset=fgOffsetLeftFromPeak   )  { fOffsetLeftFromPeak   = offset; }
     59  void SetOffsetRightFromPeak ( Byte_t offset=fgOffsetRightFromPeak )  { fOffsetRightFromPeak  = offset; }
     60  void SetPeakSearchWindowSize( Byte_t size =fgPeakSearchWindowSize )  { fPeakSearchWindowSize = size;   }
     61  void SetHiGainFailureLimit  ( Int_t  lim   =fgHiGainFailureLimit   )  { fHiGainFailureLimit   = lim;    }     
     62  void SetLoGainFailureLimit  ( Int_t  lim   =fgLoGainFailureLimit   )  { fLoGainFailureLimit   = lim;    }
    6363
    6464  void Print(Option_t *o="") const;
Note: See TracChangeset for help on using the changeset viewer.