source: trunk/MagicSoft/Mars/manalysis/MMcCalibrationUpdate.h@ 6329

Last change on this file since 6329 was 6320, checked in by gaug, 21 years ago
*** empty log message ***
File size: 1.7 KB
Line 
1#ifndef MARS_MMcCalibrationUpdate
2#define MARS_MMcCalibrationUpdate
3
4#ifndef MARS_MTask
5#include "MTask.h"
6#endif
7
8#ifndef MARS_MCalibrateData
9#include "MCalibrateData.h"
10#endif
11
12class MCalibrationChargeCam;
13class MCalibrationQECam;
14class MPedPhotCam;
15class MGeomCam;
16class MMcFadcHeader;
17class MExtractedSignalCam;
18
19class MMcCalibrationUpdate : public MTask
20{
21private:
22 Bool_t CheckRunType(MParList *pList) const;
23 Int_t PreProcess(MParList *pList);
24 Int_t Process();
25 Bool_t ReInit(MParList *pList);
26
27 MCalibrationChargeCam *fCalCam;
28 MCalibrationQECam *fQECam;
29 MPedPhotCam *fPedPhotCam;
30 MGeomCam *fGeom;
31 MMcFadcHeader *fHeaderFadc;
32 MExtractedSignalCam *fSignalCam;
33
34 Float_t fADC2PhElInner; // Conversion factor from ADC counts to photo-electrons
35 Float_t fADC2PhElOuter; // for inner and outer pixels.
36
37 Bool_t fFillCalibrationCam;
38 Bool_t fOuterPixelsGainScaling;
39
40 Float_t fAmplitude; // FADC parameters from camera simulation (see camera manual)
41 Float_t fAmplitudeOuter; // to be read from the MMcFadcHeader.
42 Float_t fConversionHiLo; // Ratio of high to low gain.
43
44 Float_t fOuterPixelsLightCollection;
45 // Photon collection efficiency of outer pixels w.r.t. inner ones.
46
47 MCalibrateData::SignalType_t fSignalType;
48
49public:
50 MMcCalibrationUpdate(const char *name=NULL, const char *title=NULL);
51
52 void SetOuterPixelsGainScaling(Bool_t tf)
53 { fOuterPixelsGainScaling = tf; }
54
55 ClassDef(MMcCalibrationUpdate, 0) // Task which obtains, for MC files, the pedestal mean and rms, and the calibration factor from ADC counts to photons.
56};
57
58#endif
59
60
61
62
63
64
Note: See TracBrowser for help on using the repository browser.