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

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