source: trunk/Mars/mtemp/mifae/library/MControlPlots.h@ 13444

Last change on this file since 13444 was 5879, checked in by rico, 20 years ago
*** empty log message ***
File size: 1.2 KB
Line 
1#ifndef MARS_MControlPlots
2#define MARS_MControlPlots
3
4#ifndef MARS_MTask
5#include "MTask.h"
6#endif
7
8class TString;
9class MIslands;
10class MImgIsland;
11class MGeomCam;
12class MHCamera;
13
14class 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.