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

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