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

Last change on this file since 5823 was 5799, checked in by gaug, 20 years ago
*** empty log message ***
File size: 2.0 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 MRawEvtHeader;
11class MRawRunHeader;
12class MPedCalcFromLoGain;
13class MCalibrationChargeCalc;
14class MCalibrationRelTimeCalc;
15class MCalibrationIntensityChargeCam;
16class MCalibrationIntensityBlindCam;
17class MCalibrationIntensityQECam;
18class MCalibrationIntensityRelTimeCam;
19class MCalibrationIntensityHiLoCam;
20class MBadPixelsIntensityCam;
21class MCalibCalcFromPast : public MTask
22{
23private:
24
25 static const UInt_t fgNumEventsDump; //! Default for fNumEventsDump
26
27 MRawEvtHeader *fHeader; //!
28 MRawRunHeader *fRunHeader; //!
29 MGeomCam *fGeom; //!
30 MParList *fParList; //!
31 MCalibrationIntensityChargeCam *fIntensCharge; //!
32 MCalibrationIntensityBlindCam *fIntensBlind; //!
33 MCalibrationIntensityQECam *fIntensQE; //!
34 MCalibrationIntensityRelTimeCam *fIntensRelTime; //!
35 MCalibrationIntensityHiLoCam *fIntensHiLo; //!
36 MBadPixelsIntensityCam *fIntensBad; //!
37
38 MCalibrationChargeCalc *fChargeCalc; //!
39 MCalibrationRelTimeCalc *fRelTimeCalc; //!
40
41 UInt_t fNumEventsDump; // Number of event after which the MCalibrationCams gets updated
42 UInt_t fPattern; // Calibration bit pattern from digital modules
43
44 Int_t PreProcess(MParList *pList);
45 Int_t Process();
46
47 Bool_t ReInitialize();
48 Bool_t Finalize(const char* name);
49 const char* GetNamePattern();
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 ClassDef(MCalibCalcFromPast, 1) // Task to steer the processing of interlace calibration events
61};
62
63#endif
64
Note: See TracBrowser for help on using the repository browser.