Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
Loading...
Searching...
No Matches
ObsParameterProxy.h
Go to the documentation of this file.
1#ifndef OBS_PARAMETER_PROXY_H
2#define OBS_PARAMETER_PROXY_H
3
5#include "ParameterProvider.h"
6#include "Include.h"
7
41class ObsParameterProxy : public IObsParameterProxy<ParamId, DataType, std::string, LhaID> {
42public:
51
64 scalar_t operator()(const ParamId& pid, DataType d_type=DataType::VALUE) override;
65
77 scalar_t operator()(const std::string& block, const LhaID& id, DataType d_type=DataType::VALUE) const override;
78
84 std::shared_ptr<Parameter> get_parameter(const ParamId& pid) const override;
85private:
88
90 ParameterProvider pp_with_type;
91
94};
95
96#endif
ParameterType
DataType
Interface for read-only access to parameters used by observable computations.
High-level access to parameter values and uncertainties.
scalar_t operator()(const ParamId &pid, DataType d_type=DataType::VALUE) override
Access a parameter by fully-typed ParamId.
std::shared_ptr< Parameter > get_parameter(const ParamId &pid) const override
Returns the underlying Parameter object (shared_ptr) for a given id.
Provides access to parameter values, errors, and existence checks.
Represents an identifier of a LHA element, possibly containing several sub-ids.
Definition LhaID.h:56
Composite identifier for a single parameter.
Definition ParamID.h:57