|
mupp 1.1.0
|
Represents all fit parameters from a single experimental run. More...
#include <Pmupp.h>
Public Member Functions | |
| PmuppRun () | |
| Default constructor. Initializes an empty run with invalid number. | |
| ~PmuppRun () | |
| Destructor. Cleans up the run data. | |
| void | Clear () |
| Clears all run data and resets to initial state. | |
| void | SetName (QString name) |
| Sets the run name/title. | |
| void | SetNumber (int ival) |
| Sets the run number. | |
| void | AddParam (PmuppParam param) |
| Adds a parameter to this run. | |
| int | GetNumber () |
| Gets the run number. | |
| QString | GetName () |
| Gets the run name/title. | |
| int | GetNoOfParam () |
| Gets the number of parameters in this run. | |
| PmuppParam | GetParam (unsigned int idx) |
| Retrieves a parameter from a run by index. | |
Private Attributes | |
| int | fNumber |
| run number identifier | |
| QString | fName |
| descriptive name or title of the run | |
| QVector< PmuppParam > | fParam |
| vector of all fit parameters for this run | |
Represents all fit parameters from a single experimental run.
The PmuppRun class contains a complete set of parameters from one muSR run, including the run number, run name/title, and a vector of all fit parameters (PmuppParam objects) associated with that run.
This class forms the intermediate level in the data hierarchy: Parameter -> Run -> Collection
|
inline |
|
inline |
|
inline |
Adds a parameter to this run.
| param | the PmuppParam object to be added to the parameter list |
|
inline |
|
inline |
|
inline |
|
inline |
| PmuppParam PmuppRun::GetParam | ( | unsigned int | idx | ) |
Retrieves a parameter from a run by index.
Returns a copy of the parameter at the specified index. If the index is out of range, returns an empty (default-constructed) parameter.
| idx | zero-based index of the parameter to retrieve |
|
inline |
|
inline |
|
private |
|
private |