| 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 |  | 
|---|
| 16 | class MExtractFixedWindow : public MExtractor | 
|---|
| 17 | { | 
|---|
| 18 | private: | 
|---|
| 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 |  | 
|---|
| 27 | void   StreamPrimitive(ostream &out) const; | 
|---|
| 28 |  | 
|---|
| 29 | Bool_t ReInit(MParList *pList); | 
|---|
| 30 |  | 
|---|
| 31 | public: | 
|---|
| 32 |  | 
|---|
| 33 | MExtractFixedWindow(const char *name=NULL, const char *title=NULL); | 
|---|
| 34 |  | 
|---|
| 35 | void SetRange(Byte_t hifirst=0, Byte_t hilast=0, Byte_t lofirst=0, Byte_t lolast=0); | 
|---|
| 36 |  | 
|---|
| 37 | void Print(Option_t *o="") const; | 
|---|
| 38 |  | 
|---|
| 39 | ClassDef(MExtractFixedWindow, 1) // Signal Extractor for a fixed extraction window | 
|---|
| 40 | }; | 
|---|
| 41 |  | 
|---|
| 42 | #endif | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.