![]() |
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 456 of file computils.h.
|
inline |
Definition at line 460 of file computils.h.
Definition at line 471 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 487 of file computils.h.
|
inline |
|
inline |
|
inline |
Definition at line 848 of file computils.h.
|
inline |
Definition at line 847 of file computils.h.
|
inline |
Definition at line 855 of file computils.h.
Definition at line 489 of file computils.h.
print the output
Definition at line 842 of file computils.h.
|
inlinestatic |
Definition at line 860 of file computils.h.
|
inlinestatic |
Definition at line 859 of file computils.h.
|
inline |
Definition at line 852 of file computils.h.
|
inline |
Definition at line 851 of file computils.h.
|
inline |
Definition at line 493 of file computils.h.
|
inline |
Definition at line 491 of file computils.h.
|
private |
Definition at line 877 of file computils.h.
|
private |
Definition at line 866 of file computils.h.
|
private |
actual histograms
Definition at line 865 of file computils.h.
|
private |
Definition at line 876 of file computils.h.
|
private |
Definition at line 871 of file computils.h.
|
private |
Definition at line 869 of file computils.h.
|
private |
Definition at line 868 of file computils.h.
|
private |
Definition at line 879 of file computils.h.
|
staticprivate |
Definition at line 874 of file computils.h.
|
staticprivate |
use non c++17 format for improved external compatability
Definition at line 873 of file computils.h.