| 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 MArrivalTimeCam;
|
|---|
| 11 | class MPedestalCam;
|
|---|
| 12 | class 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 |
|
|---|
| 30 | public:
|
|---|
| 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.