| 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 ROOT_TArrayF
|
|---|
| 13 | #include <TArrayF.h>
|
|---|
| 14 | #endif
|
|---|
| 15 |
|
|---|
| 16 | #ifndef MARS_MTask
|
|---|
| 17 | #include "MTask.h"
|
|---|
| 18 | #endif
|
|---|
| 19 |
|
|---|
| 20 | class MGeomCam;
|
|---|
| 21 | class MCalibrationCam;
|
|---|
| 22 | class MExtractedSignalCam;
|
|---|
| 23 | class MCerPhotEvt;
|
|---|
| 24 |
|
|---|
| 25 | class MCalibrate : public MTask
|
|---|
| 26 | {
|
|---|
| 27 | private:
|
|---|
| 28 | MCalibrationCam *fCalibrations; // Calibration constants
|
|---|
| 29 | MExtractedSignalCam *fSignals; // Integrated charge in FADCs counts
|
|---|
| 30 | MCerPhotEvt *fCerPhotEvt; // Cerenkov Photon Event used for calculation
|
|---|
| 31 |
|
|---|
| 32 | Float_t fConversionHiLo;
|
|---|
| 33 |
|
|---|
| 34 | Int_t PreProcess(MParList *pList);
|
|---|
| 35 | Int_t Process();
|
|---|
| 36 |
|
|---|
| 37 | public:
|
|---|
| 38 |
|
|---|
| 39 | MCalibrate(const char *name=NULL, const char *title=NULL);
|
|---|
| 40 |
|
|---|
| 41 | void SetConversionHiLo(Float_t conv) { fConversionHiLo = conv; }
|
|---|
| 42 |
|
|---|
| 43 | ClassDef(MCalibrate, 0) // Task to calculate cerenkov photons using calibration constants
|
|---|
| 44 | };
|
|---|
| 45 |
|
|---|
| 46 |
|
|---|
| 47 | #endif
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.