source: trunk/MagicSoft/Mars/mcalib/MMcCalibrationCalc.h@ 3551

Last change on this file since 3551 was 3249, checked in by gaug, 21 years ago
*** empty log message ***
File size: 1.1 KB
Line 
1#ifndef MARS_MMcCalibrationCalc
2#define MARS_MMcCalibrationCalc
3
4#ifndef MARS_MTask
5#include "MTask.h"
6#endif
7
8class MCalibrationChargeCam;
9class MGeomCam;
10class MHillas;
11class MNewImagePar;
12class MMcEvt;
13class MMcFadcHeader;
14
15class TH1F;
16
17class MMcCalibrationCalc : public MTask
18{
19private:
20 MCalibrationChargeCam *fCalCam;
21 MGeomCam *fGeom;
22 MHillas *fHillas;
23 MNewImagePar *fNew;
24 MMcEvt *fMcEvt;
25 MMcFadcHeader *fHeaderFadc;
26
27 Float_t fADC2Phot;
28 Long_t fEvents;
29
30 TH1F* fHistRatio; // Histogram for monitoring the calibration.
31
32 Bool_t CheckRunType(MParList *pList) const;
33 Int_t PreProcess(MParList *pList);
34 Bool_t ReInit(MParList *pList);
35 Int_t Process();
36 Int_t PostProcess();
37
38public:
39 MMcCalibrationCalc(const char *name=NULL, const char *title=NULL);
40
41 TH1F* GetHist() { return fHistRatio; }
42
43 ClassDef(MMcCalibrationCalc, 0) // Task which obtains, for MC files, the calibration factor from ADC counts to photons.
44};
45
46#endif
Note: See TracBrowser for help on using the repository browser.