RestFrames
v1.0.1
RestFrames HEP Event Analysis Software Library
|
Go to the documentation of this file.
32 namespace RestFrames {
34 int HistPlotVar::m_class_key = 0;
42 const std::string& title,
43 double minval,
double maxval,
44 const std::string& unit =
"")
46 m_Min(minval), m_Max(maxval), m_Unit(unit), m_Val(0.)
51 HistPlotVar::~HistPlotVar() {}
54 return HistPlotVar::m_Empty;
77 HistPlotVar::operator double()
const {
void operator*=(double val) const
Operator to multiply val to this object's value.
double GetVal() const
Returns this object's value.
double GetMin() const
Returns minimum value of histogram.
Base class for all RestFrame package objects.
void operator-=(double val) const
Operator to substract val from this object's value.
static HistPlotVar & Empty()
Returns empty HistPlotVar.
HistPlotVar()
Empty constructor.
std::string GetName() const
Returns object name.
void SetSource(const std::string &source)
Sets name of instance that is associated with.
std::string GetUnit() const
Returns unit of x-axis.
void operator/=(double val) const
Operator to divide val from object's value.
void operator+=(double val) const
Operator to add val to this object's value.
double GetMax() const
Returns maximum value of histogram.
void operator=(double val) const
Tests whether val is the same as this object's value.