1 | #ifndef MARS_MCalibColorSteer
|
---|
2 | #define MARS_MCalibColorSteer
|
---|
3 |
|
---|
4 | #ifndef MARS_MTask
|
---|
5 | #include "MTask.h"
|
---|
6 | #endif
|
---|
7 |
|
---|
8 | #ifndef MARS_MCalibrationCam
|
---|
9 | #include "MCalibrationCam.h"
|
---|
10 | #endif
|
---|
11 |
|
---|
12 |
|
---|
13 | class MParList;
|
---|
14 | class MGeomCam;
|
---|
15 | class MCalibrationPattern;
|
---|
16 | class MRawRunHeader;
|
---|
17 | class MCalibrationChargeCalc;
|
---|
18 | class MCalibrationRelTimeCalc;
|
---|
19 | class MCalibrationIntensityChargeCam;
|
---|
20 | class MCalibrationIntensityBlindCam;
|
---|
21 | class MCalibrationIntensityQECam;
|
---|
22 | class MCalibrationIntensityRelTimeCam;
|
---|
23 | class MBadPixelsIntensityCam;
|
---|
24 | class MBadPixelsCam;
|
---|
25 |
|
---|
26 | class MCalibColorSteer : public MTask
|
---|
27 | {
|
---|
28 | private:
|
---|
29 | MCalibrationPattern *fCalibPattern; //!
|
---|
30 | MRawRunHeader *fRunHeader; //!
|
---|
31 | MGeomCam *fGeom; //!
|
---|
32 | MParList *fParList; //!
|
---|
33 | MCalibrationIntensityChargeCam *fIntensCharge; //!
|
---|
34 | MCalibrationIntensityBlindCam *fIntensBlind; //!
|
---|
35 | MCalibrationIntensityQECam *fIntensQE; //!
|
---|
36 | MCalibrationIntensityRelTimeCam *fIntensRelTime; //!
|
---|
37 | MBadPixelsIntensityCam *fIntensBad; //!
|
---|
38 | MBadPixelsCam *fBad; //!
|
---|
39 |
|
---|
40 | MCalibrationChargeCalc *fChargeCalc; //!
|
---|
41 | MCalibrationRelTimeCalc *fRelTimeCalc; //!
|
---|
42 |
|
---|
43 | MCalibrationCam::PulserColor_t fColor;
|
---|
44 | Float_t fStrength;
|
---|
45 |
|
---|
46 | Bool_t fHistCopy; // Decide whether MHCalibrationCams will get copied
|
---|
47 |
|
---|
48 | Int_t PreProcess(MParList *pList);
|
---|
49 | Int_t Process();
|
---|
50 | Int_t PostProcess();
|
---|
51 |
|
---|
52 | Bool_t ReInitialize();
|
---|
53 | Bool_t Finalize(const char* name);
|
---|
54 |
|
---|
55 | void CopyHist(const char* name);
|
---|
56 | TString GetNamePattern();
|
---|
57 |
|
---|
58 | public:
|
---|
59 | MCalibColorSteer(const char *name=NULL, const char *title=NULL);
|
---|
60 |
|
---|
61 | void SetHistCopy(const Bool_t b=kTRUE) { fHistCopy = b; }
|
---|
62 |
|
---|
63 | ClassDef(MCalibColorSteer, 1) // Task to steer the processing of multiple calibration colours
|
---|
64 | };
|
---|
65 |
|
---|
66 | #endif
|
---|
67 |
|
---|