Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
Loading...
Searching...
No Matches
UserParameterProxy.h
Go to the documentation of this file.
1#ifndef USER_PARAMETER_PROXY_H
2#define USER_PARAMETER_PROXY_H
3
5#include "ParameterProvider.h"
6#include "ParameterSetter.h"
7#include "Include.h"
8
9class UserParameterProxy : public IUserParameterProxy<std::string, LhaID> {
10public:
11
12 UserParameterProxy(std::vector<ParameterType> types);
13
14
15 std::optional<double> get_value(std::string block, LhaID id) override;
16
17 void set_value(std::string block, LhaID id, double val) override;
18
19private:
20 std::optional<ParameterType> get_proxy(std::string block, LhaID id);
21
22 std::map<ParameterType, ParameterProvider> types_p;
23
24};
25
26#endif
High-level access to parameter values and uncertainties.
std::optional< double > get_value(std::string block, LhaID id) override
void set_value(std::string block, LhaID id, double val) override
Represents an identifier of a LHA element, possibly containing several sub-ids.
Definition LhaID.h:56