RAIDA  1.9.0
IMeasurement.h
1 // -*- C++ -*-
2 // AID-GENERATED
3 // =========================================================================
4 // This class was generated by AID - Abstract Interface Definition
5 // DO NOT MODIFY, but use the org.freehep.aid.Aid utility to regenerate it.
6 // =========================================================================
7 #ifndef AIDA_IMEASUREMENT_H
8 #define AIDA_IMEASUREMENT_H 1
9 
10 // This file is part of the AIDA library
11 // Copyright (C) 2002 by the AIDA team. All rights reserved.
12 // This library is free software and under the terms of the
13 // GNU Library General Public License described in the LGPL.txt
14 
15 namespace AIDA {
16 
26 class IMeasurement {
27 
28 public:
30  virtual ~IMeasurement() { /* nop */; }
31 
37  virtual double value() const = 0;
38 
44  virtual double errorPlus() const = 0;
45 
51  virtual double errorMinus() const = 0;
52 
59  virtual bool setValue(double value) = 0;
60 
67  virtual bool setErrorPlus(double errorPlus) = 0;
68 
75  virtual bool setErrorMinus(double errorMinus) = 0;
76 }; // class
77 } // namespace AIDA
78 #endif /* ifndef AIDA_IMEASUREMENT_H */
virtual bool setErrorPlus(double errorPlus)=0
Set the plus error of the IMeasurement.
virtual bool setValue(double value)=0
Set the value of the IMeasurement.
virtual bool setErrorMinus(double errorMinus)=0
Set the minus error of the IMeasurement.
virtual double errorMinus() const =0
Get the minus error of the IMeasurement.
virtual double value() const =0
Get the value of the IMeasurement.
virtual double errorPlus() const =0
Get the plus error of the IMeasurement.
Basic user-level interface class for holding a single "measurement" with positive and negative errors...
Definition: IMeasurement.h:26
virtual ~IMeasurement()
Destructor.
Definition: IMeasurement.h:30