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

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