RAIDA  1.9.0
IFitParameterSettings.h
1 // -*- C++ -*-
2 // AID-GENERATED
3 // =========================================================================
4 // This class was generated by AID - Abstract Interface Definition
5 // DO NOT MODIFY, but use the org.freehep.aid.Aid utility to regenerate it.
6 // =========================================================================
7 #ifndef AIDA_IFITPARAMETERSETTINGS_H
8 #define AIDA_IFITPARAMETERSETTINGS_H 1
9 
10 // This file is part of the AIDA library
11 // Copyright (C) 2002 by the AIDA team. All rights reserved.
12 // This library is free software and under the terms of the
13 // GNU Library General Public License described in the LGPL.txt
14 
15 #include <string>
16 
17 namespace AIDA {
18 
28 
29 public:
31  virtual ~IFitParameterSettings() { /* nop */; }
32 
34  virtual std::string name() const = 0;
35 
38  virtual double stepSize() const = 0;
39 
41  virtual double upperBound() const = 0;
42 
43  virtual double lowerBound() const = 0;
44 
46  virtual bool isBound() const = 0;
47 
50  virtual bool isFixed() const = 0;
51 
53  virtual void setStepSize(double step) = 0;
54 
56  virtual void setBounds(double lo, double up) = 0;
57 
59  virtual void removeBounds() = 0;
60 
62  virtual void setFixed(bool isFixed) = 0;
63 
71  virtual void setLowerBound(double lowerBound) = 0;
72 
80  virtual void setUpperBound(double upperBound) = 0;
81 
83  virtual void reset() = 0;
84 }; // class
85 } // namespace AIDA
86 #endif /* ifndef AIDA_IFITPARAMETERSETTINGS_H */
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 &quot;sensitivity&quot; 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 &amp;&amp; upperBound() == +INF.
virtual void removeBounds()=0
Shortcut for setBounds(-INF,+INF).
virtual void setStepSize(double step)=0
Set the step size for the fitter.