musrfit  1.9.2
PRunData Class Reference

#include <PMusr.h>

Public Member Functions

 PRunData ()
 
virtual ~PRunData ()
 
virtual Double_t GetDataTimeStart ()
 
virtual Double_t GetDataTimeStep ()
 
virtual Double_t GetTheoryTimeStart ()
 
virtual Double_t GetTheoryTimeStep ()
 
virtual const PDoubleVectorGetX ()
 
virtual const PDoubleVectorGetValue ()
 
virtual const PDoubleVectorGetError ()
 
virtual const PDoubleVectorGetXTheory ()
 
virtual const PDoubleVectorGetTheory ()
 
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 More...
 
Double_t fDataTimeStep
 time step for the data set, i.e. the time length of a bin More...
 
PDoubleVector fX
 x-axis vector. Only used for non-muSR More...
 
PDoubleVector fValue
 data vector More...
 
PDoubleVector fError
 data error vector More...
 
Double_t fTheoryTimeStart
 start time of the theory More...
 
Double_t fTheoryTimeStep
 time step of the theory, i.e. the time length of a bin More...
 
PDoubleVector fXTheory
 x-axis vector. Only used for non-muSR More...
 
PDoubleVector fTheory
 theory vector More...
 

Detailed Description

Handles the data which will be fitted, i.e. packed, background corrected, ... This are not the raw histogram data of a run. This are the pre-processed data.

Definition at line 237 of file PMusr.h.

Constructor & Destructor Documentation

◆ PRunData()

PRunData::PRunData ( )

Constructor

Definition at line 50 of file PMusr.cpp.

References PMUSR_UNDEFINED.

◆ ~PRunData()

PRunData::~PRunData ( )
virtual

Destructor.

Definition at line 69 of file PMusr.cpp.

Member Function Documentation

◆ AppendErrorValue()

◆ AppendTheoryValue()

◆ AppendValue()

◆ AppendXTheoryValue()

virtual void PRunData::AppendXTheoryValue ( Double_t  dval)
inlinevirtual

Definition at line 261 of file PMusr.h.

References fXTheory.

Referenced by PRunNonMusr::PrepareViewData().

◆ AppendXValue()

virtual void PRunData::AppendXValue ( Double_t  dval)
inlinevirtual

Definition at line 258 of file PMusr.h.

References fX.

Referenced by PRunNonMusr::PrepareFitData(), and PRunNonMusr::PrepareViewData().

◆ GetDataTimeStart()

◆ GetDataTimeStep()

◆ GetError()

◆ GetTheory()

◆ GetTheoryTimeStart()

◆ GetTheoryTimeStep()

◆ GetValue()

◆ GetX()

virtual const PDoubleVector* PRunData::GetX ( )
inlinevirtual

◆ GetXTheory()

virtual const PDoubleVector* PRunData::GetXTheory ( )
inlinevirtual

Definition at line 250 of file PMusr.h.

References fXTheory.

Referenced by PMusrCanvas::HandleNonMusrDataSet().

◆ ReplaceTheory()

void PRunData::ReplaceTheory ( const PDoubleVector theo)
virtual

Replaces the theory vector.

Parameters
theovector which is replacing the current theory vector

Definition at line 103 of file PMusr.cpp.

Referenced by PRunBase::FilterTheo(), PRunAsymmetry::PrepareRRFViewData(), and PRunSingleHisto::PrepareViewData().

◆ SetDataTimeStart()

◆ SetDataTimeStep()

◆ SetTheoryTimeStart()

◆ SetTheoryTimeStep()

◆ SetTheoryValue()

void PRunData::SetTheoryValue ( UInt_t  idx,
Double_t  dval 
)
virtual

Sets a value of the theory vector

Parameters
idxindex of the theory vector
dvalvalue to be set.

Definition at line 87 of file PMusr.cpp.

Member Data Documentation

◆ fDataTimeStart

Double_t PRunData::fDataTimeStart
private

start time for the data set

Definition at line 269 of file PMusr.h.

Referenced by GetDataTimeStart(), and SetDataTimeStart().

◆ fDataTimeStep

Double_t PRunData::fDataTimeStep
private

time step for the data set, i.e. the time length of a bin

Definition at line 270 of file PMusr.h.

Referenced by GetDataTimeStep(), and SetDataTimeStep().

◆ fError

PDoubleVector PRunData::fError
private

data error vector

Definition at line 273 of file PMusr.h.

Referenced by AppendErrorValue(), and GetError().

◆ fTheory

PDoubleVector PRunData::fTheory
private

theory vector

Definition at line 278 of file PMusr.h.

Referenced by AppendTheoryValue(), and GetTheory().

◆ fTheoryTimeStart

Double_t PRunData::fTheoryTimeStart
private

start time of the theory

Definition at line 275 of file PMusr.h.

Referenced by GetTheoryTimeStart(), and SetTheoryTimeStart().

◆ fTheoryTimeStep

Double_t PRunData::fTheoryTimeStep
private

time step of the theory, i.e. the time length of a bin

Definition at line 276 of file PMusr.h.

Referenced by GetTheoryTimeStep(), and SetTheoryTimeStep().

◆ fValue

PDoubleVector PRunData::fValue
private

data vector

Definition at line 272 of file PMusr.h.

Referenced by AppendValue(), and GetValue().

◆ fX

PDoubleVector PRunData::fX
private

x-axis vector. Only used for non-muSR

Definition at line 271 of file PMusr.h.

Referenced by AppendXValue(), and GetX().

◆ fXTheory

PDoubleVector PRunData::fXTheory
private

x-axis vector. Only used for non-muSR

Definition at line 277 of file PMusr.h.

Referenced by AppendXTheoryValue(), and GetXTheory().


The documentation for this class was generated from the following files: