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 | TString fNamePedContainer; // name of the 'MPedestalCam' container
|
---|
21 |
|
---|
22 |
|
---|
23 | virtual Int_t PreProcess(MParList *pList);
|
---|
24 | virtual Bool_t ReInit(MParList *pList);
|
---|
25 | virtual Int_t Process();
|
---|
26 |
|
---|
27 | virtual void FindTimeHiGain(Byte_t *firstused, Float_t &time, Float_t &dtime,
|
---|
28 | Byte_t &sat, const MPedestalPix &ped) const;
|
---|
29 | virtual void FindTimeLoGain(Byte_t *firstused, Float_t &time, Float_t &dtime,
|
---|
30 | Byte_t &sat, const MPedestalPix &ped) const;
|
---|
31 |
|
---|
32 | public:
|
---|
33 |
|
---|
34 | MExtractTime(const char *name=NULL, const char *title=NULL);
|
---|
35 |
|
---|
36 | void SetOffsetLoGain( const Float_t f=fgOffsetLoGain) { fOffsetLoGain = f; }
|
---|
37 | void SetNamePedContainer(const char *name) { fNamePedContainer = name; }
|
---|
38 |
|
---|
39 |
|
---|
40 | ClassDef(MExtractTime, 0) // Arrival Time Extractor Base Class
|
---|
41 | };
|
---|
42 |
|
---|
43 | #endif
|
---|
44 |
|
---|
45 |
|
---|
46 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.