musrfit 1.10.0
TMusrRunPhysicalQuantity Class Reference

#include <TMusrRunHeader.h>

Inheritance diagram for TMusrRunPhysicalQuantity:
Collaboration diagram for TMusrRunPhysicalQuantity:

Public Member Functions

 TMusrRunPhysicalQuantity ()
 
 TMusrRunPhysicalQuantity (TString label, Double_t demand, Double_t value, Double_t error, TString unit, TString description=TString("n/a"))
 
 TMusrRunPhysicalQuantity (TString label, Double_t demand, Double_t value, TString unit, TString description=TString("n/a"))
 
 TMusrRunPhysicalQuantity (TString label, Double_t value, TString unit, TString description=TString("n/a"))
 
virtual ~TMusrRunPhysicalQuantity ()
 
virtual TString GetLabel () const
 
virtual Double_t GetDemand () const
 
virtual Double_t GetValue () const
 
virtual Double_t GetError () const
 
virtual TString GetUnit () const
 
virtual TString GetDescription () const
 
virtual void Set (TString label, Double_t demand, Double_t value, Double_t error, TString unit, TString description=TString("n/a"))
 
virtual void Set (TString label, Double_t demand, Double_t value, TString unit, TString description=TString("n/a"))
 
virtual void Set (TString label, Double_t value, TString unit, TString description=TString("n/a"))
 
virtual void SetLabel (TString &label)
 
virtual void SetLabel (const char *label)
 
virtual void SetDemand (Double_t val)
 
virtual void SetValue (Double_t val)
 
virtual void SetError (Double_t err)
 
virtual void SetUnit (TString &unit)
 
virtual void SetUnit (const char *unit)
 
virtual void SetDescription (TString &str)
 
virtual void SetDescription (const char *str)
 

Private Attributes

TString fLabel
 property label, like ’Sample Temperature’ etc.
 
Double_t fDemand
 demand value of the physical quantity, e.g. temperature setpoint
 
Double_t fValue
 measured value of the physical quantity
 
Double_t fError
 estimated error (standard deviation) of the measured value
 
TString fUnit
 unit of the physical quantity
 
TString fDescription
 a more detailed description of the physical quantity
 

Detailed Description

Definition at line 82 of file TMusrRunHeader.h.

Constructor & Destructor Documentation

◆ TMusrRunPhysicalQuantity() [1/4]

TMusrRunPhysicalQuantity::TMusrRunPhysicalQuantity ( )

◆ TMusrRunPhysicalQuantity() [2/4]

TMusrRunPhysicalQuantity::TMusrRunPhysicalQuantity ( TString label,
Double_t demand,
Double_t value,
Double_t error,
TString unit,
TString description = TString("n/a") )

Constructor.

Parameters
labelof the physical quantity, e.g. 'Sample Temperature'
demandvalue of the physical quantity
valuemeasured value of the physical quantity
errorestimated error of the physical quantity
unitof the physical quantity, e.g. 'K'.
descriptionadditional more detailed description of the physical quantity

Definition at line 78 of file TMusrRunHeader.cpp.

References fDemand, fDescription, fError, fLabel, fUnit, and fValue.

◆ TMusrRunPhysicalQuantity() [3/4]

TMusrRunPhysicalQuantity::TMusrRunPhysicalQuantity ( TString label,
Double_t demand,
Double_t value,
TString unit,
TString description = TString("n/a") )

Constructor.

Parameters
labelof the physical quantity, e.g. 'Sample Temperature'
demandvalue of the physical quantity
valuemeasured value of the physical quantity
unitof the physical quantity, e.g. 'K'.
descriptionadditional more detailed description of the physical quantity

Definition at line 99 of file TMusrRunHeader.cpp.

References fDemand, fDescription, fError, fLabel, fUnit, fValue, and MRH_UNDEFINED.

◆ TMusrRunPhysicalQuantity() [4/4]

TMusrRunPhysicalQuantity::TMusrRunPhysicalQuantity ( TString label,
Double_t value,
TString unit,
TString description = TString("n/a") )

Constructor.

Parameters
labelof the physical quantity, e.g. 'Sample Temperature'
valuemeasured value of the physical quantity
unitof the physical quantity, e.g. 'K'.
descriptionadditional more detailed description of the physical quantity

Definition at line 120 of file TMusrRunHeader.cpp.

References fDemand, fDescription, fError, fLabel, fUnit, fValue, and MRH_UNDEFINED.

◆ ~TMusrRunPhysicalQuantity()

virtual TMusrRunPhysicalQuantity::~TMusrRunPhysicalQuantity ( )
inlinevirtual

Definition at line 89 of file TMusrRunHeader.h.

Member Function Documentation

◆ GetDemand()

virtual Double_t TMusrRunPhysicalQuantity::GetDemand ( ) const
inlinevirtual

Definition at line 92 of file TMusrRunHeader.h.

References fDemand.

Referenced by TMusrRunHeader::DumpHeader(), and TMusrRunHeader::GetHeaderString().

◆ GetDescription()

virtual TString TMusrRunPhysicalQuantity::GetDescription ( ) const
inlinevirtual

Definition at line 96 of file TMusrRunHeader.h.

References fDescription.

Referenced by TMusrRunHeader::DumpHeader(), and TMusrRunHeader::GetHeaderString().

◆ GetError()

virtual Double_t TMusrRunPhysicalQuantity::GetError ( ) const
inlinevirtual

◆ GetLabel()

virtual TString TMusrRunPhysicalQuantity::GetLabel ( ) const
inlinevirtual

Definition at line 91 of file TMusrRunHeader.h.

References fLabel.

Referenced by TMusrRunHeader::DumpHeader(), and TMusrRunHeader::GetHeaderString().

◆ GetUnit()

virtual TString TMusrRunPhysicalQuantity::GetUnit ( ) const
inlinevirtual

◆ GetValue()

virtual Double_t TMusrRunPhysicalQuantity::GetValue ( ) const
inlinevirtual

◆ Set() [1/3]

void TMusrRunPhysicalQuantity::Set ( TString label,
Double_t demand,
Double_t value,
Double_t error,
TString unit,
TString description = TString("n/a") )
virtual

set a physical quantity.

Parameters
labelof the physical quantity, e.g. 'Sample Temperature'
demandvalue of the physical quantity
valuemeasured value of the physical quantity
errorestimated error of the physical quantity
unitof the physical quantity, e.g. 'K'.
descriptionadditional more detailed description of the physical quantity

Definition at line 144 of file TMusrRunHeader.cpp.

References fDemand, fDescription, fError, fLabel, fUnit, and fValue.

Referenced by TMusrRunHeader::Init(), main(), and PRunDataHandler::WriteMusrRootFile().

◆ Set() [2/3]

void TMusrRunPhysicalQuantity::Set ( TString label,
Double_t demand,
Double_t value,
TString unit,
TString description = TString("n/a") )
virtual

set a physical quantity.

Parameters
labelof the physical quantity, e.g. 'Sample Temperature'
demandvalue of the physical quantity
valuemeasured value of the physical quantity
unitof the physical quantity, e.g. 'K'.
descriptionadditional more detailed description of the physical quantity

Definition at line 169 of file TMusrRunHeader.cpp.

References fDemand, fDescription, fError, fLabel, fUnit, fValue, and MRH_UNDEFINED.

◆ Set() [3/3]

void TMusrRunPhysicalQuantity::Set ( TString label,
Double_t value,
TString unit,
TString description = TString("n/a") )
virtual

set a physical quantity.

Parameters
labelof the physical quantity, e.g. 'Sample Temperature'
valuemeasured value of the physical quantity
unitof the physical quantity, e.g. 'K'.
descriptionadditional more detailed description of the physical quantity

Definition at line 193 of file TMusrRunHeader.cpp.

References fDemand, fDescription, fError, fLabel, fUnit, fValue, and MRH_UNDEFINED.

◆ SetDemand()

virtual void TMusrRunPhysicalQuantity::SetDemand ( Double_t val)
inlinevirtual

Definition at line 103 of file TMusrRunHeader.h.

References fDemand.

Referenced by TMusrRunHeader::ExtractHeaderInformationData().

◆ SetDescription() [1/2]

virtual void TMusrRunPhysicalQuantity::SetDescription ( const char * str)
inlinevirtual

Definition at line 109 of file TMusrRunHeader.h.

References fDescription.

◆ SetDescription() [2/2]

virtual void TMusrRunPhysicalQuantity::SetDescription ( TString & str)
inlinevirtual

Definition at line 108 of file TMusrRunHeader.h.

References fDescription.

Referenced by TMusrRunHeader::ExtractHeaderInformationData().

◆ SetError()

virtual void TMusrRunPhysicalQuantity::SetError ( Double_t err)
inlinevirtual

Definition at line 105 of file TMusrRunHeader.h.

References fError.

Referenced by TMusrRunHeader::ExtractHeaderInformationData().

◆ SetLabel() [1/2]

virtual void TMusrRunPhysicalQuantity::SetLabel ( const char * label)
inlinevirtual

Definition at line 102 of file TMusrRunHeader.h.

References fLabel.

◆ SetLabel() [2/2]

virtual void TMusrRunPhysicalQuantity::SetLabel ( TString & label)
inlinevirtual

Definition at line 101 of file TMusrRunHeader.h.

References fLabel.

Referenced by TMusrRunHeader::ExtractHeaderInformationData().

◆ SetUnit() [1/2]

virtual void TMusrRunPhysicalQuantity::SetUnit ( const char * unit)
inlinevirtual

Definition at line 107 of file TMusrRunHeader.h.

References fUnit.

◆ SetUnit() [2/2]

virtual void TMusrRunPhysicalQuantity::SetUnit ( TString & unit)
inlinevirtual

Definition at line 106 of file TMusrRunHeader.h.

References fUnit.

Referenced by TMusrRunHeader::ExtractHeaderInformationData().

◆ SetValue()

virtual void TMusrRunPhysicalQuantity::SetValue ( Double_t val)
inlinevirtual

Definition at line 104 of file TMusrRunHeader.h.

References fValue.

Referenced by TMusrRunHeader::ExtractHeaderInformationData().

Member Data Documentation

◆ fDemand

Double_t TMusrRunPhysicalQuantity::fDemand
private

demand value of the physical quantity, e.g. temperature setpoint

Definition at line 113 of file TMusrRunHeader.h.

Referenced by GetDemand(), Set(), Set(), Set(), SetDemand(), TMusrRunPhysicalQuantity(), TMusrRunPhysicalQuantity(), and TMusrRunPhysicalQuantity().

◆ fDescription

TString TMusrRunPhysicalQuantity::fDescription
private

a more detailed description of the physical quantity

Definition at line 117 of file TMusrRunHeader.h.

Referenced by GetDescription(), Set(), Set(), Set(), SetDescription(), SetDescription(), TMusrRunPhysicalQuantity(), TMusrRunPhysicalQuantity(), and TMusrRunPhysicalQuantity().

◆ fError

Double_t TMusrRunPhysicalQuantity::fError
private

estimated error (standard deviation) of the measured value

Definition at line 115 of file TMusrRunHeader.h.

Referenced by GetError(), Set(), Set(), Set(), SetError(), TMusrRunPhysicalQuantity(), TMusrRunPhysicalQuantity(), and TMusrRunPhysicalQuantity().

◆ fLabel

TString TMusrRunPhysicalQuantity::fLabel
private

property label, like ’Sample Temperature’ etc.

Definition at line 112 of file TMusrRunHeader.h.

Referenced by GetLabel(), Set(), Set(), Set(), SetLabel(), SetLabel(), TMusrRunPhysicalQuantity(), TMusrRunPhysicalQuantity(), and TMusrRunPhysicalQuantity().

◆ fUnit

TString TMusrRunPhysicalQuantity::fUnit
private

unit of the physical quantity

Definition at line 116 of file TMusrRunHeader.h.

Referenced by GetUnit(), Set(), Set(), Set(), SetUnit(), SetUnit(), TMusrRunPhysicalQuantity(), TMusrRunPhysicalQuantity(), and TMusrRunPhysicalQuantity().

◆ fValue

Double_t TMusrRunPhysicalQuantity::fValue
private

measured value of the physical quantity

Definition at line 114 of file TMusrRunHeader.h.

Referenced by GetValue(), Set(), Set(), Set(), SetValue(), TMusrRunPhysicalQuantity(), TMusrRunPhysicalQuantity(), and TMusrRunPhysicalQuantity().


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