Line | |
---|
1 | #ifndef MARS_MExtractTime
|
---|
2 | #define MARS_MExtractTime
|
---|
3 |
|
---|
4 | #ifndef MARS_MExtractor
|
---|
5 | #include "MExtractor.h"
|
---|
6 | #endif
|
---|
7 |
|
---|
8 | class MPedestalPix;
|
---|
9 | class MArrivalTimeCam;
|
---|
10 | class MExtractTime : public MExtractor
|
---|
11 | {
|
---|
12 |
|
---|
13 | static const Float_t fgOffsetLoGain; // Default for fOffsetLoGain (now set to 1.51 (= 5ns)
|
---|
14 |
|
---|
15 | protected:
|
---|
16 |
|
---|
17 | Float_t fOffsetLoGain; // Offset of the low-gain signal w.r.t. the High-Gain slices
|
---|
18 |
|
---|
19 | MArrivalTimeCam *fArrTime; // Container with the photons arrival times
|
---|
20 |
|
---|
21 | virtual Int_t PreProcess(MParList *pList);
|
---|
22 | virtual Bool_t ReInit(MParList *pList);
|
---|
23 | virtual Int_t Process();
|
---|
24 |
|
---|
25 | virtual void FindTimeHiGain(Byte_t *firstused, Float_t &time, Float_t &dtime,
|
---|
26 | Byte_t &sat, const MPedestalPix &ped) const;
|
---|
27 | virtual void FindTimeLoGain(Byte_t *firstused, Float_t &time, Float_t &dtime,
|
---|
28 | Byte_t &sat, const MPedestalPix &ped) const;
|
---|
29 |
|
---|
30 | public:
|
---|
31 |
|
---|
32 | MExtractTime(const char *name=NULL, const char *title=NULL);
|
---|
33 |
|
---|
34 | void SetOffsetLoGain( const Float_t f=fgOffsetLoGain) { fOffsetLoGain = f; }
|
---|
35 |
|
---|
36 | ClassDef(MExtractTime, 0) // Arrival Time Extractor Base Class
|
---|
37 | };
|
---|
38 |
|
---|
39 | #endif
|
---|
40 |
|
---|
41 |
|
---|
42 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.