Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ZdcMonDraw.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file ZdcMonDraw.h
1 #ifndef ZDC_ZDCMONDRAW_H
2 #define ZDC_ZDCMONDRAW_H
3 
4 #include <onlmon/OnlMonDraw.h>
5 
6 #include <string> // for allocator, string
7 
8 class OnlMonDB;
9 class TCanvas;
10 class TGraphErrors;
11 class TPad;
12 
13 class ZdcMonDraw : public OnlMonDraw
14 {
15  public:
16  ZdcMonDraw(const std::string &name);
17 
18  ~ZdcMonDraw() override {}
19 
20  int Init() override;
21  int Draw(const std::string &what = "ALL") override;
22  int MakeHtml(const std::string &what = "ALL") override;
23  int SavePlot(const std::string &what = "ALL", const std::string &type = "png") override;
24 
25  protected:
26  int MakeCanvas(const std::string &name);
27  int DrawFirst(const std::string &what = "ALL");
28  int DrawSecond(const std::string &what = "ALL");
29  TCanvas *TC[2] = {nullptr};
30  TPad *transparent[2] = {nullptr};
31  TPad *Pad[4] = {nullptr};
32 };
33 
34 #endif /* ZDC_ZDCMONDRAW_H */