|
Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
|
#include <ObsParameterProxy.h>


Public Member Functions | |
| ObsParameterProxy (ParameterType type=ParameterType::SM) | |
| Construct a proxy limited to a given parameter type. | |
| scalar_t | operator() (const ParamId &pid, DataType d_type=DataType::VALUE) override |
| Access a parameter by fully-typed ParamId. | |
| scalar_t | operator() (const std::string &block, const LhaID &id, DataType d_type=DataType::VALUE) const override |
| Access a parameter by block name and LHA-like id. | |
| std::shared_ptr< Parameter > | get_parameter (const ParamId &pid) const override |
| Returns the underlying Parameter object (shared_ptr) for a given id. | |
Definition at line 41 of file ObsParameterProxy.h.
| ObsParameterProxy::ObsParameterProxy | ( | ParameterType | type = ParameterType::SM | ) |
Construct a proxy limited to a given parameter type.
If type is not in ALLOWED, this triggers a ValueError.
| type | The parameter type namespace to read from (default: SM). |
Definition at line 3 of file ObsParameterProxy.cpp.
|
overridevirtual |
Returns the underlying Parameter object (shared_ptr) for a given id.
| pid | Typed parameter identifier. |
Implements IObsParameterProxy< ParamId, DataType, std::string, LhaID >.
Definition at line 35 of file ObsParameterProxy.cpp.
|
overridevirtual |
Access a parameter by fully-typed ParamId.
If pid.type is missing, a warning is emitted (untyped ParamId usage). If pid.type is not allowed, this triggers a ValueError.
For Wilson parameters: returns default scalar_t if parameter does not exist.
| pid | Typed parameter identifier. |
| d_type | Which value to return (central/value, error, etc.). |
Implements IObsParameterProxy< ParamId, DataType, std::string, LhaID >.
Definition at line 19 of file ObsParameterProxy.cpp.
|
overridevirtual |
Access a parameter by block name and LHA-like id.
For Wilson parameters: if missing, returns default scalar_t. For other types: delegates directly to the provider.
| block | Parameter block name. |
| id | Parameter code inside the block. |
| d_type | Which value to return (central/value, error, etc.). |
Implements IObsParameterProxy< ParamId, DataType, std::string, LhaID >.
Definition at line 11 of file ObsParameterProxy.cpp.