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. | |
virtual void | dumpToFile (const char *RootFileName, const char *options="")=0 |
All the objects are written to rootfile. | |
void | dumpToImage (const char *filename) |
Write an image on disk. | |
TCanvas * | getCanvas () |
Get the canvas. | |
bool | is_verbose () |
get the verbosity | |
virtual void | print (const char *options="")=0 |
Print the relevant information. | |
void | setCanvas (TCanvas *new_canvas) |
Set the canvas. | |
void | setVerbosity (bool verbosity) |
Set the verbosity. | |
StatisticalPlot (const char *name, const char *title, bool verbosity=true) | |
Constructor. | |
~StatisticalPlot () | |
Destructor. | |
Private Attributes | |
TCanvas * | m_canvas |
Canvas. | |
bool | m_verbose |
Verbosity flag. |
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 | ( | ) |
virtual void StatisticalPlot::draw | ( | const char * | options = "" | ) | [pure virtual] |
Draw on canvas.
Implemented in ExclusionBandPlot, and LEPBandPlot.
virtual void StatisticalPlot::dumpToFile | ( | const char * | RootFileName, |
const char * | options = "" |
||
) | [pure virtual] |
All the objects are written to rootfile.
Implemented in ExclusionBandPlot, and LEPBandPlot.
void StatisticalPlot::dumpToImage | ( | const char * | filename | ) | [inline] |
TCanvas* StatisticalPlot::getCanvas | ( | ) | [inline] |
Get the canvas.
Definition at line 38 of file StatisticalPlot.h.
References m_canvas.
Referenced by ExclusionBandPlot::draw(), and LEPBandPlot::draw().
{return m_canvas;}
bool StatisticalPlot::is_verbose | ( | ) |
get the verbosity
Definition at line 35 of file StatisticalPlot.cc.
References m_verbose.
{ return m_verbose; }
virtual void StatisticalPlot::print | ( | const char * | options = "" | ) | [pure virtual] |
Print the relevant information.
Implemented in ExclusionBandPlot, and LEPBandPlot.
void StatisticalPlot::setCanvas | ( | TCanvas * | new_canvas | ) | [inline] |
Set the canvas.
Definition at line 41 of file StatisticalPlot.h.
References m_canvas.
Referenced by ExclusionBandPlot::draw(), and LEPBandPlot::draw().
{m_canvas=new_canvas;}
void StatisticalPlot::setVerbosity | ( | bool | verbosity | ) |
TCanvas* StatisticalPlot::m_canvas [private] |
Canvas.
Definition at line 61 of file StatisticalPlot.h.
Referenced by dumpToImage(), getCanvas(), and setCanvas().
bool StatisticalPlot::m_verbose [private] |
Verbosity flag.
Definition at line 58 of file StatisticalPlot.h.
Referenced by is_verbose(), and setVerbosity().