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

Last change on this file since 4364 was 4364, checked in by rico, 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 MGeomCam;
11class MHCamera;
12
13class 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.