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

Last change on this file since 6905 was 6004, checked in by gaug, 20 years ago
*** empty log message ***
File size: 2.4 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 MBadPixelsIntensityCam;
19class MCalibCalcFromPast : public MTask
20{
21private:
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
48public:
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
Note: See TracBrowser for help on using the repository browser.