StatisticalPlot: the base class for the statistical plots. More...
#include <StatisticalPlot.h>
Public Member Functions | |
virtual void | draw (const char *options="")=0 |
Draw on canvas. More... | |
virtual void | dumpToFile (const char *RootFileName, const char *options="")=0 |
All the objects are written to rootfile. More... | |
void | dumpToImage (const char *filename) |
Write an image on disk. More... | |
TCanvas * | getCanvas () |
Get the canvas. More... | |
bool | is_verbose () |
get the verbosity More... | |
virtual void | print (const char *options="")=0 |
Print the relevant information. More... | |
void | setCanvas (TCanvas *new_canvas) |
Set the canvas. More... | |
void | setVerbosity (bool verbosity) |
Set the verbosity. More... | |
StatisticalPlot (const char *name, const char *title, bool verbosity=true) | |
Constructor. More... | |
~StatisticalPlot () | |
Destructor. More... | |
Private Attributes | |
TCanvas * | m_canvas |
Canvas. More... | |
bool | m_verbose |
Verbosity flag. More... | |
StatisticalPlot: the base class for the statistical plots.
This class provides the base for all the statistical Plots.
Definition at line 21 of file StatisticalPlot.h.
StatisticalPlot::StatisticalPlot | ( | const char * | name, |
const char * | title, | ||
bool | verbosity = true |
||
) |
Constructor.
Definition at line 17 of file StatisticalPlot.cc.
References setVerbosity().
StatisticalPlot::~StatisticalPlot | ( | ) |
|
pure virtual |
Draw on canvas.
Implemented in LEPBandPlot, and ExclusionBandPlot.
|
pure virtual |
All the objects are written to rootfile.
Implemented in LEPBandPlot, and ExclusionBandPlot.
|
inline |
|
inline |
Get the canvas.
Definition at line 38 of file StatisticalPlot.h.
References m_canvas.
Referenced by ExclusionBandPlot::draw(), and LEPBandPlot::draw().
bool StatisticalPlot::is_verbose | ( | ) |
|
pure virtual |
Print the relevant information.
Implemented in LEPBandPlot, and ExclusionBandPlot.
|
inline |
Set the canvas.
Definition at line 41 of file StatisticalPlot.h.
References m_canvas.
Referenced by ExclusionBandPlot::draw(), and LEPBandPlot::draw().
void StatisticalPlot::setVerbosity | ( | bool | verbosity | ) |
Set the verbosity.
Definition at line 28 of file StatisticalPlot.cc.
References m_verbose, and HLT_25ns10e33_v2_cff::verbosity.
Referenced by StatisticalPlot().
|
private |
Canvas.
Definition at line 61 of file StatisticalPlot.h.
Referenced by dumpToImage(), getCanvas(), and setCanvas().
|
private |
Verbosity flag.
Definition at line 58 of file StatisticalPlot.h.
Referenced by is_verbose(), and setVerbosity().