source: trunk/MagicSoft/Mars/manalysis/MMcCalibrationCalc.h@ 2827

Last change on this file since 2827 was 2749, checked in by moralejo, 21 years ago
*** empty log message ***
File size: 1.0 KB
Line 
1#ifndef MARS_MMcCalibrationCalc
2#define MARS_MMcCalibrationCalc
3
4#ifndef MARS_MTask
5#include "MTask.h"
6#endif
7
8class MCalibrationCam;
9class MPedPhotCam;
10class MGeomCam;
11class MMcFadcHeader;
12class MExtractedSignalCam;
13
14class MMcCalibrationCalc : public MTask
15{
16private:
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
32public:
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.