source: branches/Mars_McMismatchStudy/msignal/MArrivalTimeCalc.h@ 18242

Last change on this file since 18242 was 3864, checked in by gaug, 21 years ago
*** empty log message ***
File size: 1.1 KB
Line 
1#ifndef MARS_MArrivalTimeCalc
2#define MARS_MArrivalTimeCalc
3
4#ifndef MARS_MTask
5#include "MTask.h"
6#endif
7
8class MRawEvtData;
9class MRawRunHeader;
10class MArrivalTimeCam;
11class MPedestalCam;
12class MArrivalTimeCalc : public MTask
13{
14
15 static const Byte_t fgSaturationLimit; // Default for fSaturationLimit
16 Byte_t fSaturationLimit; // Maximum FADC counts before being considered as saturated
17
18 MRawEvtData *fRawEvt; // raw event data (time slices)
19 MRawRunHeader *fRunHeader; // RunHeader information
20 MPedestalCam *fPedestals; // pedestal information
21
22 MArrivalTimeCam *fArrTime; // Container with the photons arrival times
23
24 Int_t PreProcess(MParList *pList);
25 Int_t Process();
26 Int_t PostProcess() {return kTRUE;}
27
28 Float_t Calc(const Byte_t *fadcSamples, const Short_t nslices, const UInt_t idx);
29
30public:
31 MArrivalTimeCalc(const char *name=NULL, const char *title=NULL);
32 ~MArrivalTimeCalc(){}
33
34 void SetSaturationLimit(const Byte_t lim=fgSaturationLimit) { fSaturationLimit = lim; }
35
36 ClassDef(MArrivalTimeCalc, 0) // Task to calculate Arrival Times from raw data
37};
38
39#endif
40
41
42
Note: See TracBrowser for help on using the repository browser.