7 #ifndef AIDA_IFITPARAMETERSETTINGS_H
8 #define AIDA_IFITPARAMETERSETTINGS_H 1
34 virtual std::string
name()
const = 0;
43 virtual double lowerBound()
const = 0;
46 virtual bool isBound()
const = 0;
50 virtual bool isFixed()
const = 0;
56 virtual void setBounds(
double lo,
double up) = 0;
83 virtual void reset() = 0;
virtual double upperBound() const =0
Bounds.
virtual void setLowerBound(double lowerBound)=0
Set the lower bound.
virtual void setFixed(bool isFixed)=0
Fix/unfix parameter.
virtual double stepSize() const =0
Step size allows to control the "sensitivity" of the change of the parameter when fitters looks for t...
virtual void reset()=0
Reset all settings to the default values (remove bounds, step size = 1.0, no fix).
Definition: IFitParameterSettings.h:27
virtual ~IFitParameterSettings()
Destructor.
Definition: IFitParameterSettings.h:31
virtual bool isFixed() const =0
Value of the parameter cannot change if isFixed() == true.
virtual std::string name() const =0
Name of the parameter to which settings apply.
virtual void setUpperBound(double upperBound)=0
Set the upper bound.
virtual void setBounds(double lo, double up)=0
Set bounds. If bounds not set, then default bound is (-INF,+INF).
virtual bool isBound() const =0
Shortcut for lowerBound() == -INF && upperBound() == +INF.
virtual void removeBounds()=0
Shortcut for setBounds(-INF,+INF).
virtual void setStepSize(double step)=0
Set the step size for the fitter.