Changeset 6274 for trunk/MagicSoft/Mars/msignal
- Timestamp:
- 02/06/05 14:34:03 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/msignal/MExtractTimeAndChargeDigitalFilterPeakSearch.h
r6171 r6274 21 21 private: 22 22 23 static const Byte_t fgHiGainFirst; 24 static const Byte_t fgHiGainLast; 25 static const Byte_t fgLoGainFirst; 26 static const Byte_t fgLoGainLast; 27 static const Byte_t fgOffsetLeftFromPeak; 28 static const Byte_t fgOffsetRightFromPeak; 29 static const Byte_t fgPeakSearchWindowSize; 30 static const Int_t fgHiGainFailureLimit; 31 static const Int_t fgLoGainFailureLimit; 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) 32 32 33 Byte_t fOffsetLeftFromPeak; 34 Byte_t fOffsetRightFromPeak; 35 Byte_t fPeakSearchWindowSize; 36 Int_t fHiGainFailureLimit; 37 Int_t fLoGainFailureLimit; 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 38 38 39 ULong_t fHiGainOutOfRangeLeft; 40 ULong_t fHiGainOutOfRangeRight; 41 ULong_t fLoGainOutOfRangeLeft; 42 ULong_t fLoGainOutOfRangeRight; 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 43 43 44 44 void FindPeak(Byte_t *ptr, Byte_t *logain, … … 56 56 ~MExtractTimeAndChargeDigitalFilterPeakSearch() { } 57 57 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; } 63 63 64 64 void Print(Option_t *o="") const;
Note:
See TracChangeset
for help on using the changeset viewer.