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

Last change on this file since 3178 was 2889, checked in by moralejo, 21 years ago
*** empty log message ***
File size: 1.2 KB
Line 
1#ifndef MARS_MMcCalibrationUpdate
2#define MARS_MMcCalibrationUpdate
3
4#ifndef MARS_MTask
5#include "MTask.h"
6#endif
7
8class MCalibrationCam;
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 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
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
38public:
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
Note: See TracBrowser for help on using the repository browser.