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

Last change on this file since 5170 was 5170, checked in by aliu, 20 years ago
*** empty log message ***
File size: 1.1 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};
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 SetFilename(TString fname) {fFileName=fname;}
37 void SetMode(OnOffMode_t mode) {fMode=mode;}
38 void SetProduceFile(Bool_t mod=kTRUE) {fProduceFile=mod;}
39
40 ClassDef(MControlPlots, 0) // task to produce some control plots
41};
42
43#endif
44
Note: See TracBrowser for help on using the repository browser.