source: trunk/MagicSoft/Mars/msignal/MExtractTime.h@ 4093

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