thepeg is hosted by Hepforge, IPPP Durham
ThePEG  2.2.1
AIMeasurement.h
1 // -*- C++ -*-
2 //
3 // AIMeasurement.h is a part of ThePEG - Toolkit for HEP Event Generation
4 // Copyright (C) 1999-2019 Leif Lonnblad
5 //
6 // ThePEG is licenced under version 3 of the GPL, see COPYING for details.
7 // Please respect the MCnet academic guidelines, see GUIDELINES for details.
8 //
9 #ifndef LWH_AIMeasurement_H
10 #define LWH_AIMeasurement_H
11 
12 
13 
16 namespace AIDA {
17 
18 class IMeasurement {
19 
20 public:
21  virtual ~IMeasurement() {}
22  virtual double value() const = 0;
23  virtual double errorPlus() const = 0;
24  virtual double errorMinus() const = 0;
25  virtual bool setValue(double value) = 0;
26  virtual bool setErrorPlus(double errorPlus) = 0;
27  virtual bool setErrorMinus(double errorMinus) = 0;
28 };
29 
30 }
31 
38 #endif /* LWH_AIMeasurement_H */