![]() |
ATLAS Offline Software
|
generic plotter class - better to have one of these - make sure it can be configured however you like, line styles, marker types, legends etc now a template so can be used for TH1D and TH2D etc More...
#include <computils.h>
Public Member Functions | |
| tPlotter (T *fo_htest=0, T *fo_href=0, const std::string &s="", TGraphAsymmErrors *fo_tgtest=0, TGraphAsymmErrors *fo_tgref=0) | |
| tPlotter (const tPlotter &p) | |
| ~tPlotter () | |
| sadly, root manages all the histograms (does it really? | |
| void | xlo (double x) |
| void | xhi (double x) |
| double | xlo () const |
| double | xhi () const |
| const std::string & | plotfilename () const |
| void | trim_errors (bool b) |
| bool | trim_errors () const |
| void | SetRange (double lo, double hi) |
| void | Draw (int i, Legend *lleg, bool mean=false, bool first=true, bool drawlegend=false) |
| void | DrawLegend (int i, Legend &leg, bool mean=false, bool first=true, bool drawlegend=false) |
| void | Print (const std::string &s="") |
| print the output | |
| T * | htest () |
| T * | href () |
| bool | mc (bool b) |
| bool | mc () const |
| TGraphAsymmErrors * | tgtest () |
| TGraphAsymmErrors * | tgref () |
| void | max_entries (int i) |
| void | xaxis (const AxisInfo *a) |
| void | yaxis (const AxisInfo *a) |
| const AxisInfo * | xaxis () const |
| const AxisInfo * | yaxis () const |
Static Public Member Functions | |
| static void | setplotref (bool b) |
| static void | setmeanplotref (bool b) |
Private Attributes | |
| T * | m_htest |
| actual histograms | |
| T * | m_href |
| TGraphAsymmErrors * | m_tgtest |
| TGraphAsymmErrors * | m_tgref |
| std::string | m_plotfilename |
| size_t | m_max_entries |
| size_t | m_entries |
| bool | m_trim_errors |
| bool | m_mc |
| double | m_lo |
| double | m_hi |
| double | m_xlo |
| double | m_xhi |
| const AxisInfo * | m_xaxis |
| const AxisInfo * | m_yaxis |
Static Private Attributes | |
| static bool | s_plotref |
| static bool | s_meanplotref |
generic plotter class - better to have one of these - make sure it can be configured however you like, line styles, marker types, legends etc now a template so can be used for TH1D and TH2D etc
Definition at line 473 of file computils.h.
|
inline |
Definition at line 477 of file computils.h.
Definition at line 491 of file computils.h.
sadly, root manages all the histograms (does it really?
who can tell) so we mustn't delete anything just in case NO, NO, NO, don't delete the objects, root need them because it is TOO STUPID to allow objects to be used as actual objects
Definition at line 509 of file computils.h.
|
inline |
this is a hack, and should be removed
filled ...
this is also a hack and needs to be removed ...
not quite yet ...
Definition at line 526 of file computils.h.
|
inline |
Definition at line 937 of file computils.h.
|
inline |
Definition at line 1118 of file computils.h.
|
inline |
Definition at line 1117 of file computils.h.
|
inline |
Definition at line 1127 of file computils.h.
|
inline |
Definition at line 1122 of file computils.h.
|
inline |
Definition at line 1120 of file computils.h.
Definition at line 518 of file computils.h.
|
inlinestatic |
Definition at line 1132 of file computils.h.
|
inlinestatic |
Definition at line 1131 of file computils.h.
|
inline |
|
inline |
Definition at line 1125 of file computils.h.
|
inline |
Definition at line 1124 of file computils.h.
|
inline |
Definition at line 522 of file computils.h.
|
inline |
Definition at line 520 of file computils.h.
Definition at line 1137 of file computils.h.
Definition at line 1134 of file computils.h.
|
inline |
Definition at line 516 of file computils.h.
|
inline |
Definition at line 513 of file computils.h.
|
inline |
Definition at line 515 of file computils.h.
|
inline |
Definition at line 512 of file computils.h.
Definition at line 1138 of file computils.h.
Definition at line 1135 of file computils.h.
|
private |
Definition at line 1155 of file computils.h.
|
private |
Definition at line 1162 of file computils.h.
|
private |
Definition at line 1144 of file computils.h.
|
private |
actual histograms
Definition at line 1143 of file computils.h.
|
private |
Definition at line 1161 of file computils.h.
|
private |
Definition at line 1154 of file computils.h.
|
private |
Definition at line 1159 of file computils.h.
|
private |
Definition at line 1149 of file computils.h.
|
private |
Definition at line 1147 of file computils.h.
|
private |
Definition at line 1146 of file computils.h.
|
private |
Definition at line 1157 of file computils.h.
Definition at line 1167 of file computils.h.
|
private |
Definition at line 1165 of file computils.h.
|
private |
Definition at line 1164 of file computils.h.
Definition at line 1168 of file computils.h.
|
staticprivate |
Definition at line 1152 of file computils.h.
|
staticprivate |
Definition at line 1151 of file computils.h.