Line | |
---|
1 | #ifndef MARS_MCalibrate
|
---|
2 | #define MARS_MCalibrate
|
---|
3 |
|
---|
4 | /////////////////////////////////////////////////////////////////////////////
|
---|
5 | // //
|
---|
6 | // MCalibrate //
|
---|
7 | // //
|
---|
8 | // Integrates the desired ADC time slices of one pixel and apply //
|
---|
9 | // calibration constants //
|
---|
10 | // //
|
---|
11 | /////////////////////////////////////////////////////////////////////////////
|
---|
12 | #ifndef MARS_MTask
|
---|
13 | #include "MTask.h"
|
---|
14 | #endif
|
---|
15 |
|
---|
16 | class MGeomCam;
|
---|
17 | class MCalibrationChargeCam;
|
---|
18 | class MExtractedSignalCam;
|
---|
19 | class MCerPhotEvt;
|
---|
20 |
|
---|
21 | class MCalibrate : public MTask
|
---|
22 | {
|
---|
23 | private:
|
---|
24 | MGeomCam *fGeomCam; // Camera geometry container
|
---|
25 | MCalibrationChargeCam *fCalibrations; // Calibration constants
|
---|
26 | MExtractedSignalCam *fSignals; // Integrated charge in FADCs counts
|
---|
27 | MCerPhotEvt *fCerPhotEvt; // Cerenkov Photon Event used for calculation
|
---|
28 |
|
---|
29 | Float_t fConversionHiLo;
|
---|
30 | UShort_t fCalibrationMode;
|
---|
31 |
|
---|
32 | Int_t PreProcess(MParList *pList);
|
---|
33 | Bool_t ReInit(MParList *pList);
|
---|
34 | Int_t Process();
|
---|
35 |
|
---|
36 | public:
|
---|
37 |
|
---|
38 | enum CalibrationMode_t{kNone=0,kBlindPixel,kFfactor,kPinDiode,kCombined, kDummy};
|
---|
39 | static const CalibrationMode_t kDefault = kBlindPixel;
|
---|
40 |
|
---|
41 | MCalibrate(CalibrationMode_t calmode = kDefault,const char *name=NULL, const char *title=NULL);
|
---|
42 |
|
---|
43 | void SetConversionHiLo(Float_t conv) { fConversionHiLo = conv; };
|
---|
44 | void SetCalibrationMode(CalibrationMode_t calmode=kDefault){ fCalibrationMode=calmode;};
|
---|
45 |
|
---|
46 | ClassDef(MCalibrate, 0) // Task to calculate cerenkov photons using calibration constants
|
---|
47 | };
|
---|
48 |
|
---|
49 |
|
---|
50 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.