| Line | |
|---|
| 1 | #ifndef MARS_MMcCalibrationCalc
|
|---|
| 2 | #define MARS_MMcCalibrationCalc
|
|---|
| 3 |
|
|---|
| 4 | #ifndef MARS_MTask
|
|---|
| 5 | #include "MTask.h"
|
|---|
| 6 | #endif
|
|---|
| 7 |
|
|---|
| 8 | class MCalibrationChargeCam;
|
|---|
| 9 | class MCalibrationQECam;
|
|---|
| 10 | class MGeomCam;
|
|---|
| 11 | class MHillas;
|
|---|
| 12 | class MNewImagePar;
|
|---|
| 13 | class MMcEvt;
|
|---|
| 14 | class MMcFadcHeader;
|
|---|
| 15 |
|
|---|
| 16 | class TH1F;
|
|---|
| 17 |
|
|---|
| 18 | class MMcCalibrationCalc : public MTask
|
|---|
| 19 | {
|
|---|
| 20 | private:
|
|---|
| 21 | MCalibrationChargeCam *fCalCam;
|
|---|
| 22 | MCalibrationQECam *fQECam;
|
|---|
| 23 | MGeomCam *fGeom;
|
|---|
| 24 | MHillas *fHillas;
|
|---|
| 25 | MNewImagePar *fNew;
|
|---|
| 26 | MMcEvt *fMcEvt;
|
|---|
| 27 | MMcFadcHeader *fHeaderFadc;
|
|---|
| 28 |
|
|---|
| 29 | Float_t fADC2PhotEl; // Conversion factor (photel / ADC count)
|
|---|
| 30 | Float_t fPhot2PhotEl; // Conversion factor (photons / photoelectron) = average QE
|
|---|
| 31 | Long_t fEvents;
|
|---|
| 32 |
|
|---|
| 33 | TH1F* fHistADC2PhotEl;
|
|---|
| 34 | TH1F* fHistPhot2PhotEl; // Histograms for monitoring the calibration.
|
|---|
| 35 |
|
|---|
| 36 | Bool_t CheckRunType(MParList *pList) const;
|
|---|
| 37 | Int_t PreProcess(MParList *pList);
|
|---|
| 38 | Bool_t ReInit(MParList *pList);
|
|---|
| 39 | Int_t Process();
|
|---|
| 40 | Int_t PostProcess();
|
|---|
| 41 |
|
|---|
| 42 | public:
|
|---|
| 43 | MMcCalibrationCalc(const char *name=NULL, const char *title=NULL);
|
|---|
| 44 |
|
|---|
| 45 | TH1F* GetHistADC2PhotEl() { return fHistADC2PhotEl; }
|
|---|
| 46 | TH1F* GetHistPhot2PhotEl() { return fHistPhot2PhotEl; }
|
|---|
| 47 |
|
|---|
| 48 | ClassDef(MMcCalibrationCalc, 0) // Task which obtains, for MC files, the calibration factor from ADC counts to photons.
|
|---|
| 49 | };
|
|---|
| 50 |
|
|---|
| 51 | #endif
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.