source: trunk/MagicSoft/Mars/mcalib/MCalibrate.h@ 2792

Last change on this file since 2792 was 2734, checked in by tbretz, 21 years ago
*** empty log message ***
File size: 1.4 KB
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
20class MGeomCam;
21class MCalibrationCam;
22class MExtractedSignalCam;
23class MCerPhotEvt;
24
25class MCalibrate : public MTask
26{
27private:
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
37public:
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.