source: trunk/MagicSoft/Mars/mcalib/MCalibCalcFromPast.h@ 5954

Last change on this file since 5954 was 5857, checked in by gaug, 20 years ago
*** empty log message ***
File size: 2.6 KB
Line 
1#ifndef MARS_MCalibCalcFromPast
2#define MARS_MCalibCalcFromPast
3
4#ifndef MARS_MTask
5#include "MTask.h"
6#endif
7
8class MParList;
9class MGeomCam;
10class MPedCalcFromLoGain;
11class MCalibrationChargeCalc;
12class MCalibrationRelTimeCalc;
13class MCalibrateData;
14class MCalibrationIntensityChargeCam;
15class MCalibrationIntensityBlindCam;
16class MCalibrationIntensityQECam;
17class MCalibrationIntensityRelTimeCam;
18class MCalibrationIntensityHiLoCam;
19class MBadPixelsIntensityCam;
20class MCalibCalcFromPast : public MTask
21{
22private:
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
50public:
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
Note: See TracBrowser for help on using the repository browser.