Last change
on this file since 19690 was 14894, checked in by tbretz, 12 years ago |
New class to do the basic FACT calibration (to be improved/extended)
|
File size:
906 bytes
|
Line | |
---|
1 | #ifndef MARS_MCalibrateFact
|
---|
2 | #define MARS_MCalibrateFact
|
---|
3 |
|
---|
4 | #ifndef MARS_MTask
|
---|
5 | #include "MTask.h"
|
---|
6 | #endif
|
---|
7 |
|
---|
8 | #ifndef MARS_MArrayD
|
---|
9 | #include "MArrayD.h"
|
---|
10 | #endif
|
---|
11 |
|
---|
12 | class MSignalCam;
|
---|
13 | class MBadPixelsCam;
|
---|
14 | class MExtractedSignalCam;
|
---|
15 |
|
---|
16 | class MCalibrateFact : public MTask
|
---|
17 | {
|
---|
18 | private:
|
---|
19 | MExtractedSignalCam *fIn;
|
---|
20 | MSignalCam *fOut;
|
---|
21 |
|
---|
22 | MBadPixelsCam *fBadPixels;
|
---|
23 |
|
---|
24 | TString fNameExtractedSignalCam;
|
---|
25 | TString fNameSignalCam;
|
---|
26 |
|
---|
27 | MArrayD fCalibConst;
|
---|
28 |
|
---|
29 | Double_t fScale;
|
---|
30 |
|
---|
31 | // MTask
|
---|
32 | Int_t PreProcess(MParList *list);
|
---|
33 | Bool_t ReInit(MParList *list);
|
---|
34 | Int_t Process();
|
---|
35 | //Int_t PostProcess();
|
---|
36 |
|
---|
37 | public:
|
---|
38 | MCalibrateFact(const char *name=NULL, const char *title=NULL);
|
---|
39 | ~MCalibrateFact();
|
---|
40 |
|
---|
41 | // MCalibrateFact
|
---|
42 | void SetCalibConst(const MArrayD &arr) { fCalibConst=arr; }
|
---|
43 | void SetScale(const Double_t &val) { fScale=val; }
|
---|
44 |
|
---|
45 | ClassDef(MCalibrateFact, 0) //
|
---|
46 | };
|
---|
47 |
|
---|
48 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.