source: branches/removing_cpp11_features/mdrs/MCalibrateDrsTimes.h@ 18459

Last change on this file since 18459 was 14922, checked in by tbretz, 12 years ago
New classes for DRS calibration.
File size: 1.4 KB
Line 
1#ifndef MARS_MCalibrateDrsTimes
2#define MARS_MCalibrateDrsTimes
3
4#ifndef MARS_MTask
5#include "MTask.h"
6#endif
7
8class MGeomCam;
9class MBadPixelsCam;
10class MDrsCalibrationTime;
11class MArrivalTimeCam;
12class MRawRunHeader;
13class MRawEvtData;
14class MSignalCam;
15
16class MCalibrateDrsTimes : public MTask
17{
18private:
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
39public:
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.