ROOT 6.08/07 Reference Guide |
Class, describing value, limits and step size of the parameters Provides functionality also to set/retrieve values, step sizes, limits and fix the parameters.
To be done: add constraints (equality and inequality) as functions of the parameters
Definition at line 38 of file ParameterSettings.h.
Public Member Functions | |
ParameterSettings () | |
Default constructor. More... | |
ParameterSettings (const std::string &name, double val, double err) | |
constructor for unlimited named Parameter More... | |
ParameterSettings (const std::string &name, double val, double err, double min, double max) | |
constructor for double limited Parameter More... | |
ParameterSettings (const std::string &name, double val) | |
constructor for fixed Parameter More... | |
~ParameterSettings () | |
Destructor (no operations) More... | |
void | Fix () |
fix the parameter More... | |
bool | HasLowerLimit () const |
check if parameter has lower limit More... | |
bool | HasUpperLimit () const |
check if parameter has upper limit More... | |
bool | IsBound () const |
check if is bound More... | |
bool | IsDoubleBound () const |
check if is double bound (upper AND lower limit) More... | |
bool | IsFixed () const |
check if is fixed More... | |
double | LowerLimit () const |
return lower limit value More... | |
const std::string & | Name () const |
return name More... | |
void | Release () |
release the parameter More... | |
void | RemoveLimits () |
remove all limit More... | |
void | Set (const std::string &name, double value, double step) |
set value and name (unlimited parameter) More... | |
void | Set (const std::string &name, double value, double step, double lower, double upper) |
set a limited parameter More... | |
void | Set (const std::string &name, double value) |
set a fixed parameter More... | |
void | SetLimits (double low, double up) |
set a double side limit, if low == up the parameter is fixed if low > up the limits are removed More... | |
void | SetLowerLimit (double low) |
set a single lower limit More... | |
void | SetName (const std::string &name) |
interaction More... | |
void | SetStepSize (double err) |
set the step size More... | |
void | SetUpperLimit (double up) |
set a single upper limit More... | |
void | SetValue (double val) |
set the value More... | |
double | StepSize () const |
return step size More... | |
double | UpperLimit () const |
return upper limit value More... | |
double | Value () const |
copy constructor and assignment operators (leave them to the compiler) More... | |
Private Attributes | |
bool | fFix |
bool | fHasLowerLimit |
bool | fHasUpperLimit |
double | fLowerLimit |
std::string | fName |
double | fStepSize |
double | fUpperLimit |
double | fValue |
#include <Fit/ParameterSettings.h>
|
inline |
Default constructor.
Definition at line 45 of file ParameterSettings.h.
|
inline |
constructor for unlimited named Parameter
Definition at line 53 of file ParameterSettings.h.
|
inline |
constructor for double limited Parameter
Definition at line 60 of file ParameterSettings.h.
|
inline |
constructor for fixed Parameter
Definition at line 70 of file ParameterSettings.h.
|
inline |
Destructor (no operations)
Definition at line 105 of file ParameterSettings.h.
|
inline |
fix the parameter
Definition at line 138 of file ParameterSettings.h.
|
inline |
check if parameter has lower limit
Definition at line 122 of file ParameterSettings.h.
|
inline |
check if parameter has upper limit
Definition at line 124 of file ParameterSettings.h.
|
inline |
check if is bound
Definition at line 126 of file ParameterSettings.h.
|
inline |
check if is double bound (upper AND lower limit)
Definition at line 128 of file ParameterSettings.h.
|
inline |
check if is fixed
Definition at line 120 of file ParameterSettings.h.
|
inline |
return lower limit value
Definition at line 116 of file ParameterSettings.h.
|
inline |
return name
Definition at line 130 of file ParameterSettings.h.
|
inline |
release the parameter
Definition at line 140 of file ParameterSettings.h.
|
inline |
remove all limit
Definition at line 182 of file ParameterSettings.h.
|
inline |
set value and name (unlimited parameter)
Definition at line 80 of file ParameterSettings.h.
|
inline |
set a limited parameter
Definition at line 87 of file ParameterSettings.h.
|
inline |
set a fixed parameter
Definition at line 95 of file ParameterSettings.h.
|
inline |
set a double side limit, if low == up the parameter is fixed if low > up the limits are removed
Definition at line 147 of file ParameterSettings.h.
|
inline |
set a single lower limit
Definition at line 174 of file ParameterSettings.h.
|
inline |
|
inline |
set the step size
Definition at line 144 of file ParameterSettings.h.
|
inline |
set a single upper limit
Definition at line 167 of file ParameterSettings.h.
|
inline |
set the value
Definition at line 142 of file ParameterSettings.h.
|
inline |
return step size
Definition at line 114 of file ParameterSettings.h.
|
inline |
return upper limit value
Definition at line 118 of file ParameterSettings.h.
|
inline |
copy constructor and assignment operators (leave them to the compiler)
return parameter value
Definition at line 112 of file ParameterSettings.h.
|
private |
Definition at line 198 of file ParameterSettings.h.
|
private |
Definition at line 201 of file ParameterSettings.h.
|
private |
Definition at line 202 of file ParameterSettings.h.
|
private |
Definition at line 199 of file ParameterSettings.h.
|
private |
Definition at line 204 of file ParameterSettings.h.
|
private |
Definition at line 197 of file ParameterSettings.h.
|
private |
Definition at line 200 of file ParameterSettings.h.
|
private |
Definition at line 196 of file ParameterSettings.h.