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 | class MRunIter;
|
---|
18 |
|
---|
19 | class MJCalibrateSignal : public MJCalib
|
---|
20 | {
|
---|
21 | private:
|
---|
22 | MExtractor *fExtractor;
|
---|
23 |
|
---|
24 | Bool_t fIsInterlaced; // Distinguish interlaced from other calibration
|
---|
25 | Bool_t fIsRelTimesUpdate; // Choose to update relative times from interlaced
|
---|
26 | Bool_t fIsMovieMode; // Choose to encode a movie
|
---|
27 | Bool_t fIsTestMode; // Testmode to calibrate the cal run
|
---|
28 |
|
---|
29 | Bool_t CheckEnvLocal();
|
---|
30 |
|
---|
31 | void DisplayResult(MParList &plist);
|
---|
32 |
|
---|
33 | Bool_t WriteResult() const;
|
---|
34 | Bool_t ReadCalibration(TObjArray &o, MBadPixelsCam &bpix,
|
---|
35 | MExtractor* &ext1, MExtractor* &ext2, TString &geom) const;
|
---|
36 | Bool_t ReadExtractorCosmics(MExtractor* &ext1) const;
|
---|
37 |
|
---|
38 | const char* GetInputFile() const;
|
---|
39 |
|
---|
40 | public:
|
---|
41 | MJCalibrateSignal(const char *name=NULL, const char *title=NULL);
|
---|
42 | ~MJCalibrateSignal();
|
---|
43 |
|
---|
44 | Bool_t Process(MPedestalCam &camab, MPedestalCam &cam1, MPedestalCam &cam2);
|
---|
45 |
|
---|
46 | void SetInterlaced (const Bool_t b=kTRUE) { fIsInterlaced = b; }
|
---|
47 | void SetRelTimesUpdate(const Bool_t b=kTRUE) { fIsRelTimesUpdate = b; }
|
---|
48 | void SetMovieMode (const Bool_t b=kTRUE) { fIsMovieMode = b; }
|
---|
49 | void SetTestMode (const Bool_t b=kTRUE) { fIsTestMode = b; }
|
---|
50 |
|
---|
51 | void SetExtractor(const MExtractor *ext=NULL);
|
---|
52 |
|
---|
53 | ClassDef(MJCalibrateSignal, 0) // Tool to create a pedestal file (MPedestalCam)
|
---|
54 | };
|
---|
55 |
|
---|
56 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.