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