RAIDA  1.9.0
Public Member Functions | List of all members
AIDA::IMeasurement Class Referenceabstract

Basic user-level interface class for holding a single "measurement" with positive and negative errors (to allow for asymmetric errors). More...

#include <IMeasurement.h>

Inheritance diagram for AIDA::IMeasurement:
AIDA::IMeasurementROOT

Public Member Functions

virtual ~IMeasurement ()
 Destructor.
 
virtual double value () const =0
 Get the value of the IMeasurement. More...
 
virtual double errorPlus () const =0
 Get the plus error of the IMeasurement. More...
 
virtual double errorMinus () const =0
 Get the minus error of the IMeasurement. More...
 
virtual bool setValue (double value)=0
 Set the value of the IMeasurement. More...
 
virtual bool setErrorPlus (double errorPlus)=0
 Set the plus error of the IMeasurement. More...
 
virtual bool setErrorMinus (double errorMinus)=0
 Set the minus error of the IMeasurement. More...
 

Detailed Description

Basic user-level interface class for holding a single "measurement" with positive and negative errors (to allow for asymmetric errors).

"IMeasurement" = "value" + "errorPlus" - "errorMinus"

Author
The AIDA team (http://aida.freehep.org/)

Member Function Documentation

virtual double AIDA::IMeasurement::errorMinus ( ) const
pure virtual

Get the minus error of the IMeasurement.

Returns
The minus error.

Implemented in AIDA::IMeasurementROOT.

virtual double AIDA::IMeasurement::errorPlus ( ) const
pure virtual

Get the plus error of the IMeasurement.

Returns
The plus error.

Implemented in AIDA::IMeasurementROOT.

virtual bool AIDA::IMeasurement::setErrorMinus ( double  errorMinus)
pure virtual

Set the minus error of the IMeasurement.

Parameters
valueThe new minus error of the IMeasurement.
Returns
false If the error cannot be set or it is negative.

Implemented in AIDA::IMeasurementROOT.

virtual bool AIDA::IMeasurement::setErrorPlus ( double  errorPlus)
pure virtual

Set the plus error of the IMeasurement.

Parameters
valueThe new plus error of the IMeasurement.
Returns
false If the error cannot be set or it is negative.

Implemented in AIDA::IMeasurementROOT.

virtual bool AIDA::IMeasurement::setValue ( double  value)
pure virtual

Set the value of the IMeasurement.

Parameters
valueThe new value of the IMeasurement.
Returns
false If the value cannot be set.

Implemented in AIDA::IMeasurementROOT.

virtual double AIDA::IMeasurement::value ( ) const
pure virtual

Get the value of the IMeasurement.

Returns
The value of the IMeasurement.

Implemented in AIDA::IMeasurementROOT.


The documentation for this class was generated from the following file: