| 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 MCalibrationChargeCam; | 
|---|
| 19 | class MCalibrationRelTimeCalc; | 
|---|
| 20 | class MCalibrationRelTimeCam; | 
|---|
| 21 | class MCalibrationBlindCam; | 
|---|
| 22 | class MCalibrationQECam; | 
|---|
| 23 | class MBadPixelsCam; | 
|---|
| 24 |  | 
|---|
| 25 | class MCalibColorSteer : public MTask | 
|---|
| 26 | { | 
|---|
| 27 | private: | 
|---|
| 28 | MCalibrationPattern             *fCalibPattern;    //! | 
|---|
| 29 | MRawRunHeader                   *fRunHeader;       //! | 
|---|
| 30 | MGeomCam                        *fGeom;            //! | 
|---|
| 31 | MParList                        *fParList;         //! | 
|---|
| 32 | MCalibrationChargeCam           *fCharge;          //! | 
|---|
| 33 | MCalibrationRelTimeCam          *fRelTimeCam;      //! | 
|---|
| 34 | MCalibrationBlindCam            *fBlindCam;        //! | 
|---|
| 35 | MCalibrationQECam               *fQECam;           //! | 
|---|
| 36 | MBadPixelsCam                   *fBad;             //! | 
|---|
| 37 |  | 
|---|
| 38 | MCalibrationChargeCalc          *fChargeCalc;      //! | 
|---|
| 39 | MCalibrationRelTimeCalc         *fRelTimeCalc;     //! | 
|---|
| 40 |  | 
|---|
| 41 | MCalibrationCam::PulserColor_t   fColor; | 
|---|
| 42 | Float_t                          fStrength; | 
|---|
| 43 |  | 
|---|
| 44 | Bool_t                           fHistCopy;        // Decide whether MHCalibrationCams will get copied | 
|---|
| 45 |  | 
|---|
| 46 | Int_t  PreProcess(MParList *pList); | 
|---|
| 47 | Int_t  Process(); | 
|---|
| 48 | Int_t  PostProcess(); | 
|---|
| 49 |  | 
|---|
| 50 | Bool_t ReInitialize(); | 
|---|
| 51 | Bool_t Finalize(const char* name); | 
|---|
| 52 |  | 
|---|
| 53 | //void    CopyHist(const char* name); | 
|---|
| 54 | TString GetNamePattern(); | 
|---|
| 55 |  | 
|---|
| 56 | public: | 
|---|
| 57 | MCalibColorSteer(const char *name=NULL, const char *title=NULL); | 
|---|
| 58 |  | 
|---|
| 59 | void SetHistCopy(const Bool_t b=kTRUE) { fHistCopy = b; } | 
|---|
| 60 |  | 
|---|
| 61 | ClassDef(MCalibColorSteer, 1) // Task to steer the processing of multiple calibration colours | 
|---|
| 62 | }; | 
|---|
| 63 |  | 
|---|
| 64 | #endif | 
|---|
| 65 |  | 
|---|