1 | #ifndef MARS_MCalibCalcFromPast
|
---|
2 | #define MARS_MCalibCalcFromPast
|
---|
3 |
|
---|
4 | #ifndef MARS_MTask
|
---|
5 | #include "MTask.h"
|
---|
6 | #endif
|
---|
7 |
|
---|
8 | class MParList;
|
---|
9 | class MGeomCam;
|
---|
10 | class MPedCalcFromLoGain;
|
---|
11 | class MCalibrationChargeCalc;
|
---|
12 | class MCalibrationRelTimeCalc;
|
---|
13 | class MCalibrateData;
|
---|
14 | class MCalibrationIntensityChargeCam;
|
---|
15 | class MCalibrationIntensityBlindCam;
|
---|
16 | class MCalibrationIntensityQECam;
|
---|
17 | class MCalibrationIntensityRelTimeCam;
|
---|
18 | class MCalibrationIntensityHiLoCam;
|
---|
19 | class MBadPixelsIntensityCam;
|
---|
20 | class MCalibCalcFromPast : public MTask
|
---|
21 | {
|
---|
22 | private:
|
---|
23 |
|
---|
24 | static const UInt_t fgNumEventsDump; //! Default for fNumEventsDump
|
---|
25 |
|
---|
26 | MGeomCam *fGeom; //! Camera Geometry
|
---|
27 | MParList *fParList; //! Parameter List
|
---|
28 | MCalibrationIntensityChargeCam *fIntensCharge; //! Intensity Charge Cam (to be created)
|
---|
29 | MCalibrationIntensityBlindCam *fIntensBlind; //! Intensity Blind Cam (to be created)
|
---|
30 | MCalibrationIntensityQECam *fIntensQE; //! Intensity QE Cam (to be created)
|
---|
31 | MCalibrationIntensityRelTimeCam *fIntensRelTime; //! Intensity Rel. Time Cam (to be created)
|
---|
32 | MCalibrationIntensityHiLoCam *fIntensHiLo; //! Intensity High-Vs.Low Cam (to be created)
|
---|
33 | MBadPixelsIntensityCam *fIntensBad; //! Intensity Bad Pixels Cam (to be created)
|
---|
34 |
|
---|
35 | MCalibrationChargeCalc *fChargeCalc; //! Charge Calibration Task
|
---|
36 | MCalibrationRelTimeCalc *fRelTimeCalc; //! Rel. Times Calibratio Task
|
---|
37 | MCalibrateData *fCalibrate; //! Data Calibration Task
|
---|
38 |
|
---|
39 | UInt_t fNumEventsDump; // Number of event after which the MCalibrationCams gets updated
|
---|
40 | UInt_t fNumEvents; //! Event counter only for calibration events
|
---|
41 | UInt_t fNumCam; //! Number of currently used Calibration Cam
|
---|
42 |
|
---|
43 | Int_t PreProcess(MParList *pList);
|
---|
44 | Int_t Process();
|
---|
45 | Int_t PostProcess();
|
---|
46 |
|
---|
47 | Bool_t ReInitialize();
|
---|
48 | Bool_t Finalize(const char* name);
|
---|
49 |
|
---|
50 | public:
|
---|
51 |
|
---|
52 | MCalibCalcFromPast(const char *name=NULL, const char *title=NULL);
|
---|
53 | ~MCalibCalcFromPast() {}
|
---|
54 |
|
---|
55 | UInt_t GetNumEventsDump() const { return fNumEventsDump; }
|
---|
56 |
|
---|
57 | void SetNumEventsDump( const UInt_t i=fgNumEventsDump ) { fNumEventsDump = i; }
|
---|
58 |
|
---|
59 | void SetCalibrate ( MCalibrateData *c ) { fCalibrate = c; }
|
---|
60 | void SetChargeCalc ( MCalibrationChargeCalc *c ) { fChargeCalc = c; }
|
---|
61 | void SetRelTimeCalc ( MCalibrationRelTimeCalc *c ) { fRelTimeCalc = c; }
|
---|
62 |
|
---|
63 | ClassDef(MCalibCalcFromPast, 1) // Task to steer the processing of interlace calibration events
|
---|
64 | };
|
---|
65 |
|
---|
66 | #endif
|
---|
67 |
|
---|