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