RestFrames
v1.0.1
RestFrames HEP Event Analysis Software Library
|
Go to the documentation of this file.
39 namespace RestFrames {
48 RFPlot(
const std::string& sname,
const std::string& stitle);
59 static const TColor rf_blue0;
60 static const TColor rf_blue1;
61 static const TColor rf_blue2;
62 static const TColor rf_blue3;
63 static const TColor rf_blue4;
64 static const TColor rf_green0;
65 static const TColor rf_green1;
66 static const TColor rf_green2;
67 static const TColor rf_green3;
68 static const TColor rf_green4;
69 static const TColor rf_red0;
70 static const TColor rf_red1;
71 static const TColor rf_red2;
72 static const TColor rf_red3;
73 static const TColor rf_red4;
74 static const TColor rf_yellow0;
75 static const TColor rf_yellow1;
76 static const TColor rf_yellow2;
77 static const TColor rf_yellow3;
78 static const TColor rf_yellow4;
79 static const TColor rf_cyan0;
80 static const TColor rf_cyan1;
81 static const TColor rf_cyan2;
82 static const TColor rf_cyan3;
83 static const TColor rf_cyan4;
84 static const TColor rf_lime0;
85 static const TColor rf_lime1;
86 static const TColor rf_lime2;
87 static const TColor rf_lime3;
88 static const TColor rf_lime4;
89 static const TColor rf_purple0;
90 static const TColor rf_purple1;
91 static const TColor rf_purple2;
92 static const TColor rf_purple3;
93 static const TColor rf_purple4;
94 static const TColor rf_orange0;
95 static const TColor rf_orange1;
96 static const TColor rf_orange2;
97 static const TColor rf_orange3;
98 static const TColor rf_orange4;
104 friend void SetStyle(
bool invert_colors);
113 TCanvas* m_CanvasPtr;
114 void AddCanvas(TCanvas* can);
115 void AddTObject(TObject* obj);
117 std::string GetUniqueName(
const std::string& name);
120 std::vector<TObject*> m_TObjects;
121 std::vector<TCanvas*> m_Canvases;
123 static const int rf_NZPalette;
124 static int rf_ZPalette;
125 static int rf_iZPalette;
126 static const double rf_zcolor_s[5];
127 static const double rf_zcolor_r[5];
128 static const double rf_zcolor_g[5];
129 static const double rf_zcolor_b[5];
130 static const double rf_zcolor_is[5];
131 static const double rf_zcolor_ir[5];
132 static const double rf_zcolor_ig[5];
133 static const double rf_zcolor_ib[5];
138 void SetStyle(
bool invert_colors);
virtual void Clear()
Clears RFPlot from all connections to other objects.
Base class for all RestFrame package objects.
void WriteOutput(const std::string &filename)
Stores all plots in root file.
RFPlot(const std::string &sname, const std::string &stitle)
Standard constructor.
void SetZPalette(bool invert_colors=false)
Abstract base class for all plotting objects.
friend void SetZPalette(bool invert_colors)
friend void SetStyle(bool invert_colors)
Sets "RestFrames" style for plots.