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

Last change on this file since 6965 was 6963, checked in by tbretz, 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 MRawRunHeader;
11class MPedCalcFromLoGain;
12class MCalibrationChargeCalc;
13class MCalibrationRelTimeCalc;
14class MCalibrateData;
15class MCalibrationIntensityChargeCam;
16class MCalibrationIntensityBlindCam;
17class MCalibrationIntensityQECam;
18class MCalibrationIntensityRelTimeCam;
19class MBadPixelsIntensityCam;
20
21class MCalibCalcFromPast : public MTask
22{
23private:
24
25 static const UInt_t fgNumEventsDump; //! Default for fNumEventsDump
26
27 MGeomCam *fGeom; //! Camera Geometry
28 MParList *fParList; //! Parameter List
29 MRawRunHeader *fRunHeader; //! Run header storing the run number
30 MCalibrationIntensityChargeCam *fIntensCharge; //! Intensity Charge Cam (to be created)
31 MCalibrationIntensityBlindCam *fIntensBlind; //! Intensity Blind Cam (to be created)
32 MCalibrationIntensityQECam *fIntensQE; //! Intensity QE Cam (to be created)
33 MCalibrationIntensityRelTimeCam *fIntensRelTime; //! Intensity Rel. Time Cam (to be created)
34 MBadPixelsIntensityCam *fIntensBad; //! Intensity Bad Pixels Cam (to be created)
35
36 MCalibrationChargeCalc *fChargeCalc; //! Charge Calibration Task
37 MCalibrationRelTimeCalc *fRelTimeCalc; //! Rel. Times Calibratio Task
38 MCalibrateData *fCalibrate; //! Data Calibration Task
39
40 UInt_t fNumEventsDump; // Number of event after which the MCalibrationCams gets updated
41 UInt_t fNumEvents; //! Event counter only for calibration events
42 UInt_t fNumCam; //! Number of currently used Calibration Cam
43
44 Int_t PreProcess(MParList *pList);
45 Int_t Process();
46 Int_t PostProcess();
47
48 Bool_t ReInitialize();
49 Bool_t Finalize(const char* name);
50
51public:
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 void SetCalibrate ( MCalibrateData *c ) { fCalibrate = c; }
61 void SetChargeCalc ( MCalibrationChargeCalc *c ) { fChargeCalc = c; }
62 void SetRelTimeCalc ( MCalibrationRelTimeCalc *c ) { fRelTimeCalc = c; }
63
64 ClassDef(MCalibCalcFromPast, 1) // Task to steer the processing of interlace calibration events
65};
66
67#endif
68
Note: See TracBrowser for help on using the repository browser.