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.
StatisticalPlot::~StatisticalPlot | ( | ) |
|
pure virtual |
|
pure virtual |
All the objects are written to rootfile.
Implemented in LEPBandPlot, and ExclusionBandPlot.
Referenced by dumpToImage().
|
inline |
Write an image on disk.
Definition at line 44 of file StatisticalPlot.h.
References draw(), dumpToFile(), m_canvas, and print().
|
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.
Referenced by dumpToImage().
|
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 HIPAlignmentAlgorithm_cfi::verbosity.
|
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().