Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
Loading...
Searching...
No Matches
ObservableValue.h
Go to the documentation of this file.
1#ifndef OBSERVABELEVALUE_H
2#define OBSERVABELEVALUE_H
3
4#include <optional>
5#include <utility>
6
7#include "Include.h"
8
41
43 double value;
44
46 std::optional<std::pair<double, double>> bin;
47
54
61 ObservableValue(ObservableId id, double value, std::pair<double, double> bin) : ObservableValue(id, value) { this->bin = bin; };
62};
63
64#endif // OBSERVABELEVALUE_H
Container for a computed observable value, optionally binned.
ObservableValue(ObservableId id, double value)
Construct an unbinned observable value.
ObservableId id
Identifier of the observable.
std::optional< std::pair< double, double > > bin
Optional bin definition (lower, upper).
double value
Central numerical value of the observable.
ObservableValue(ObservableId id, double value, std::pair< double, double > bin)
Construct a binned observable value.