| 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 MPedPhotCam;
|
|---|
| 10 | class MGeomCam;
|
|---|
| 11 | class MMcFadcHeader;
|
|---|
| 12 | class MExtractedSignalCam;
|
|---|
| 13 |
|
|---|
| 14 | class MMcCalibrationCalc : public MTask
|
|---|
| 15 | {
|
|---|
| 16 | private:
|
|---|
| 17 | Bool_t CheckRunType(MParList *pList) const;
|
|---|
| 18 | Int_t PreProcess(MParList *pList);
|
|---|
| 19 | Int_t Process();
|
|---|
| 20 | Bool_t ReInit(MParList *pList);
|
|---|
| 21 |
|
|---|
| 22 | MCalibrationCam *fCalCam;
|
|---|
| 23 | MPedPhotCam *fPedPhotCam;
|
|---|
| 24 | MGeomCam *fGeom;
|
|---|
| 25 | MMcFadcHeader *fHeaderFadc;
|
|---|
| 26 | MExtractedSignalCam *fSignalCam;
|
|---|
| 27 |
|
|---|
| 28 | Float_t fADC2PhInner; // Conversion factor from ADC counts to photons
|
|---|
| 29 | Float_t fADC2PhOuter; // for inner and outer pixels.
|
|---|
| 30 | Float_t fConversionHiLo;
|
|---|
| 31 |
|
|---|
| 32 | public:
|
|---|
| 33 | MMcCalibrationCalc(const char *name=NULL, const char *title=NULL);
|
|---|
| 34 |
|
|---|
| 35 | void SetADC2PhInner(Float_t x);
|
|---|
| 36 |
|
|---|
| 37 | ClassDef(MMcCalibrationCalc, 0) // Task which obtains, for MC files, the pedestal mean and rms, and the calibration factor from ADC counts to photons.
|
|---|
| 38 | };
|
|---|
| 39 |
|
|---|
| 40 | #endif
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.