RAIDA  1.9.0
IFitParameterSettingsROOT.h
1 // -*- C++ -*-
2 #ifndef AIDA_IFITPARAMETERSETTINGSROOT_H
3 #define AIDA_IFITPARAMETERSETTINGSROOT_H 1
4 
5 #include <AIDA/IFitParameterSettings.h>
6 #include <string>
7 
8 namespace AIDA {
9 
17 
18 public:
20  virtual ~IFitParameterSettingsROOT() { /* nop */; }
21 
22  IFitParameterSettingsROOT() { /* nop */; }
23 
25  virtual std::string name() const ;
26 
29  virtual double stepSize() const ;
30 
32  virtual double upperBound() const ;
33 
34  virtual double lowerBound() const ;
35 
37  virtual bool isBound() const ;
38 
41  virtual bool isFixed() const ;
42 
44  virtual void setStepSize(double step) ;
45 
47  virtual void setBounds(double lo, double up) ;
48 
50  virtual void removeBounds() ;
51 
53  virtual void setFixed(bool isFixed) ;
54 
61  virtual void setLowerBound(double lowerBound) ;
62 
69  virtual void setUpperBound(double upperBound) ;
70 
72  virtual void reset() ;
73 }; // class
74 } // namespace AIDA
75 #endif /* ifndef AIDA_IFITPARAMETERSETTINGSROOT_H */
virtual std::string name() const
Name of the parameter to which settings apply.
Definition: IFitParameterSettingsROOT.cc:8
virtual void removeBounds()
Shortcut for setBounds(-INF,+INF).
Definition: IFitParameterSettingsROOT.cc:54
virtual double stepSize() const
Step size allows to control the &quot;sensitivity&quot; of the change of the parameter when fitters looks for t...
Definition: IFitParameterSettingsROOT.cc:14
virtual void reset()
Reset all settings to the default values (remove bounds, step size = 1.0, no fix).
Definition: IFitParameterSettingsROOT.cc:74
virtual bool isBound() const
Shortcut for lowerBound() == -INF &amp;&amp; upperBound() == +INF.
Definition: IFitParameterSettingsROOT.cc:32
virtual bool isFixed() const
Value of the parameter cannot change if isFixed() == true.
Definition: IFitParameterSettingsROOT.cc:38
Definition: IFitParameterSettings.h:27
virtual void setStepSize(double step)
Set the step size for the fitter.
Definition: IFitParameterSettingsROOT.cc:44
virtual void setBounds(double lo, double up)
Set bounds. If bounds not set, then default bound is (-INF,+INF).
Definition: IFitParameterSettingsROOT.cc:49
virtual void setFixed(bool isFixed)
Fix/unfix parameter.
Definition: IFitParameterSettingsROOT.cc:59
virtual void setLowerBound(double lowerBound)
Set the lower bound.
Definition: IFitParameterSettingsROOT.cc:64
Dummy implementation of IFitParameterSettings.
Definition: IFitParameterSettingsROOT.h:16
virtual void setUpperBound(double upperBound)
Set the upper bound.
Definition: IFitParameterSettingsROOT.cc:69
virtual ~IFitParameterSettingsROOT()
Destructor.
Definition: IFitParameterSettingsROOT.h:20
virtual double upperBound() const
Bounds.
Definition: IFitParameterSettingsROOT.cc:20