source: trunk/MagicSoft/Mars/msignal/MExtractFixedWindow.h@ 6724

Last change on this file since 6724 was 4896, checked in by gaug, 20 years ago
*** empty log message ***
File size: 1.6 KB
Line 
1#ifndef MARS_MExtractFixedWindow
2#define MARS_MExtractFixedWindow
3
4/////////////////////////////////////////////////////////////////////////////
5// //
6// MExtractFixedWindow //
7// //
8// Integrates the time slices of the all pixels in a fixed window //
9// //
10/////////////////////////////////////////////////////////////////////////////
11
12#ifndef MARS_MExtractor
13#include "MExtractor.h"
14#endif
15
16class MExtractFixedWindow : public MExtractor
17{
18private:
19 static const Byte_t fgHiGainFirst; // First FADC slice Hi-Gain (currently set to: 3)
20 static const Byte_t fgHiGainLast; // Last FADC slice Hi-Gain (currently set to: 14)
21 static const Byte_t fgLoGainFirst; // First FADC slice Lo-Gain (currently set to: 3)
22 static const Byte_t fgLoGainLast; // Last FADC slice Lo-Gain (currently set to: 14)
23
24 void FindSignalHiGain(Byte_t *ptr, Byte_t *logain, Float_t &sum, Byte_t &sat) const;
25 void FindSignalLoGain(Byte_t *ptr, Float_t &sum, Byte_t &sat) const;
26 void StreamPrimitive(ofstream &out) const;
27
28 Bool_t ReInit(MParList *pList);
29
30public:
31
32 MExtractFixedWindow(const char *name=NULL, const char *title=NULL);
33
34 void SetRange(Byte_t hifirst=0, Byte_t hilast=0, Byte_t lofirst=0, Byte_t lolast=0);
35
36 void Print(Option_t *o="") const;
37
38 ClassDef(MExtractFixedWindow, 1) // Signal Extractor for a fixed extraction window
39};
40
41#endif
Note: See TracBrowser for help on using the repository browser.