|
musrfit 1.10.0
|
#include <PMusr.h>
Public Member Functions | |
| PRunData () | |
| virtual | ~PRunData () |
| virtual Double_t | GetDataTimeStart () |
| Returns the start time of the data set in microseconds (μs) | |
| virtual Double_t | GetDataTimeStep () |
| Returns the time bin width for data in microseconds (μs) | |
| virtual Double_t | GetTheoryTimeStart () |
| Returns the start time for theory evaluation in microseconds (μs) | |
| virtual Double_t | GetTheoryTimeStep () |
| Returns the time step for theory evaluation in microseconds (μs) | |
| virtual const PDoubleVector * | GetX () |
| Returns pointer to x-axis vector (used only for non-μSR data) | |
| virtual const PDoubleVector * | GetValue () |
| Returns pointer to data value vector (asymmetry, counts, or y-data) | |
| virtual const PDoubleVector * | GetError () |
| Returns pointer to data error vector (statistical uncertainties) | |
| virtual const PDoubleVector * | GetXTheory () |
| Returns pointer to x-axis vector for theory (non-μSR only) | |
| virtual const PDoubleVector * | GetTheory () |
| Returns pointer to theory value vector. | |
| virtual void | SetDataTimeStart (Double_t dval) |
| virtual void | SetDataTimeStep (Double_t dval) |
| virtual void | SetTheoryTimeStart (Double_t dval) |
| virtual void | SetTheoryTimeStep (Double_t dval) |
| virtual void | AppendXValue (Double_t dval) |
| virtual void | AppendValue (Double_t dval) |
| virtual void | AppendErrorValue (Double_t dval) |
| virtual void | AppendXTheoryValue (Double_t dval) |
| virtual void | AppendTheoryValue (Double_t dval) |
| virtual void | SetTheoryValue (UInt_t i, Double_t dval) |
| virtual void | ReplaceTheory (const PDoubleVector &theo) |
Private Attributes | |
| Double_t | fDataTimeStart |
| start time for the data set | |
| Double_t | fDataTimeStep |
| time step for the data set, i.e. the time length of a bin | |
| PDoubleVector | fX |
| x-axis vector. Only used for non-muSR | |
| PDoubleVector | fValue |
| data vector | |
| PDoubleVector | fError |
| data error vector | |
| Double_t | fTheoryTimeStart |
| start time of the theory | |
| Double_t | fTheoryTimeStep |
| time step of the theory, i.e. the time length of a bin | |
| PDoubleVector | fXTheory |
| x-axis vector. Only used for non-muSR | |
| PDoubleVector | fTheory |
| theory vector | |
Container for pre-processed data and theory vectors used in fitting.
This class stores the processed data (after background subtraction, packing, asymmetry calculation, etc.) that is actually used in the fit, along with the corresponding theory values. This is not raw histogram data - it represents the final data points and theory that enter the χ² calculation.
The class maintains separate time grids for data and theory, allowing theory evaluation at higher resolution than the data binning. For non-μSR fits, x-axis vectors are also stored.
| PRunData::PRunData | ( | ) |
Constructor
Definition at line 50 of file PMusr.cpp.
References fDataTimeStart, fDataTimeStep, fError, fTheory, fTheoryTimeStart, fTheoryTimeStep, fValue, fX, fXTheory, and PMUSR_UNDEFINED.
|
virtual |
|
inlinevirtual |
Appends an error value to the error vector
| dval | Error/uncertainty value to append |
Definition at line 497 of file PMusr.h.
References fError.
Referenced by PRunAsymmetry::PrepareFitData(), PRunAsymmetryBNMR::PrepareFitData(), PRunAsymmetry::PrepareViewData(), and PRunAsymmetryBNMR::PrepareViewData().
|
inlinevirtual |
|
inlinevirtual |
Appends a value to the data vector
| dval | Data value to append |
Definition at line 494 of file PMusr.h.
References fValue.
Referenced by PRunAsymmetry::PrepareFitData(), PRunAsymmetryBNMR::PrepareFitData(), PRunAsymmetry::PrepareViewData(), and PRunAsymmetryBNMR::PrepareViewData().
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
Returns the start time of the data set in microseconds (μs)
Definition at line 457 of file PMusr.h.
References fDataTimeStart.
Referenced by PMusrCanvas::HandleDataSet(), and musrfit_write_ascii().
|
inlinevirtual |
Returns the time bin width for data in microseconds (μs)
Definition at line 459 of file PMusr.h.
References fDataTimeStep.
Referenced by PMusrCanvas::HandleDataSet(), musrfit_write_ascii(), and musrfit_write_root().
|
inlinevirtual |
Returns pointer to data error vector (statistical uncertainties)
Definition at line 470 of file PMusr.h.
References fError.
Referenced by PMusrCanvas::HandleDataSet(), PMusrCanvas::HandleNonMusrDataSet(), musrfit_write_ascii(), musrfit_write_root(), PRunAsymmetry::PrepareFitData(), PRunAsymmetryBNMR::PrepareFitData(), PRunAsymmetry::PrepareViewData(), and PRunAsymmetryBNMR::PrepareViewData().
|
inlinevirtual |
Returns pointer to theory value vector.
Definition at line 474 of file PMusr.h.
References fTheory.
Referenced by PMusrCanvas::HandleDataSet(), PMusrCanvas::HandleNonMusrDataSet(), musrfit_write_ascii(), and musrfit_write_root().
|
inlinevirtual |
Returns the start time for theory evaluation in microseconds (μs)
Definition at line 461 of file PMusr.h.
References fTheoryTimeStart.
Referenced by PMusrCanvas::HandleDataSet().
|
inlinevirtual |
Returns the time step for theory evaluation in microseconds (μs)
Definition at line 463 of file PMusr.h.
References fTheoryTimeStep.
Referenced by PMusrCanvas::HandleDataSet().
|
inlinevirtual |
Returns pointer to data value vector (asymmetry, counts, or y-data)
Definition at line 468 of file PMusr.h.
References fValue.
Referenced by PMusrCanvas::HandleDataSet(), PMusrCanvas::HandleNonMusrDataSet(), musrfit_write_ascii(), musrfit_write_root(), PRunAsymmetry::PrepareFitData(), PRunAsymmetryBNMR::PrepareFitData(), PRunAsymmetry::PrepareViewData(), and PRunAsymmetryBNMR::PrepareViewData().
|
inlinevirtual |
Returns pointer to x-axis vector (used only for non-μSR data)
Definition at line 466 of file PMusr.h.
References fX.
Referenced by PMusrCanvas::HandleNonMusrDataSet().
|
inlinevirtual |
Returns pointer to x-axis vector for theory (non-μSR only)
Definition at line 472 of file PMusr.h.
References fXTheory.
Referenced by PMusrCanvas::HandleNonMusrDataSet().
|
virtual |
|
inlinevirtual |
Sets the start time of the data set in microseconds (μs)
| dval | Start time value |
Definition at line 478 of file PMusr.h.
References fDataTimeStart.
|
inlinevirtual |
Sets the time bin width for data in microseconds (μs)
| dval | Time step value |
Definition at line 481 of file PMusr.h.
References fDataTimeStep.
|
inlinevirtual |
Sets the start time for theory evaluation in microseconds (μs)
| dval | Start time value |
Definition at line 484 of file PMusr.h.
References fTheoryTimeStart.
|
inlinevirtual |
Sets the time step for theory evaluation in microseconds (μs)
| dval | Time step value |
Definition at line 487 of file PMusr.h.
References fTheoryTimeStep.
|
virtual |
|
private |
start time for the data set
Definition at line 522 of file PMusr.h.
Referenced by GetDataTimeStart(), PRunData(), and SetDataTimeStart().
|
private |
time step for the data set, i.e. the time length of a bin
Definition at line 523 of file PMusr.h.
Referenced by GetDataTimeStep(), PRunData(), and SetDataTimeStep().
|
private |
data error vector
Definition at line 526 of file PMusr.h.
Referenced by AppendErrorValue(), GetError(), PRunData(), and ~PRunData().
|
private |
theory vector
Definition at line 531 of file PMusr.h.
Referenced by AppendTheoryValue(), GetTheory(), PRunData(), ReplaceTheory(), SetTheoryValue(), and ~PRunData().
|
private |
start time of the theory
Definition at line 528 of file PMusr.h.
Referenced by GetTheoryTimeStart(), PRunData(), and SetTheoryTimeStart().
|
private |
time step of the theory, i.e. the time length of a bin
Definition at line 529 of file PMusr.h.
Referenced by GetTheoryTimeStep(), PRunData(), and SetTheoryTimeStep().
|
private |
data vector
Definition at line 525 of file PMusr.h.
Referenced by AppendValue(), GetValue(), PRunData(), and ~PRunData().
|
private |
x-axis vector. Only used for non-muSR
Definition at line 524 of file PMusr.h.
Referenced by AppendXValue(), GetX(), PRunData(), and ~PRunData().
|
private |
x-axis vector. Only used for non-muSR
Definition at line 530 of file PMusr.h.
Referenced by AppendXTheoryValue(), GetXTheory(), PRunData(), and ~PRunData().