|
Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
|
Container for a computed observable value, optionally binned. More...
#include <ObservableValue.h>

Public Member Functions | |
| ObservableValue (ObservableId id, double value) | |
| Construct an unbinned observable value. | |
| ObservableValue (ObservableId id, double value, std::pair< double, double > bin) | |
| Construct a binned observable value. | |
Public Attributes | |
| ObservableId | id |
| Identifier of the observable. | |
| double | value |
| Central numerical value of the observable. | |
| std::optional< std::pair< double, double > > | bin |
| Optional bin definition (lower, upper). | |
Container for a computed observable value, optionally binned.
This structure represents the numerical result of an observable computation. It stores:
It is designed to be lightweight and trivially copyable, suitable for:
Typical usage:
Definition at line 38 of file ObservableValue.h.
|
inline |
Construct an unbinned observable value.
| id | Observable identifier. |
| value | Central value. |
Definition at line 53 of file ObservableValue.h.
|
inline |
Construct a binned observable value.
| id | Observable identifier. |
| value | Central value. |
| bin | Kinematic bin (lower, upper). |
Definition at line 61 of file ObservableValue.h.
| std::optional<std::pair<double, double> > ObservableValue::bin |
Optional bin definition (lower, upper).
Definition at line 46 of file ObservableValue.h.
| ObservableId ObservableValue::id |
Identifier of the observable.
Definition at line 40 of file ObservableValue.h.
| double ObservableValue::value |
Central numerical value of the observable.
Definition at line 43 of file ObservableValue.h.