source: trunk/MagicSoft/Mars/msignal/MExtractFixedWindowSpline.h@ 4966

Last change on this file since 4966 was 4340, checked in by gaug, 21 years ago
*** empty log message ***
File size: 1.2 KB
Line 
1#ifndef MARS_MExtractFixedWindowSpline
2#define MARS_MExtractFixedWindowSpline
3
4#ifndef MARS_MExtractor
5#include "MExtractor.h"
6#endif
7
8class MExtractFixedWindowSpline : public MExtractor
9{
10
11private:
12
13 static const Byte_t fgHiGainFirst; // Default for fHiGainFirst (now set to: 2)
14 static const Byte_t fgHiGainLast; // Default for fHiGainLast (now set to: 14)
15 static const Byte_t fgLoGainFirst; // Default for fLOGainFirst (now set to: 3)
16 static const Byte_t fgLoGainLast; // Default for fLoGainLast (now set to: 14)
17
18 Float_t *fHiGainFirstDeriv;
19 Float_t *fLoGainFirstDeriv;
20 Float_t *fHiGainSecondDeriv;
21 Float_t *fLoGainSecondDeriv;
22
23 Bool_t ReInit (MParList *pList);
24
25 void FindSignalHiGain(Byte_t *ptr, Byte_t *logain, Float_t &sum, Byte_t &sat) const;
26 void FindSignalLoGain(Byte_t *ptr, Float_t &sum, Byte_t &sat) const;
27
28public:
29
30 MExtractFixedWindowSpline(const char *name=NULL, const char *title=NULL);
31 ~MExtractFixedWindowSpline();
32
33 void SetRange(Byte_t hifirst=0, Byte_t hilast=0, Byte_t lofirst=0, Byte_t lolast=0);
34
35 ClassDef(MExtractFixedWindowSpline, 0) // Task to Extract the Arrival Times using a Fast Spline
36};
37
38#endif
39
40
41
Note: See TracBrowser for help on using the repository browser.