9 #ifndef LWH_Measurement_H 10 #define LWH_Measurement_H 19 #include "AIMeasurement.h" 38 : val(v), errp(ep), errm(em) {}
44 :IMeasurement(m), val(m.val), errp(m.errp), errm(m.errm) {}
Basic user-level interface class for holding a single "measurement" with positive and negative errors...
virtual ~Measurement()
Destructor.
double value() const
Get the value of the Measurement.
Measurement(double v=0.0, double ep=0.0, double em=0.0)
Standard constructor.
double errp
The plus error.
bool setValue(double v)
Set the value of the IMeasurement.
bool setErrorPlus(double ep)
Set the plus error of the IMeasurement.
double errorPlus() const
Get the plus error of the IMeasurement.
double errorMinus() const
Get the minus error of the IMeasurement.
double errm
The minus error.
Measurement(const Measurement &m)
Copy constructor.
bool setErrorMinus(double em)
Set the minus error of the IMeasurement.
The LWH namespace contains a Light-Weight Histogram package which implements the most rudimentary his...