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 MRawEvtHeader;
|
---|
11 | class MRawRunHeader;
|
---|
12 | class MPedCalcFromLoGain;
|
---|
13 | class MCalibrationChargeCalc;
|
---|
14 | class MCalibrationRelTimeCalc;
|
---|
15 | class MCalibrationIntensityChargeCam;
|
---|
16 | class MCalibrationIntensityBlindCam;
|
---|
17 | class MCalibrationIntensityQECam;
|
---|
18 | class MCalibrationIntensityRelTimeCam;
|
---|
19 | class MCalibrationIntensityHiLoCam;
|
---|
20 | class MBadPixelsIntensityCam;
|
---|
21 | class MCalibCalcFromPast : public MTask
|
---|
22 | {
|
---|
23 | private:
|
---|
24 |
|
---|
25 | static const UInt_t fgNumEventsDump; //! Default for fNumEventsDump
|
---|
26 |
|
---|
27 | MRawEvtHeader *fHeader; //!
|
---|
28 | MRawRunHeader *fRunHeader; //!
|
---|
29 | MGeomCam *fGeom; //!
|
---|
30 | MParList *fParList; //!
|
---|
31 | MCalibrationIntensityChargeCam *fIntensCharge; //!
|
---|
32 | MCalibrationIntensityBlindCam *fIntensBlind; //!
|
---|
33 | MCalibrationIntensityQECam *fIntensQE; //!
|
---|
34 | MCalibrationIntensityRelTimeCam *fIntensRelTime; //!
|
---|
35 | MCalibrationIntensityHiLoCam *fIntensHiLo; //!
|
---|
36 | MBadPixelsIntensityCam *fIntensBad; //!
|
---|
37 |
|
---|
38 | MCalibrationChargeCalc *fChargeCalc; //!
|
---|
39 | MCalibrationRelTimeCalc *fRelTimeCalc; //!
|
---|
40 |
|
---|
41 | UInt_t fNumEventsDump; // Number of event after which the MCalibrationCams gets updated
|
---|
42 | UInt_t fPattern; // Calibration bit pattern from digital modules
|
---|
43 |
|
---|
44 | Int_t PreProcess(MParList *pList);
|
---|
45 | Int_t Process();
|
---|
46 |
|
---|
47 | Bool_t ReInitialize();
|
---|
48 | Bool_t Finalize(const char* name);
|
---|
49 | const char* GetNamePattern();
|
---|
50 |
|
---|
51 | public:
|
---|
52 |
|
---|
53 | MCalibCalcFromPast(const char *name=NULL, const char *title=NULL);
|
---|
54 | ~MCalibCalcFromPast() {}
|
---|
55 |
|
---|
56 | UInt_t GetNumEventsDump() const { return fNumEventsDump; }
|
---|
57 |
|
---|
58 | void SetNumEventsDump( const UInt_t i=fgNumEventsDump ) { fNumEventsDump = i; }
|
---|
59 |
|
---|
60 | ClassDef(MCalibCalcFromPast, 1) // Task to steer the processing of interlace calibration events
|
---|
61 | };
|
---|
62 |
|
---|
63 | #endif
|
---|
64 |
|
---|