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

Last change on this file since 4693 was 4586, checked in by hbartko, 20 years ago
*** empty log message ***
File size: 1.3 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
15protected:
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
32public:
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.