RestFrames
v1.0.1
RestFrames HEP Event Analysis Software Library
|
Go to the documentation of this file.
30 #ifndef HistPlotVar_HH
31 #define HistPlotVar_HH
35 namespace RestFrames {
52 const std::string& title,
53 double minval,
double maxval,
54 const std::string& unit);
94 operator double()
const;
123 static int m_class_key;
128 mutable double m_Val;
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 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.