- Timestamp:
- 05/09/07 13:15:53 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/msignal/MExtractTimeAndChargeSpline.h
r8304 r8478 4 4 #ifndef MARS_MExtractTimeAndCharge 5 5 #include "MExtractTimeAndCharge.h" 6 #endif 7 8 #ifndef MARS_MExtralgoSpline 9 #include "MExtralgoSpline.h" 6 10 #endif 7 11 … … 41 45 42 46 Float_t fLoGainStretch; // The stretch of the low-gain w.r.t. the high-gain pulse 47 Float_t fHeightTm; 43 48 44 49 // Int_t fRandomIter; //! Counter used to randomize weights for noise calculation … … 47 52 Bool_t InitArrays(Int_t n); 48 53 49 public:50 enum ExtractionType_t { kAmplitude, kIntegral }; //! Possible time and charge extraction types51 52 54 private: 53 ExtractionType_t fExtractionType;55 MExtralgoSpline::ExtractionType_t fExtractionType; 54 56 55 57 public: 56 58 MExtractTimeAndChargeSpline(const char *name=NULL, const char *title=NULL); 57 ~MExtractTimeAndChargeSpline() {}58 59 59 60 Float_t GetRiseTimeHiGain() const { return fRiseTimeHiGain; } … … 83 84 void SetLoGainStretch(const Float_t f=fgLoGainStretch) { fLoGainStretch = f; } 84 85 85 void SetChargeType(const ExtractionType_t typ=kIntegral);86 void SetChargeType(const MExtralgoSpline::ExtractionType_t typ=MExtralgoSpline::kIntegralRel); 86 87 /* 87 88 void FindTimeAndChargeHiGain(Byte_t *first, Byte_t *logain, Float_t &sum, Float_t &dsum, … … 100 101 Byte_t sat, Int_t maxpos) const; 101 102 102 ClassDef(MExtractTimeAndChargeSpline, 4) // Task to Extract Arrival Times and Charges using a Cubic Spline103 ClassDef(MExtractTimeAndChargeSpline, 5) // Task to Extract Arrival Times and Charges using a Cubic Spline 103 104 }; 104 105
Note:
See TracChangeset
for help on using the changeset viewer.