Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
Loading...
Searching...
No Matches
ParameterShifter.h
Go to the documentation of this file.
1#ifndef PARAMETERSHIFTER_H
2#define PARAMETERSHIFTER_H
3
4#include "IDataMutator.h"
5#include "Parameters.h"
6
32class ParameterShifter : public IDataMutator<ParamId, scalar_t, ParameterMode> {
33public:
49 void mutate(const ParamId& pid, scalar_t value) override;
50
60 void change_mode(const ParamId& pid, ParameterMode mode) override;
61};
62
63
64#endif // PARAMETERSHIFTER_H
Interface for mutating parameter values and modes.
ParameterMode
Defines the modes in which a parameter can operate.
Definition Parameter.h:45
Model-dependent parameter repository and initialization strategies.
Interface for mutating parameters or changing their mode.
Concrete mutator that shifts parameter values rather than directly setting them.
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