Line | |
---|
1 | #ifndef MARS_MControlPlots
|
---|
2 | #define MARS_MControlPlots
|
---|
3 |
|
---|
4 | #ifndef MARS_MTask
|
---|
5 | #include "MTask.h"
|
---|
6 | #endif
|
---|
7 |
|
---|
8 | class TString;
|
---|
9 | class MIslands;
|
---|
10 | class MImgIsland;
|
---|
11 | class MGeomCam;
|
---|
12 | class MHCamera;
|
---|
13 |
|
---|
14 | class MControlPlots : public MTask
|
---|
15 | {
|
---|
16 | public:
|
---|
17 | enum OnOffMode_t {kOn=0,kOff=1};
|
---|
18 |
|
---|
19 | private:
|
---|
20 | OnOffMode_t fMode; // On/Off data mode
|
---|
21 | TString fFileName; // name of the ps file
|
---|
22 | MGeomCam* fGeomCam; // pointer to camera geometry object
|
---|
23 | MIslands* fIslands; // pointer to the island object
|
---|
24 | MHCamera* fCameraHisto[2]; // pointer to camera histos
|
---|
25 | Bool_t fProduceFile; // flag to produce the ouput (ps) file
|
---|
26 |
|
---|
27 | Int_t PreProcess(MParList *plist);
|
---|
28 | Int_t Process();
|
---|
29 | Int_t PostProcess();
|
---|
30 |
|
---|
31 | public:
|
---|
32 | MControlPlots(TString filename="",const char* name=NULL, const char* title=NULL);
|
---|
33 |
|
---|
34 | virtual ~MControlPlots();
|
---|
35 |
|
---|
36 | void Reset() { Clear(); }
|
---|
37 | void Clear(const Option_t *o="");
|
---|
38 |
|
---|
39 | void SetFilename(TString fname) {fFileName=fname;}
|
---|
40 | void SetMode(OnOffMode_t mode) {fMode=mode;}
|
---|
41 | void SetProduceFile(Bool_t mod=kTRUE) {fProduceFile=mod;}
|
---|
42 |
|
---|
43 | ClassDef(MControlPlots, 0) // task to produce some control plots
|
---|
44 | };
|
---|
45 |
|
---|
46 | #endif
|
---|
47 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.