Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
OnlMonDraw.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file OnlMonDraw.h
1 #ifndef ONLMONCLIENT_ONLMONDRAW_H
2 #define ONLMONCLIENT_ONLMONDRAW_H
3 
4 #include <string>
5 
6 class TPad;
7 
8 class OnlMonDraw
9 {
10  public:
11  OnlMonDraw(const std::string &name = "NONE");
12  virtual ~OnlMonDraw() {}
13 
14  virtual int Init() { return 0; }
15  virtual int Draw(const std::string &what = "ALL");
16  virtual int SavePlot(const std::string &what = "ALL", const std::string &type = "png");
17  virtual int MakePS(const std::string &what = "ALL");
18  virtual int MakeHtml(const std::string &what = "ALL");
19  const std::string Name() const { return ThisName; }
20  void Verbosity(const int i) { verbosity = i; }
21  int Verbosity() const { return verbosity; }
22 
23  protected:
24  virtual int DrawDeadServer(TPad *transparent);
26  int verbosity = 0;
27 };
28 
29 #endif /* ONLMONCLIENT_ONLMONDRAW_H */