Line | |
---|
1 | #ifndef MARS_MCalibrateDrsTimes
|
---|
2 | #define MARS_MCalibrateDrsTimes
|
---|
3 |
|
---|
4 | #ifndef MARS_MTask
|
---|
5 | #include "MTask.h"
|
---|
6 | #endif
|
---|
7 |
|
---|
8 | class MGeomCam;
|
---|
9 | class MBadPixelsCam;
|
---|
10 | class MDrsCalibrationTime;
|
---|
11 | class MArrivalTimeCam;
|
---|
12 | class MRawRunHeader;
|
---|
13 | class MRawEvtData;
|
---|
14 | class MSignalCam;
|
---|
15 |
|
---|
16 | class MCalibrateDrsTimes : public MTask
|
---|
17 | {
|
---|
18 | private:
|
---|
19 | MRawRunHeader *fRunHeader;
|
---|
20 | MRawEvtData *fRaw;
|
---|
21 | MDrsCalibrationTime *fCalib; // Calibration rel. time constants
|
---|
22 | MBadPixelsCam *fBadPixels; // Bad Pixels information
|
---|
23 | MArrivalTimeCam *fSignals; // Extracted Arrival Time
|
---|
24 | MSignalCam *fArrivalTime; // Calibrated arrival times
|
---|
25 | MSignalCam *fArrivalTimeU; // Uncalibrated arrival times
|
---|
26 |
|
---|
27 | UShort_t fFreq; //! [MHz] Sampling Frequency
|
---|
28 |
|
---|
29 | TString fNameArrivalTime;
|
---|
30 | TString fNameCalibrated;
|
---|
31 | TString fNameUncalibrated;
|
---|
32 |
|
---|
33 | Bool_t fIsTimeMarker;
|
---|
34 |
|
---|
35 | Int_t PreProcess(MParList *pList);
|
---|
36 | Bool_t ReInit(MParList *pList);
|
---|
37 | Int_t Process();
|
---|
38 |
|
---|
39 | public:
|
---|
40 | MCalibrateDrsTimes(const char *name=NULL, const char *title=NULL);
|
---|
41 |
|
---|
42 | void SetNameArrivalTime(const char *name) { fNameArrivalTime = name; }
|
---|
43 | void SetNameCalibrated(const char *name) { fNameCalibrated = name; }
|
---|
44 | void SetNameUncalibrated(const char *name) { fNameUncalibrated = name; }
|
---|
45 |
|
---|
46 | void SetTimeMarker(Bool_t tm=kTRUE) { fIsTimeMarker = tm; }
|
---|
47 |
|
---|
48 | ClassDef(MCalibrateDrsTimes, 0) // Task to calculate calibrated relative arrival times
|
---|
49 | };
|
---|
50 |
|
---|
51 |
|
---|
52 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.