Line | |
---|
1 | #ifndef MARS_MJCalibrateSignal
|
---|
2 | #define MARS_MJCalibrateSignal
|
---|
3 |
|
---|
4 | #ifndef MARS_MJob
|
---|
5 | #include "MJob.h"
|
---|
6 | #endif
|
---|
7 |
|
---|
8 | #ifndef MARS_MJCalib
|
---|
9 | #include "MJCalib.h"
|
---|
10 | #endif
|
---|
11 |
|
---|
12 | class TEnv;
|
---|
13 | class TList;
|
---|
14 | class MTask;
|
---|
15 | class MParList;
|
---|
16 | class MGeomCam;
|
---|
17 | class MSequence;
|
---|
18 | class MExtractor;
|
---|
19 | class MPedestalCam;
|
---|
20 | class MBadPixelsCam;
|
---|
21 |
|
---|
22 | class MJCalibrateSignal : public MJob, public MJCalib
|
---|
23 | {
|
---|
24 | private:
|
---|
25 |
|
---|
26 | Bool_t fIsInterlaced; // Distinguish interlaced from other calibration
|
---|
27 | Bool_t fIsRelTimesUpdate; // Choose to update relative times from interlaced
|
---|
28 | Bool_t fIsHiLoCalibration; // Choose to calibrate the high-gain vs. low-gains
|
---|
29 |
|
---|
30 | Bool_t CheckEnvLocal();
|
---|
31 |
|
---|
32 | void DisplayResult(MParList &plist);
|
---|
33 |
|
---|
34 | Bool_t WriteResult(TObjArray &cont);
|
---|
35 | Bool_t ReadCalibration(TObjArray &o, MBadPixelsCam &bpix,
|
---|
36 | MExtractor* &ext1, MExtractor* &ext2, TString &geom) const;
|
---|
37 |
|
---|
38 | public:
|
---|
39 |
|
---|
40 | MJCalibrateSignal(const char *name=NULL, const char *title=NULL);
|
---|
41 |
|
---|
42 | Bool_t ProcessFile(MPedestalCam &camab, MPedestalCam &cam1, MPedestalCam &cam2);
|
---|
43 |
|
---|
44 | void SetInterlaced ( const Bool_t b=kTRUE ) { fIsInterlaced = b; }
|
---|
45 | void SetRelTimesUpdate ( const Bool_t b=kTRUE ) { fIsRelTimesUpdate = b; }
|
---|
46 | void SetHiLoCalibration( const Bool_t b=kTRUE ) { fIsHiLoCalibration = b; }
|
---|
47 |
|
---|
48 | ClassDef(MJCalibrateSignal, 0) // Tool to create a pedestal file (MPedestalCam)
|
---|
49 | };
|
---|
50 |
|
---|
51 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.