![]() |
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 *htest=0, T *href=0, const std::string &s="", TGraphAsymmErrors *tgtest=0, TGraphAsymmErrors *tgref=0) | |
tPlotter (const tPlotter &p) | |
~tPlotter () | |
sadly, root manages all the histograms (does it really? who can tell) so we mustn't delete anything just in case More... | |
const std::string & | plotfilename () const |
void | trim_errors (bool b) |
bool | trim_errors () const |
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 More... | |
T * | htest () |
T * | href () |
TGraphAsymmErrors * | tgtest () |
TGraphAsymmErrors * | tgref () |
void | max_entries (int i) |
Static Public Member Functions | |
static void | setplotref (bool b) |
static void | setmeanplotref (bool b) |
Private Attributes | |
T * | m_htest |
actual histograms More... | |
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 |
Static Private Attributes | |
static bool | s_plotref = true |
use non c++17 format for improved external compatability More... | |
static bool | s_meanplotref = true |
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 458 of file computils.h.
|
inline |
Definition at line 462 of file computils.h.
Definition at line 473 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 489 of file computils.h.
|
inline |
|
inline |
|
inline |
Definition at line 850 of file computils.h.
|
inline |
Definition at line 849 of file computils.h.
|
inline |
Definition at line 857 of file computils.h.
Definition at line 491 of file computils.h.
print the output
Definition at line 844 of file computils.h.
|
inlinestatic |
Definition at line 862 of file computils.h.
|
inlinestatic |
Definition at line 861 of file computils.h.
|
inline |
Definition at line 854 of file computils.h.
|
inline |
Definition at line 853 of file computils.h.
|
inline |
Definition at line 495 of file computils.h.
|
inline |
Definition at line 493 of file computils.h.
|
private |
Definition at line 879 of file computils.h.
|
private |
Definition at line 868 of file computils.h.
|
private |
actual histograms
Definition at line 867 of file computils.h.
|
private |
Definition at line 878 of file computils.h.
|
private |
Definition at line 873 of file computils.h.
|
private |
Definition at line 871 of file computils.h.
|
private |
Definition at line 870 of file computils.h.
|
private |
Definition at line 881 of file computils.h.
|
staticprivate |
Definition at line 876 of file computils.h.
|
staticprivate |
use non c++17 format for improved external compatability
Definition at line 875 of file computils.h.