source: trunk/MagicSoft/Mars/manalysis/MArrivalTimeCalc.h@ 3034

Last change on this file since 3034 was 2921, checked in by gaug, 21 years ago
*** empty log message ***
File size: 956 bytes
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 MArrivalTime;
11
12class 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
29public:
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.