Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
Loading...
Searching...
No Matches
IObsParameterProxy.h
Go to the documentation of this file.
1#ifndef IOBS_PARAMETER_PROXY_H
2#define IOBS_PARAMETER_PROXY_H
3
4#include <memory>
5
6#include "Math.h"
7#include "ParameterProvider.h"
8
43template<typename T, typename V, typename U, typename W>
45public:
59 virtual scalar_t operator()(const T& pid, V d_type) = 0;
60
72 virtual scalar_t operator()(const U& block, const W& id, V d_type) const = 0;
73
83 virtual std::shared_ptr<Parameter> get_parameter(const T& pid) const = 0;
84};
85
86#endif // IOBS_PARAMETER_PROXY_H
High-level access to parameter values and uncertainties.
virtual scalar_t operator()(const U &block, const W &id, V d_type) const =0
Retrieve a parameter value using (block, code) addressing.
virtual scalar_t operator()(const T &pid, V d_type)=0
Retrieve a parameter value using a typed identifier.
virtual std::shared_ptr< Parameter > get_parameter(const T &pid) const =0
Retrieve the underlying Parameter object for a given id.
double T(double x)
Wilson coefficient T(x).