Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
Loading...
Searching...
No Matches
ObsParameterMutator.cpp
Go to the documentation of this file.
2
3void ObsParameterMutator::set(const ParamId &pid, scalar_t value) {
4 this->p_set.mutate(pid, value);
5}
6
8 this->p_shift.mutate(pid, value);
9}
10
12 this->p_shift.change_mode(pid, mod);
13}
High-level mutator for parameters used by the observable layer.
ParameterMode
Defines the modes in which a parameter can operate.
Definition Parameter.h:45
void change_mode(const ParamId &, ParameterMode) override
Changes the “mode” of a parameter (e.g. fixed, nuisance, scan...).
void set(const ParamId &, scalar_t) override
Assigns an absolute value to a parameter.
void shift(const ParamId &, scalar_t) override
Shifts a parameter value (relative update).
void mutate(const ParamId &pid, scalar_t value) override
Sets the value of a parameter.
void mutate(const ParamId &pid, scalar_t value) override
Shifts the value of a parameter by a given amount.
void change_mode(const ParamId &pid, ParameterMode mode) override
Changes the mode of a parameter (e.g., from FIXED to SHIFTABLE).
Composite identifier for a single parameter.
Definition ParamID.h:57