|
musrWiz 0.1.0
|
The PParam class handles a single fit parameter for the musrWiz application. More...
#include <musrWiz.h>
Public Member Functions | |
| PParam () | |
| Constructor. Initializes the parameter to default values. | |
| ~PParam () | |
| Destructor. | |
| void | init () |
| Initializes all member variables to default/undefined values. | |
| QString | getName () |
| Returns the parameter name. | |
| int | getNumber () |
| Returns the parameter number. | |
| double | getValue () |
| Returns the parameter value. | |
| double | getStep () |
| Returns the step size for the fit. | |
| QString | getPosErr () |
| Returns the positive error string. | |
| QString | getBoundLow () |
| Returns the lower bound for the parameter. | |
| QString | getBoundHigh () |
| Returns the upper bound for the parameter. | |
| void | setName (QString str) |
| Sets the parameter name. | |
| void | setNumber (int ival) |
| Sets the parameter number. | |
| void | setValue (double dval) |
| Sets the parameter value. | |
| void | setStep (double dval) |
| Sets the step size. | |
| void | setPosErr (QString str) |
| Sets the positive error string. | |
| void | setBoundLow (QString str) |
| Sets the lower bound. | |
| void | setBoundHigh (QString str) |
| Sets the upper bound. | |
Private Attributes | |
| QString | fName |
| parameter name | |
| int | fNumber |
| parameter number | |
| double | fValue |
| parameter value | |
| double | fStep |
| step size for fitting | |
| QString | fPosErr |
| positive error (or "none") | |
| QString | fBoundLow |
| lower bound (optional) | |
| QString | fBoundHigh |
| upper bound (optional) | |
The PParam class handles a single fit parameter for the musrWiz application.
This class encapsulates all properties of a musrfit fit parameter including its name, number, value, step size, positive error, and optional lower/upper bounds. It is used throughout the musrWiz wizard to manage parameter definitions.
|
inline |
Constructor. Initializes the parameter to default values.
|
inline |
Destructor.
|
inline |
Returns the upper bound for the parameter.
|
inline |
Returns the lower bound for the parameter.
|
inline |
Returns the parameter name.
|
inline |
Returns the parameter number.
|
inline |
Returns the positive error string.
|
inline |
Returns the step size for the fit.
|
inline |
Returns the parameter value.
| void PParam::init | ( | ) |
Initializes all member variables to default/undefined values.
PParam::init initializes all member variables to default/undefined values.
Sets name, posErr, boundLow, and boundHigh to "UnDef", number to -1, and value/step to 0.0.
|
inline |
Sets the upper bound.
| str | Upper bound to set. |
|
inline |
Sets the lower bound.
| str | Lower bound to set. |
|
inline |
Sets the parameter name.
| str | Name to set. |
|
inline |
Sets the parameter number.
| ival | Number to set. |
|
inline |
Sets the positive error string.
| str | Positive error to set. |
|
inline |
Sets the step size.
| dval | Step size to set. |
|
inline |
Sets the parameter value.
| dval | Value to set. |
|
private |
upper bound (optional)
|
private |
lower bound (optional)
|
private |
parameter name
|
private |
parameter number
|
private |
positive error (or "none")
|
private |
step size for fitting
|
private |
parameter value