Line | |
---|
1 | #ifndef MARS_MArrivalTimeCalc
|
---|
2 | #define MARS_MArrivalTimeCalc
|
---|
3 |
|
---|
4 | #ifndef MARS_MTask
|
---|
5 | #include "MTask.h"
|
---|
6 | #endif
|
---|
7 |
|
---|
8 | class MRawEvtData;
|
---|
9 | class MRawRunHeader;
|
---|
10 | class MArrivalTime;
|
---|
11 |
|
---|
12 | class MArrivalTimeCalc : public MTask
|
---|
13 | {
|
---|
14 |
|
---|
15 | MRawEvtData *fRawEvt; // raw event data (time slices)
|
---|
16 | MRawRunHeader *fRunHeader; // RunHeader information
|
---|
17 |
|
---|
18 | MArrivalTime *fArrTime; // Container with the photons arrival times
|
---|
19 |
|
---|
20 | Int_t PreProcess(MParList *pList);
|
---|
21 | Bool_t ReInit(MParList *pList);
|
---|
22 | Int_t Process();
|
---|
23 | Int_t PostProcess() {return kTRUE;}
|
---|
24 |
|
---|
25 | Float_t Calc(const Byte_t *fadcSamples, const Short_t nslices);
|
---|
26 |
|
---|
27 | Float_t fStepSize; // The step size to evaluate the time
|
---|
28 |
|
---|
29 | public:
|
---|
30 | MArrivalTimeCalc(const char *name=NULL, const char *title=NULL);
|
---|
31 | ~MArrivalTimeCalc(){}
|
---|
32 |
|
---|
33 | void SetStepSize(Float_t s) { fStepSize = s; }
|
---|
34 |
|
---|
35 | ClassDef(MArrivalTimeCalc, 0) // Task to calculate Arrival Times from raw data
|
---|
36 | };
|
---|
37 |
|
---|
38 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.