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