source: tags/Mars-V0.9.4.1/msignal/MExtractTime.h

Last change on this file was 7091, checked in by tbretz, 20 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;
10
11class MExtractTime : public MExtractor
12{
13protected:
14
15 static const TString fgNameTimeCam; //! "MArrivalTimeCam"
16 TString fNameTimeCam; // Name of the 'MArrivalTimeCam' container
17
18 MArrivalTimeCam *fArrTime; //! Container with the photons arrival times
19
20 virtual void FindTimeHiGain(Byte_t *firstused, Float_t &time, Float_t &dtime,
21 Byte_t &sat, const MPedestalPix &ped) const {}
22 virtual void FindTimeLoGain(Byte_t *firstused, Float_t &time, Float_t &dtime,
23 Byte_t &sat, const MPedestalPix &ped) const {}
24
25 Int_t PreProcess( MParList *pList );
26 Bool_t ReInit ( MParList *pList );
27 Int_t Process ();
28
29public:
30
31 MExtractTime(const char *name=NULL, const char *title=NULL);
32
33 void Print(Option_t *o) const; //*MENU*
34
35 void SetNameTimeCam ( const char *name=fgNameTimeCam.Data()) { fNameTimeCam = name; }
36
37 ClassDef(MExtractTime, 3) // Arrival Time Extractor Base Class
38};
39
40#endif
Note: See TracBrowser for help on using the repository browser.