|
| | PmuppParam () |
| | Default constructor for PmuppParam.
|
| |
| | PmuppParam (QString name, double param, double posErr) |
| | Constructor for PmuppParam with symmetric errors.
|
| |
| | PmuppParam (QString name, double param, double posErr, double negErr) |
| | Constructor for PmuppParam with asymmetric errors.
|
| |
| void | ResetParam () |
| | Resets the parameter to undefined state.
|
| |
| void | SetParam (QString name, double param, double posErr) |
| | Sets parameter with symmetric errors.
|
| |
| void | SetParam (QString name, double param, double posErr, double negErr) |
| | Sets parameter with asymmetric errors.
|
| |
| void | SetName (QString name) |
| | Sets the parameter name.
|
| |
| void | SetValue (double dval) |
| | Sets the parameter value.
|
| |
| void | SetPosErr (double dval) |
| | Sets the positive error of the parameter.
|
| |
| void | SetNegErr (double dval) |
| | Sets the negative error of the parameter.
|
| |
| QString | GetName () |
| | Gets the parameter name.
|
| |
| double | GetValue () |
| | Gets the parameter value.
|
| |
| double | GetPosErr () |
| | Gets the positive error of the parameter.
|
| |
| double | GetNegErr () |
| | Gets the negative error of the parameter.
|
| |
Represents a single fit parameter with its value and uncertainties.
The PmuppParam class encapsulates a single parameter from a muSR fit, including its name, central value, and asymmetric error bars (positive and negative errors). This class is the fundamental building block for storing parameter information in mupp.
The class supports both symmetric errors (where positive and negative errors are equal) and asymmetric errors (where they differ), which is common in fits with non-Gaussian likelihood profiles.
Definition at line 80 of file Pmupp.h.
| PmuppParam::PmuppParam |
( |
QString | name, |
|
|
double | param, |
|
|
double | posErr, |
|
|
double | negErr ) |
Constructor for PmuppParam with asymmetric errors.
Initializes a parameter with a name, value, and asymmetric errors. This is useful when the uncertainty is not symmetric around the central value, which can occur with non-Gaussian likelihoods.
- Parameters
-
| name | parameter name (e.g., "alpha", "lambda") |
| param | parameter central value |
| posErr | positive (upper) parameter error |
| negErr | negative (lower) parameter error |
Definition at line 116 of file Pmupp.cpp.
| void PmuppParam::SetParam |
( |
QString | name, |
|
|
double | param, |
|
|
double | posErr, |
|
|
double | negErr ) |
Sets parameter with asymmetric errors.
Sets the parameter name, value, positive error, and negative error. Use this when the uncertainty is asymmetric around the central value.
- Parameters
-
| name | parameter name |
| param | parameter central value |
| posErr | positive (upper) error value |
| negErr | negative (lower) error value |
Definition at line 166 of file Pmupp.cpp.