Line | |
---|
1 | #ifndef MARS_MMcCalibrationUpdate
|
---|
2 | #define MARS_MMcCalibrationUpdate
|
---|
3 |
|
---|
4 | #ifndef MARS_MTask
|
---|
5 | #include "MTask.h"
|
---|
6 | #endif
|
---|
7 |
|
---|
8 | class MCalibrationChargeCam;
|
---|
9 | class MPedPhotCam;
|
---|
10 | class MGeomCam;
|
---|
11 | class MMcFadcHeader;
|
---|
12 | class MExtractedSignalCam;
|
---|
13 |
|
---|
14 | class MMcCalibrationUpdate : 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 | MCalibrationChargeCam *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 |
|
---|
31 | Bool_t fFillCalibrationCam;
|
---|
32 |
|
---|
33 | Float_t fAmplitude; // FADC parameters from camera simulation (see camera manual)
|
---|
34 | Float_t fAmplitudeOuter; // to be read from the MMcFadcHeader.
|
---|
35 | Float_t fConversionHiLo; // Ratio of high to low gain.
|
---|
36 |
|
---|
37 |
|
---|
38 | public:
|
---|
39 | MMcCalibrationUpdate(const char *name=NULL, const char *title=NULL);
|
---|
40 |
|
---|
41 | ClassDef(MMcCalibrationUpdate, 0) // Task which obtains, for MC files, the pedestal mean and rms, and the calibration factor from ADC counts to photons.
|
---|
42 | };
|
---|
43 |
|
---|
44 | #endif
|
---|
45 |
|
---|
46 |
|
---|
47 |
|
---|
48 |
|
---|
49 |
|
---|
50 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.