Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
Loading...
Searching...
No Matches
ScaleSetter.h
Go to the documentation of this file.
1#ifndef SCALESETTER_H
2#define SCALESETTER_H
3
4#include "IParamSetter.h"
5#include "Include.h"
6
39class ScaleSetter : public IParamSetter<ScaleType> {
40public:
46 ScaleSetter(ScaleType scale_type) {this->param = scale_type;}
47
53 void switch_param(ScaleType scale_type) override {this->param = scale_type;}
54
67 void set(double value) override;
68
69};
70
71#endif // SCALESETTER_H
ScaleType
Interface for setting a specific “current parameter target” (typically a scale).
Abstract interface for setting a chosen parameter.
ScaleType param
Current target selector.
Sets Wilson scale values through the Parameters mutation layer.
Definition ScaleSetter.h:39
void set(double value) override
Sets the value of the currently selected scale.
ScaleSetter(ScaleType scale_type)
Constructs a ScaleSetter targeting an initial scale type.
Definition ScaleSetter.h:46
void switch_param(ScaleType scale_type) override
Changes the targeted scale parameter.
Definition ScaleSetter.h:53