File indexing completed on 2026-04-04 08:16:14
0001 #ifndef SEPD_SEPDMONDRAW_H
0002 #define SEPD_SEPDMONDRAW_H
0003
0004 #include <onlmon/OnlMonDraw.h>
0005
0006 #include <TH2.h>
0007 #include <TProfile.h>
0008 #include <TStyle.h>
0009
0010 #include <string> // for allocator, string
0011
0012 class TCanvas;
0013 class TGraphErrors;
0014 class TPad;
0015 class TProfile;
0016
0017 class SepdMonDraw : public OnlMonDraw
0018 {
0019 public:
0020 SepdMonDraw(const std::string &name);
0021
0022 ~SepdMonDraw() override {}
0023
0024 int Init() override;
0025 int Draw(const std::string &what = "ALL") override;
0026 int MakeHtml(const std::string &what = "ALL") override;
0027 int SavePlot(const std::string &what = "ALL", const std::string &type = "png") override;
0028
0029 protected:
0030 int MakeCanvas(const std::string &name);
0031 int DrawFirst(const std::string &what = "ALL");
0032 int DrawSecond(const std::string &what = "ALL");
0033 int DrawThird_Expert(const std::string &what = "ALL");
0034 int DrawThird(const std::string &what = "ALL");
0035 int DrawFourth(const std::string &what = "ALL");
0036 int DrawFifth(const std::string &what = "ALL");
0037 int DrawSixth(const std::string &what = "ALL");
0038 int DrawSeventh(const std::string & = "ALL");
0039 int DrawServerStats();
0040 int returnSector(int ch);
0041 int returnTile(int ch);
0042 int returnArm(int ch);
0043 int returnRing(int ch);
0044 const int nPacketStatus{6};
0045
0046 TCanvas* TC[9] {nullptr};
0047 TPad* transparent[9] {nullptr};
0048 TPad* Pad[18] {nullptr};
0049 TPad* adc_dist_pad[32] {nullptr};
0050 TPad* warning[18] {nullptr};
0051 TGraphErrors *gr[2] {nullptr};
0052 };
0053
0054 #endif