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

Last change on this file since 3444 was 3345, checked in by moralejo, 21 years ago
*** empty log message ***
File size: 1.4 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 MPedPhotCam;
10class MGeomCam;
11class MMcFadcHeader;
12class MExtractedSignalCam;
13
14class MMcCalibrationUpdate : 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 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 Bool_t fOuterPixelsGainScaling;
33
34 Float_t fAmplitude; // FADC parameters from camera simulation (see camera manual)
35 Float_t fAmplitudeOuter; // to be read from the MMcFadcHeader.
36 Float_t fConversionHiLo; // Ratio of high to low gain.
37
38public:
39 MMcCalibrationUpdate(const char *name=NULL, const char *title=NULL);
40
41 void SetOuterPixelsGainScaling(Bool_t tf)
42 { fOuterPixelsGainScaling = tf; }
43
44 ClassDef(MMcCalibrationUpdate, 0) // Task which obtains, for MC files, the pedestal mean and rms, and the calibration factor from ADC counts to photons.
45};
46
47#endif
48
49
50
51
52
53
Note: See TracBrowser for help on using the repository browser.