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