| 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 |
|
|---|
| 11 | class MExtractTime : public MExtractor
|
|---|
| 12 | {
|
|---|
| 13 | private:
|
|---|
| 14 |
|
|---|
| 15 | static const Float_t fgOffsetLoGain; // Default for fOffsetLoGain (now set to 1.51 (= 5ns)
|
|---|
| 16 |
|
|---|
| 17 | protected:
|
|---|
| 18 |
|
|---|
| 19 | Float_t fOffsetLoGain; // Offset of the low-gain signal w.r.t. the High-Gain slices
|
|---|
| 20 |
|
|---|
| 21 | MArrivalTimeCam *fArrTime; //! Container with the photons arrival times
|
|---|
| 22 |
|
|---|
| 23 | virtual void FindTimeHiGain(Byte_t *firstused, Float_t &time, Float_t &dtime,
|
|---|
| 24 | Byte_t &sat, const MPedestalPix &ped) const;
|
|---|
| 25 | virtual void FindTimeLoGain(Byte_t *firstused, Float_t &time, Float_t &dtime,
|
|---|
| 26 | Byte_t &sat, const MPedestalPix &ped) const;
|
|---|
| 27 |
|
|---|
| 28 | Int_t PreProcess( MParList *pList );
|
|---|
| 29 | Bool_t ReInit ( MParList *pList );
|
|---|
| 30 | Int_t Process ();
|
|---|
| 31 |
|
|---|
| 32 | Int_t ReadEnv(const TEnv &env, TString prefix, Bool_t print);
|
|---|
| 33 |
|
|---|
| 34 | public:
|
|---|
| 35 | MExtractTime(const char *name=NULL, const char *title=NULL);
|
|---|
| 36 |
|
|---|
| 37 | void SetOffsetLoGain( const Float_t f=fgOffsetLoGain) { fOffsetLoGain = f; }
|
|---|
| 38 |
|
|---|
| 39 | void Print(Option_t *o) const;
|
|---|
| 40 |
|
|---|
| 41 | ClassDef(MExtractTime, 1) // Arrival Time Extractor Base Class
|
|---|
| 42 | };
|
|---|
| 43 |
|
|---|
| 44 | #endif
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.