RAIDA  1.9.0
Public Member Functions | List of all members
AIDA::IMeasurementROOT Class Reference

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

#include <IMeasurementROOT.h>

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

Public Member Functions

virtual ~IMeasurementROOT ()
 Destructor.
 
 IMeasurementROOT ()
 Constructor.
 
 IMeasurementROOT (double value, double error)
 
 IMeasurementROOT (double value, double errorPlus, double errorMinus)
 
virtual double value () const
 Get the value of the IMeasurement. More...
 
virtual double errorPlus () const
 Get the plus error of the IMeasurement. More...
 
virtual double errorMinus () const
 Get the minus error of the IMeasurement. More...
 
virtual bool setValue (double value)
 Set the value of the IMeasurement. More...
 
virtual bool setErrorPlus (double errorPlus)
 Set the plus error of the IMeasurement. More...
 
virtual bool setErrorMinus (double errorMinus)
 Set the minus error of the IMeasurement. More...
 
virtual bool setErrorPlusMinus (double error)
 
virtual bool setErrorPlusMinus (double errorPlus, double errorMinus)
 
- Public Member Functions inherited from AIDA::IMeasurement
virtual ~IMeasurement ()
 Destructor.
 

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
T. Kraemer, DESY
Version
Id:
IMeasurementROOT.h,v 1.2 2006-12-04 17:24:06 tkraemer Exp

Member Function Documentation

double IMeasurementROOT::errorMinus ( ) const
virtual

Get the minus error of the IMeasurement.

Returns
The minus error.

Implements AIDA::IMeasurement.

double IMeasurementROOT::errorPlus ( ) const
virtual

Get the plus error of the IMeasurement.

Returns
The plus error.

Implements AIDA::IMeasurement.

bool IMeasurementROOT::setErrorMinus ( double  errorMinus)
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.

Implements AIDA::IMeasurement.

bool IMeasurementROOT::setErrorPlus ( double  errorPlus)
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.

Implements AIDA::IMeasurement.

bool IMeasurementROOT::setValue ( double  value)
virtual

Set the value of the IMeasurement.

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

Implements AIDA::IMeasurement.

double IMeasurementROOT::value ( ) const
virtual

Get the value of the IMeasurement.

Returns
The value of the IMeasurement.

Implements AIDA::IMeasurement.


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