Line | |
---|
1 | #ifndef MARS_MMcCalibrationCalc
|
---|
2 | #define MARS_MMcCalibrationCalc
|
---|
3 |
|
---|
4 | #ifndef MARS_MTask
|
---|
5 | #include "MTask.h"
|
---|
6 | #endif
|
---|
7 |
|
---|
8 | class MCalibrationCam;
|
---|
9 | class MGeomCam;
|
---|
10 | class MHillas;
|
---|
11 | class MNewImagePar;
|
---|
12 | class MMcEvt;
|
---|
13 | class MMcFadcHeader;
|
---|
14 |
|
---|
15 | class TH1F;
|
---|
16 |
|
---|
17 | class MMcCalibrationCalc : public MTask
|
---|
18 | {
|
---|
19 | private:
|
---|
20 | MCalibrationCam *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 | Int_t Process();
|
---|
35 | Int_t PostProcess();
|
---|
36 | Bool_t ReInit(MParList *pList);
|
---|
37 |
|
---|
38 | public:
|
---|
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.