musrfit 1.10.0
PRawRunData Class Reference

#include <PMusr.h>

Collaboration diagram for PRawRunData:

Public Member Functions

 PRawRunData ()
 
virtual ~PRawRunData ()
 
virtual const TString * GetVersion ()
 
virtual const TString * GetGenericValidatorUrl ()
 
virtual const TString * GetSpecificValidatorUrl ()
 
virtual const TString * GetGenerator ()
 
virtual const TString * GetComment ()
 
virtual const TString * GetFileName ()
 
virtual const TString * GetLaboratory ()
 
virtual const TString * GetBeamline ()
 
virtual const TString * GetInstrument ()
 
virtual const TString * GetRunName ()
 
virtual const TString * GetMuonSource ()
 
virtual const TString * GetMuonSpecies ()
 
virtual const Double_t GetMuonBeamMomentum ()
 
virtual const Double_t GetMuonSpinAngle ()
 
virtual const Int_t GetRunNumber ()
 
virtual const TString * GetRunTitle ()
 
virtual const TString * GetSetup ()
 
virtual const TString * GetStartTime ()
 
virtual const TString * GetStartDate ()
 
virtual const time_t GetStartDateTime ()
 
virtual const time_t CalcStartDateTime (bool &ok)
 
virtual const TString * GetStopTime ()
 
virtual const TString * GetStopDate ()
 
virtual const time_t GetStopDateTime ()
 
virtual const time_t CalcStopDateTime (bool &ok)
 
virtual const TString * GetCryoName ()
 
virtual const TString * GetSample ()
 
virtual const TString * GetOrientation ()
 
virtual const TString * GetMagnetName ()
 
virtual const Double_t GetField ()
 
virtual const UInt_t GetNoOfTemperatures ()
 
virtual const PDoublePairVectorGetTemperature () const
 
virtual const Double_t GetTemperature (const UInt_t idx)
 
virtual const Double_t GetTempError (const UInt_t idx)
 
virtual const Double_t GetEnergy ()
 
virtual const Double_t GetTransport ()
 
virtual const PDoubleVector GetRingAnode ()
 
virtual const Double_t GetRingAnode (const UInt_t idx)
 
virtual const Double_t GetTimeResolution ()
 
virtual const Bool_t IsPresent (UInt_t histoNo)
 
virtual const Double_t GetT0Bin (const UInt_t histoNo)
 
virtual const Double_t GetT0BinEstimated (const UInt_t histoNo)
 
virtual const PIntPair GetBkgBin (const UInt_t histoNo)
 
virtual const PIntPair GetGoodDataBin (const UInt_t histoNo)
 
virtual const PIntVector GetRedGreenOffset ()
 
virtual const Bool_t DeadTimeCorrectionReady ()
 
virtual const Int_t GetNumberOfGoodFrames ()
 
virtual const std::vector< float > GetDeadTimeParam ()
 
virtual const Double_t GetDeadTimeParam (const UInt_t histoNo)
 
virtual const UInt_t GetNoOfHistos ()
 
virtual const UInt_t GetNoOfHistosPerPeriod ()
 
virtual PRawRunDataSetGetDataSet (const UInt_t idx, Bool_t wantHistoNo=true)
 
virtual const PDoubleVectorGetDataBin (const UInt_t histoNo)
 
virtual const PNonMusrRawRunDataGetDataNonMusr ()
 
virtual void SetVersion (const TString &str)
 
virtual void SetGenericValidatorUrl (const TString &str)
 
virtual void SetSpecificValidatorUrl (const TString &str)
 
virtual void SetGenerator (const TString &str)
 
virtual void SetComment (const TString &str)
 
virtual void SetFileName (const TString &str)
 
virtual void SetLaboratory (const TString &str)
 
virtual void SetBeamline (const TString &str)
 
virtual void SetInstrument (const TString &str)
 
virtual void SetMuonSource (const TString &str)
 
virtual void SetMuonSpecies (const TString &str)
 
virtual void SetMuonBeamMomentum (const Double_t dval)
 
virtual void SetMuonSpinAngle (const Double_t dval)
 
virtual void SetRunName (const TString &str)
 
virtual void SetRunNumber (const Int_t &val)
 
virtual void SetRunTitle (const TString str)
 
virtual void SetSetup (const TString str)
 
virtual void SetStartTime (const TString str)
 
virtual void SetStartDate (const TString str)
 
virtual void SetStartDateTime (const time_t val)
 
virtual void SetStopTime (const TString str)
 
virtual void SetStopDate (const TString str)
 
virtual void SetStopDateTime (const time_t val)
 
virtual void SetMagnetName (const TString str)
 
virtual void SetField (const Double_t dval)
 
virtual void SetCryoName (const TString str)
 
virtual void SetSample (const TString str)
 
virtual void SetOrientation (const TString str)
 
virtual void ClearTemperature ()
 
virtual void SetTemperature (const UInt_t idx, const Double_t temp, const Double_t errTemp)
 
virtual void SetTempError (const UInt_t idx, const Double_t errTemp)
 
virtual void SetEnergy (const Double_t dval)
 
virtual void SetTransport (const Double_t dval)
 
virtual void SetRingAnode (const UInt_t idx, const Double_t dval)
 
virtual void SetTimeResolution (const Double_t dval)
 
virtual void SetRedGreenOffset (PIntVector &ivec)
 
virtual void SetNumberOfGoodFrames (Int_t ival)
 
virtual void SetDeadTimeParam (std::vector< float > dvec)
 
virtual void SetNoOfHistosPerPeriod (UInt_t ival)
 
virtual void SetDataSet (PRawRunDataSet &dataSet, UInt_t idx=-1)
 

Public Attributes

PNonMusrRawRunData fDataNonMusr
 keeps all ascii- or db-file info in case of nonMusr fit
 

Private Attributes

TString fVersion {"n/a"}
 keeps the version information of the data file
 
TString fGenericValidatorURL {"n/a"}
 keeps the generic validator MusrRoot URL
 
TString fSpecificValidatorURL {"n/a"}
 keeps the instrument specific validator MusrRoot URL
 
TString fGenerator {"n/a"}
 keeps the data file generator name
 
TString fComment {"n/a"}
 keeps the data file comment
 
TString fFileName {"n/a"}
 keeps the name of the original data file
 
TString fLaboratory {"n/a"}
 keeps the name of the laboratory, e.g. PSI, ISIS, TRIUMF, JPARC
 
TString fBeamline {"n/a"}
 keeps the name of the be beamline, e.g. muE4, piM3.1, ...
 
TString fInstrument {"n/a"}
 keeps the name of the instrument, e.g. LEM, GPS, MUSR, EMU, ...
 
TString fMuonSource {"n/a"}
 keeps the type of muon source, e.g. continous surface beam, pulsed beam, low energy muon beam
 
TString fMuonSpecies {"n/a"}
 positive muon or negative muon
 
Double_t fMuonBeamMomentum {PMUSR_UNDEFINED}
 given in MeV/c, for LEM this is the momentum of the secondary beamline and NOT the momentum of the low energy beam
 
Double_t fMuonSpinAngle {PMUSR_UNDEFINED}
 gives the muon spin angle in degrees (reference frame depends on the instrument)
 
TString fRunName {"n/a"}
 name of the run as found in the msr-file
 
Int_t fRunNumber {-1}
 run number
 
TString fRunTitle {"n/a"}
 run title
 
TString fSetup {"n/a"}
 description of the setup of this run
 
TString fStartTime {"n/a"}
 start time of the run
 
TString fStartDate {"n/a"}
 start date of the run
 
time_t fStartDateTimeSec {0}
 start run given as time_t object
 
TString fStopTime {"n/a"}
 stop time of the run
 
TString fStopDate {"n/a"}
 stop date of the run
 
time_t fStopDateTimeSec {0}
 stop run given as time_t object
 
TString fCryo {"n/a"}
 name of the cryo
 
TString fSample {"n/a"}
 description of the sample
 
TString fOrientation {"n/a"}
 description of the orientation
 
TString fMagnet {"n/a"}
 name of the sample magnet
 
Double_t fField {PMUSR_UNDEFINED}
 magnetic field value in (G)
 
PDoublePairVector fTemp
 measured temperatures and standard deviations during the run
 
Double_t fEnergy {PMUSR_UNDEFINED}
 implantation energy of the muon
 
Double_t fTransport {PMUSR_UNDEFINED}
 LEM transport settings (Moderator HV)
 
PDoubleVector fRingAnode
 LEM ring anode HVs (L,R[,T,B])
 
Double_t fTimeResolution {PMUSR_UNDEFINED}
 time resolution of the run in (ns)
 
PIntVector fRedGreenOffset
 keeps the Red/Green offsets
 
std::vector< float > fDeadTimeParam
 dead time parameter vector needed for pulsed sources
 
Int_t fNumberOfGoodFrames {0}
 needed to correct dead times at pulsed sources
 
UInt_t fNoOfHistosPerPeriod {0}
 number of histos per period (Red/Green mode); 0 means the run has no periods
 
PRawRunDataVector fData
 keeps the histos together with the histo related properties such as T0, first good bin, etc.
 

Detailed Description

Complete raw data container for a single run.

This class stores all raw data and metadata for one experimental run, including run header information (temperature, field, setup details), histogram data (for μSR) or column data (for non-μSR), and data file metadata. It serves as the primary interface between data file readers and the fitting/analysis framework.

Supports multiple data formats:

  • MusrRoot files (.root)
  • NeXus files (.nxs)
  • MUD files (.msr from TRIUMF)
  • PSI binary files
  • ASCII data files (for non-μSR)
  • Database files (.db, .dat for non-μSR)

Definition at line 839 of file PMusr.h.

Constructor & Destructor Documentation

◆ PRawRunData()

◆ ~PRawRunData()

PRawRunData::~PRawRunData ( )
virtual

Destructor.

Definition at line 578 of file PMusr.cpp.

References fRedGreenOffset, fRingAnode, and fTemp.

Member Function Documentation

◆ CalcStartDateTime()

const time_t PRawRunData::CalcStartDateTime ( bool & ok)
virtual

Calculate time_t of the present fStartDate and fStartTime.

Parameters
ok,trueif time_t conversion has been successful
Returns
time_t of the present fStartDate and fStartTime

Definition at line 595 of file PMusr.cpp.

References fStartDate, and fStartTime.

◆ CalcStopDateTime()

const time_t PRawRunData::CalcStopDateTime ( bool & ok)
virtual

Calculate time_t of the present fStopDate and fStopTime.

Parameters
ok,trueif time_t conversion has been successful
Returns
time_t of the present fStopDate and fStopTime

Definition at line 621 of file PMusr.cpp.

References fStopDate, and fStopTime.

◆ ClearTemperature()

virtual void PRawRunData::ClearTemperature ( )
inlinevirtual

Definition at line 927 of file PMusr.h.

References fTemp.

Referenced by PRunDataHandler::ReadRootFile().

◆ DeadTimeCorrectionReady()

const Bool_t PRawRunData::DeadTimeCorrectionReady ( )
virtual

Checks if deadtime correction information is sufficient to apply it. This means that fNumberOfGoodFrames must be present and the deadtime parameter vector.

Returns
true if ready to apply deadtime correctio, false otherwise

Definition at line 768 of file PMusr.cpp.

References fDeadTimeParam, and fNumberOfGoodFrames.

Referenced by PRunBase::DeadTimeCorrection().

◆ GetBeamline()

virtual const TString * PRawRunData::GetBeamline ( )
inlinevirtual

Definition at line 851 of file PMusr.h.

References fBeamline.

◆ GetBkgBin()

virtual const PIntPair PRawRunData::GetBkgBin ( const UInt_t histoNo)
inlinevirtual

Definition at line 886 of file PMusr.h.

References fData.

◆ GetComment()

virtual const TString * PRawRunData::GetComment ( )
inlinevirtual

Definition at line 848 of file PMusr.h.

References fComment.

◆ GetCryoName()

virtual const TString * PRawRunData::GetCryoName ( )
inlinevirtual

Definition at line 869 of file PMusr.h.

References fCryo.

Referenced by musrFT_getMetaInfo().

◆ GetDataBin()

◆ GetDataNonMusr()

virtual const PNonMusrRawRunData * PRawRunData::GetDataNonMusr ( )
inlinevirtual

Definition at line 897 of file PMusr.h.

References fDataNonMusr.

◆ GetDataSet()

PRawRunDataSet * PRawRunData::GetDataSet ( const UInt_t idx,
Bool_t wantHistoNo = true )
virtual

Returns a raw muSR run data set.

return:

  • pointer of the data vector, if idx is within proper boundaries
  • 0, otherwise
Parameters
idxeither the histogram number or the index, depending in wantHistoNo-flag
wantHistoNoflag indicating if idx is the histoNo or the index. Default is wantHistoNo==true

Definition at line 750 of file PMusr.cpp.

References fData.

Referenced by main().

◆ GetDeadTimeParam() [1/2]

virtual const std::vector< float > PRawRunData::GetDeadTimeParam ( )
inlinevirtual

Definition at line 891 of file PMusr.h.

References fDeadTimeParam.

Referenced by PRunBase::DeadTimeCorrection().

◆ GetDeadTimeParam() [2/2]

const Double_t PRawRunData::GetDeadTimeParam ( const UInt_t histoNo)
virtual

Returns the dead time parameter belonging to the histogram number histoNo.

The histogram numbers of Red/Green (period) data carry the period offset, i.e. histoNo = period*PERIOD_HISTO_OFFSET + histo, whereas the dead time parameters are stored contiguously, period-by-period, and hence need to be addressed as period*fNoOfHistosPerPeriod + histo - 1.

return:

  • dead time parameter, if it can be addressed
  • 0.0, otherwise, i.e. no dead time correction will be applied
Parameters
histoNohistogram number as given in the msr-file

Definition at line 720 of file PMusr.cpp.

References fDeadTimeParam, fNoOfHistosPerPeriod, and PERIOD_HISTO_OFFSET.

◆ GetEnergy()

◆ GetField()

◆ GetFileName()

virtual const TString * PRawRunData::GetFileName ( )
inlinevirtual

Definition at line 849 of file PMusr.h.

References fFileName.

◆ GetGenerator()

virtual const TString * PRawRunData::GetGenerator ( )
inlinevirtual

Definition at line 847 of file PMusr.h.

References fGenerator.

◆ GetGenericValidatorUrl()

virtual const TString * PRawRunData::GetGenericValidatorUrl ( )
inlinevirtual

Definition at line 845 of file PMusr.h.

References fGenericValidatorURL.

◆ GetGoodDataBin()

virtual const PIntPair PRawRunData::GetGoodDataBin ( const UInt_t histoNo)
inlinevirtual

Definition at line 887 of file PMusr.h.

References fData.

◆ GetInstrument()

virtual const TString * PRawRunData::GetInstrument ( )
inlinevirtual

Definition at line 852 of file PMusr.h.

References fInstrument.

◆ GetLaboratory()

virtual const TString * PRawRunData::GetLaboratory ( )
inlinevirtual

Definition at line 850 of file PMusr.h.

References fLaboratory.

◆ GetMagnetName()

virtual const TString * PRawRunData::GetMagnetName ( )
inlinevirtual

Definition at line 872 of file PMusr.h.

References fMagnet.

◆ GetMuonBeamMomentum()

virtual const Double_t PRawRunData::GetMuonBeamMomentum ( )
inlinevirtual

Definition at line 856 of file PMusr.h.

References fMuonBeamMomentum.

◆ GetMuonSource()

virtual const TString * PRawRunData::GetMuonSource ( )
inlinevirtual

Definition at line 854 of file PMusr.h.

References fMuonSource.

◆ GetMuonSpecies()

virtual const TString * PRawRunData::GetMuonSpecies ( )
inlinevirtual

Definition at line 855 of file PMusr.h.

References fMuonSpecies.

◆ GetMuonSpinAngle()

virtual const Double_t PRawRunData::GetMuonSpinAngle ( )
inlinevirtual

Definition at line 857 of file PMusr.h.

References fMuonSpinAngle.

Referenced by PMsr2Data::WriteOutput().

◆ GetNoOfHistos()

virtual const UInt_t PRawRunData::GetNoOfHistos ( )
inlinevirtual

Definition at line 893 of file PMusr.h.

References fData.

Referenced by main(), main(), and PRunDataHandler::ReadWkmFile().

◆ GetNoOfHistosPerPeriod()

virtual const UInt_t PRawRunData::GetNoOfHistosPerPeriod ( )
inlinevirtual

Definition at line 894 of file PMusr.h.

References fNoOfHistosPerPeriod.

◆ GetNoOfTemperatures()

◆ GetNumberOfGoodFrames()

virtual const Int_t PRawRunData::GetNumberOfGoodFrames ( )
inlinevirtual

Definition at line 890 of file PMusr.h.

References fNumberOfGoodFrames.

Referenced by PRunBase::DeadTimeCorrection().

◆ GetOrientation()

virtual const TString * PRawRunData::GetOrientation ( )
inlinevirtual

Definition at line 871 of file PMusr.h.

References fOrientation.

◆ GetRedGreenOffset()

virtual const PIntVector PRawRunData::GetRedGreenOffset ( )
inlinevirtual

Definition at line 888 of file PMusr.h.

References fRedGreenOffset.

◆ GetRingAnode() [1/2]

virtual const PDoubleVector PRawRunData::GetRingAnode ( )
inlinevirtual

Definition at line 880 of file PMusr.h.

References fRingAnode.

Referenced by PMsr2Data::WriteOutput().

◆ GetRingAnode() [2/2]

const Double_t PRawRunData::GetRingAnode ( const UInt_t idx)
virtual

Returns the value of a ring anode high voltage. (idx = 0: RAL, 1: RAR, 2: RAT, 3: RAB)

return:

  • ring anode HV value, if idx is within proper boundaries
  • PMUSR_UNDEFINED, otherwise
Parameters
idxindex of the ring anode whished

Definition at line 693 of file PMusr.cpp.

References fRingAnode, and PMUSR_UNDEFINED.

◆ GetRunName()

virtual const TString * PRawRunData::GetRunName ( )
inlinevirtual

Definition at line 853 of file PMusr.h.

References fRunName.

◆ GetRunNumber()

virtual const Int_t PRawRunData::GetRunNumber ( )
inlinevirtual

Definition at line 858 of file PMusr.h.

References fRunNumber.

◆ GetRunTitle()

virtual const TString * PRawRunData::GetRunTitle ( )
inlinevirtual

Definition at line 859 of file PMusr.h.

References fRunTitle.

Referenced by main().

◆ GetSample()

virtual const TString * PRawRunData::GetSample ( )
inlinevirtual

Definition at line 870 of file PMusr.h.

References fSample.

Referenced by musrFT_getMetaInfo().

◆ GetSetup()

virtual const TString * PRawRunData::GetSetup ( )
inlinevirtual

Definition at line 860 of file PMusr.h.

References fSetup.

◆ GetSpecificValidatorUrl()

virtual const TString * PRawRunData::GetSpecificValidatorUrl ( )
inlinevirtual

Definition at line 846 of file PMusr.h.

References fSpecificValidatorURL.

◆ GetStartDate()

virtual const TString * PRawRunData::GetStartDate ( )
inlinevirtual

Definition at line 862 of file PMusr.h.

References fStartDate.

◆ GetStartDateTime()

virtual const time_t PRawRunData::GetStartDateTime ( )
inlinevirtual

Definition at line 863 of file PMusr.h.

References fStartDateTimeSec.

◆ GetStartTime()

virtual const TString * PRawRunData::GetStartTime ( )
inlinevirtual

Definition at line 861 of file PMusr.h.

References fStartTime.

◆ GetStopDate()

virtual const TString * PRawRunData::GetStopDate ( )
inlinevirtual

Definition at line 866 of file PMusr.h.

References fStopDate.

◆ GetStopDateTime()

virtual const time_t PRawRunData::GetStopDateTime ( )
inlinevirtual

Definition at line 867 of file PMusr.h.

References fStopDateTimeSec.

◆ GetStopTime()

virtual const TString * PRawRunData::GetStopTime ( )
inlinevirtual

Definition at line 865 of file PMusr.h.

References fStopTime.

◆ GetT0Bin()

virtual const Double_t PRawRunData::GetT0Bin ( const UInt_t histoNo)
inlinevirtual

◆ GetT0BinEstimated()

virtual const Double_t PRawRunData::GetT0BinEstimated ( const UInt_t histoNo)
inlinevirtual

◆ GetTemperature() [1/2]

◆ GetTemperature() [2/2]

const Double_t PRawRunData::GetTemperature ( const UInt_t idx)
virtual

Returns the temperature of a muSR run.

return:

  • temperature value, if idx is within proper boundaries
  • PMUSR_UNDEFINED, otherwise
Parameters
idxindex of the temperature whished

Definition at line 649 of file PMusr.cpp.

References fTemp, and PMUSR_UNDEFINED.

◆ GetTempError()

const Double_t PRawRunData::GetTempError ( const UInt_t idx)
virtual

Returns the error estimate of the temperature of a muSR run.

return:

  • temperature error value, if idx is within proper boundaries
  • PMUSR_UNDEFINED, otherwise
Parameters
idxindex of the temperature error whished

Definition at line 671 of file PMusr.cpp.

References fTemp, and PMUSR_UNDEFINED.

Referenced by PMsr2Data::WriteOutput().

◆ GetTimeResolution()

◆ GetTransport()

virtual const Double_t PRawRunData::GetTransport ( )
inlinevirtual

Definition at line 879 of file PMusr.h.

References fTransport.

Referenced by PMsr2Data::WriteOutput().

◆ GetVersion()

virtual const TString * PRawRunData::GetVersion ( )
inlinevirtual

Definition at line 844 of file PMusr.h.

References fVersion.

◆ IsPresent()

virtual const Bool_t PRawRunData::IsPresent ( UInt_t histoNo)
inlinevirtual

◆ SetBeamline()

virtual void PRawRunData::SetBeamline ( const TString & str)
inlinevirtual

◆ SetComment()

virtual void PRawRunData::SetComment ( const TString & str)
inlinevirtual

Definition at line 903 of file PMusr.h.

References fComment.

Referenced by PRunDataHandler::ReadPsiBinFile(), and PRunDataHandler::ReadRootFile().

◆ SetCryoName()

virtual void PRawRunData::SetCryoName ( const TString str)
inlinevirtual

Definition at line 924 of file PMusr.h.

References fCryo.

Referenced by PRunDataHandler::ReadRootFile().

◆ SetDataSet()

◆ SetDeadTimeParam()

virtual void PRawRunData::SetDeadTimeParam ( std::vector< float > dvec)
inlinevirtual

Definition at line 936 of file PMusr.h.

References fDeadTimeParam.

Referenced by PRunDataHandler::ReadNexusFileIdf1(), and PRunDataHandler::ReadNexusFileIdf2().

◆ SetEnergy()

virtual void PRawRunData::SetEnergy ( const Double_t dval)
inlinevirtual

◆ SetField()

◆ SetFileName()

virtual void PRawRunData::SetFileName ( const TString & str)
inlinevirtual

Definition at line 904 of file PMusr.h.

References fFileName.

Referenced by PRunDataHandler::ReadPsiBinFile(), and PRunDataHandler::ReadRootFile().

◆ SetGenerator()

virtual void PRawRunData::SetGenerator ( const TString & str)
inlinevirtual

Definition at line 902 of file PMusr.h.

References fGenerator.

Referenced by main(), and PRunDataHandler::ReadRootFile().

◆ SetGenericValidatorUrl()

virtual void PRawRunData::SetGenericValidatorUrl ( const TString & str)
inlinevirtual

Definition at line 900 of file PMusr.h.

References fGenericValidatorURL.

Referenced by PRunDataHandler::ReadRootFile().

◆ SetInstrument()

virtual void PRawRunData::SetInstrument ( const TString & str)
inlinevirtual

◆ SetLaboratory()

virtual void PRawRunData::SetLaboratory ( const TString & str)
inlinevirtual

◆ SetMagnetName()

virtual void PRawRunData::SetMagnetName ( const TString str)
inlinevirtual

Definition at line 922 of file PMusr.h.

References fMagnet.

Referenced by PRunDataHandler::ReadRootFile().

◆ SetMuonBeamMomentum()

virtual void PRawRunData::SetMuonBeamMomentum ( const Double_t dval)
inlinevirtual

Definition at line 910 of file PMusr.h.

References fMuonBeamMomentum.

Referenced by PRunDataHandler::ReadRootFile().

◆ SetMuonSource()

virtual void PRawRunData::SetMuonSource ( const TString & str)
inlinevirtual

◆ SetMuonSpecies()

virtual void PRawRunData::SetMuonSpecies ( const TString & str)
inlinevirtual

◆ SetMuonSpinAngle()

virtual void PRawRunData::SetMuonSpinAngle ( const Double_t dval)
inlinevirtual

Definition at line 911 of file PMusr.h.

References fMuonSpinAngle.

Referenced by PRunDataHandler::ReadRootFile().

◆ SetNoOfHistosPerPeriod()

virtual void PRawRunData::SetNoOfHistosPerPeriod ( UInt_t ival)
inlinevirtual

Definition at line 937 of file PMusr.h.

References fNoOfHistosPerPeriod.

Referenced by PRunDataHandler::ReadNexusFileIdf2().

◆ SetNumberOfGoodFrames()

virtual void PRawRunData::SetNumberOfGoodFrames ( Int_t ival)
inlinevirtual

◆ SetOrientation()

virtual void PRawRunData::SetOrientation ( const TString str)
inlinevirtual

◆ SetRedGreenOffset()

virtual void PRawRunData::SetRedGreenOffset ( PIntVector & ivec)
inlinevirtual

Definition at line 934 of file PMusr.h.

References fRedGreenOffset.

Referenced by PRunDataHandler::ReadRootFile().

◆ SetRingAnode()

void PRawRunData::SetRingAnode ( const UInt_t idx,
const Double_t dval )
virtual

Store the ring anode value at index position idx.

Parameters
idxposition at which to store the temperature value
dvalring anode value

Definition at line 784 of file PMusr.cpp.

References fRingAnode.

Referenced by PRunDataHandler::ReadNexusFileIdf1(), PRunDataHandler::ReadNexusFileIdf2(), and PRunDataHandler::ReadRootFile().

◆ SetRunName()

◆ SetRunNumber()

virtual void PRawRunData::SetRunNumber ( const Int_t & val)
inlinevirtual

◆ SetRunTitle()

◆ SetSample()

virtual void PRawRunData::SetSample ( const TString str)
inlinevirtual

◆ SetSetup()

◆ SetSpecificValidatorUrl()

virtual void PRawRunData::SetSpecificValidatorUrl ( const TString & str)
inlinevirtual

Definition at line 901 of file PMusr.h.

References fSpecificValidatorURL.

Referenced by PRunDataHandler::ReadRootFile().

◆ SetStartDate()

virtual void PRawRunData::SetStartDate ( const TString str)
inlinevirtual

◆ SetStartDateTime()

virtual void PRawRunData::SetStartDateTime ( const time_t val)
inlinevirtual

Definition at line 918 of file PMusr.h.

References fStartDateTimeSec.

Referenced by PRunDataHandler::ReadMudFile(), and PRunDataHandler::ReadRootFile().

◆ SetStartTime()

virtual void PRawRunData::SetStartTime ( const TString str)
inlinevirtual

◆ SetStopDate()

virtual void PRawRunData::SetStopDate ( const TString str)
inlinevirtual

◆ SetStopDateTime()

virtual void PRawRunData::SetStopDateTime ( const time_t val)
inlinevirtual

Definition at line 921 of file PMusr.h.

References fStopDateTimeSec.

Referenced by PRunDataHandler::ReadMudFile(), and PRunDataHandler::ReadRootFile().

◆ SetStopTime()

virtual void PRawRunData::SetStopTime ( const TString str)
inlinevirtual

◆ SetTemperature()

void PRawRunData::SetTemperature ( const UInt_t idx,
const Double_t temp,
const Double_t errTemp )
virtual

Store the temperature with its error at index position idx.

Parameters
idxposition at which to store the temperature value
temptemperature value
errTemperror estimate of the temperature value

Definition at line 801 of file PMusr.cpp.

References fTemp.

Referenced by PRunDataHandler::ReadAsciiFile(), PRunDataHandler::ReadMduAsciiFile(), PRunDataHandler::ReadMudFile(), PRunDataHandler::ReadNexusFileIdf1(), PRunDataHandler::ReadNexusFileIdf2(), PRunDataHandler::ReadPsiBinFile(), PRunDataHandler::ReadRootFile(), and PRunDataHandler::ReadWkmFile().

◆ SetTempError()

void PRawRunData::SetTempError ( const UInt_t idx,
const Double_t errTemp )
virtual

Store the temperature error at index position idx.

Parameters
idxposition at which to store the temperature value
errTemperror estimate of the temperature value

Definition at line 819 of file PMusr.cpp.

References fTemp, and PMUSR_UNDEFINED.

Referenced by PRunDataHandler::ReadWkmFile().

◆ SetTimeResolution()

◆ SetTransport()

virtual void PRawRunData::SetTransport ( const Double_t dval)
inlinevirtual

◆ SetVersion()

virtual void PRawRunData::SetVersion ( const TString & str)
inlinevirtual

Definition at line 899 of file PMusr.h.

References fVersion.

Referenced by PRunDataHandler::ReadRootFile().

Member Data Documentation

◆ fBeamline

TString PRawRunData::fBeamline {"n/a"}
private

keeps the name of the be beamline, e.g. muE4, piM3.1, ...

Definition at line 950 of file PMusr.h.

Referenced by GetBeamline(), PRawRunData(), and SetBeamline().

◆ fComment

TString PRawRunData::fComment {"n/a"}
private

keeps the data file comment

Definition at line 947 of file PMusr.h.

Referenced by GetComment(), PRawRunData(), and SetComment().

◆ fCryo

TString PRawRunData::fCryo {"n/a"}
private

name of the cryo

Definition at line 966 of file PMusr.h.

Referenced by GetCryoName(), PRawRunData(), and SetCryoName().

◆ fData

PRawRunDataVector PRawRunData::fData
private

keeps the histos together with the histo related properties such as T0, first good bin, etc.

Definition at line 981 of file PMusr.h.

Referenced by GetBkgBin(), GetDataBin(), GetDataSet(), GetGoodDataBin(), GetNoOfHistos(), GetT0Bin(), GetT0BinEstimated(), IsPresent(), and SetDataSet().

◆ fDataNonMusr

PNonMusrRawRunData PRawRunData::fDataNonMusr

◆ fDeadTimeParam

std::vector<float> PRawRunData::fDeadTimeParam
private

dead time parameter vector needed for pulsed sources

Definition at line 977 of file PMusr.h.

Referenced by DeadTimeCorrectionReady(), GetDeadTimeParam(), GetDeadTimeParam(), and SetDeadTimeParam().

◆ fEnergy

Double_t PRawRunData::fEnergy {PMUSR_UNDEFINED}
private

implantation energy of the muon

Definition at line 972 of file PMusr.h.

Referenced by GetEnergy(), PRawRunData(), and SetEnergy().

◆ fField

Double_t PRawRunData::fField {PMUSR_UNDEFINED}
private

magnetic field value in (G)

Definition at line 970 of file PMusr.h.

Referenced by GetField(), PRawRunData(), and SetField().

◆ fFileName

TString PRawRunData::fFileName {"n/a"}
private

keeps the name of the original data file

Definition at line 948 of file PMusr.h.

Referenced by GetFileName(), PRawRunData(), and SetFileName().

◆ fGenerator

TString PRawRunData::fGenerator {"n/a"}
private

keeps the data file generator name

Definition at line 946 of file PMusr.h.

Referenced by GetGenerator(), PRawRunData(), and SetGenerator().

◆ fGenericValidatorURL

TString PRawRunData::fGenericValidatorURL {"n/a"}
private

keeps the generic validator MusrRoot URL

Definition at line 944 of file PMusr.h.

Referenced by GetGenericValidatorUrl(), PRawRunData(), and SetGenericValidatorUrl().

◆ fInstrument

TString PRawRunData::fInstrument {"n/a"}
private

keeps the name of the instrument, e.g. LEM, GPS, MUSR, EMU, ...

Definition at line 951 of file PMusr.h.

Referenced by GetInstrument(), PRawRunData(), and SetInstrument().

◆ fLaboratory

TString PRawRunData::fLaboratory {"n/a"}
private

keeps the name of the laboratory, e.g. PSI, ISIS, TRIUMF, JPARC

Definition at line 949 of file PMusr.h.

Referenced by GetLaboratory(), PRawRunData(), and SetLaboratory().

◆ fMagnet

TString PRawRunData::fMagnet {"n/a"}
private

name of the sample magnet

Definition at line 969 of file PMusr.h.

Referenced by GetMagnetName(), PRawRunData(), and SetMagnetName().

◆ fMuonBeamMomentum

Double_t PRawRunData::fMuonBeamMomentum {PMUSR_UNDEFINED}
private

given in MeV/c, for LEM this is the momentum of the secondary beamline and NOT the momentum of the low energy beam

Definition at line 954 of file PMusr.h.

Referenced by GetMuonBeamMomentum(), PRawRunData(), and SetMuonBeamMomentum().

◆ fMuonSource

TString PRawRunData::fMuonSource {"n/a"}
private

keeps the type of muon source, e.g. continous surface beam, pulsed beam, low energy muon beam

Definition at line 952 of file PMusr.h.

Referenced by GetMuonSource(), PRawRunData(), and SetMuonSource().

◆ fMuonSpecies

TString PRawRunData::fMuonSpecies {"n/a"}
private

positive muon or negative muon

Definition at line 953 of file PMusr.h.

Referenced by GetMuonSpecies(), PRawRunData(), and SetMuonSpecies().

◆ fMuonSpinAngle

Double_t PRawRunData::fMuonSpinAngle {PMUSR_UNDEFINED}
private

gives the muon spin angle in degrees (reference frame depends on the instrument)

Definition at line 955 of file PMusr.h.

Referenced by GetMuonSpinAngle(), PRawRunData(), and SetMuonSpinAngle().

◆ fNoOfHistosPerPeriod

UInt_t PRawRunData::fNoOfHistosPerPeriod {0}
private

number of histos per period (Red/Green mode); 0 means the run has no periods

Definition at line 979 of file PMusr.h.

Referenced by GetDeadTimeParam(), GetNoOfHistosPerPeriod(), and SetNoOfHistosPerPeriod().

◆ fNumberOfGoodFrames

Int_t PRawRunData::fNumberOfGoodFrames {0}
private

needed to correct dead times at pulsed sources

Definition at line 978 of file PMusr.h.

Referenced by DeadTimeCorrectionReady(), GetNumberOfGoodFrames(), and SetNumberOfGoodFrames().

◆ fOrientation

TString PRawRunData::fOrientation {"n/a"}
private

description of the orientation

Definition at line 968 of file PMusr.h.

Referenced by GetOrientation(), PRawRunData(), and SetOrientation().

◆ fRedGreenOffset

PIntVector PRawRunData::fRedGreenOffset
private

keeps the Red/Green offsets

Definition at line 976 of file PMusr.h.

Referenced by GetRedGreenOffset(), PRawRunData(), SetRedGreenOffset(), and ~PRawRunData().

◆ fRingAnode

PDoubleVector PRawRunData::fRingAnode
private

LEM ring anode HVs (L,R[,T,B])

Definition at line 974 of file PMusr.h.

Referenced by GetRingAnode(), GetRingAnode(), SetRingAnode(), and ~PRawRunData().

◆ fRunName

TString PRawRunData::fRunName {"n/a"}
private

name of the run as found in the msr-file

Definition at line 956 of file PMusr.h.

Referenced by GetRunName(), PRawRunData(), and SetRunName().

◆ fRunNumber

Int_t PRawRunData::fRunNumber {-1}
private

run number

Definition at line 957 of file PMusr.h.

Referenced by GetRunNumber(), PRawRunData(), and SetRunNumber().

◆ fRunTitle

TString PRawRunData::fRunTitle {"n/a"}
private

run title

Definition at line 958 of file PMusr.h.

Referenced by GetRunTitle(), PRawRunData(), and SetRunTitle().

◆ fSample

TString PRawRunData::fSample {"n/a"}
private

description of the sample

Definition at line 967 of file PMusr.h.

Referenced by GetSample(), PRawRunData(), and SetSample().

◆ fSetup

TString PRawRunData::fSetup {"n/a"}
private

description of the setup of this run

Definition at line 959 of file PMusr.h.

Referenced by GetSetup(), PRawRunData(), and SetSetup().

◆ fSpecificValidatorURL

TString PRawRunData::fSpecificValidatorURL {"n/a"}
private

keeps the instrument specific validator MusrRoot URL

Definition at line 945 of file PMusr.h.

Referenced by GetSpecificValidatorUrl(), PRawRunData(), and SetSpecificValidatorUrl().

◆ fStartDate

TString PRawRunData::fStartDate {"n/a"}
private

start date of the run

Definition at line 961 of file PMusr.h.

Referenced by CalcStartDateTime(), GetStartDate(), PRawRunData(), and SetStartDate().

◆ fStartDateTimeSec

time_t PRawRunData::fStartDateTimeSec {0}
private

start run given as time_t object

Definition at line 962 of file PMusr.h.

Referenced by GetStartDateTime(), PRawRunData(), and SetStartDateTime().

◆ fStartTime

TString PRawRunData::fStartTime {"n/a"}
private

start time of the run

Definition at line 960 of file PMusr.h.

Referenced by CalcStartDateTime(), GetStartTime(), PRawRunData(), and SetStartTime().

◆ fStopDate

TString PRawRunData::fStopDate {"n/a"}
private

stop date of the run

Definition at line 964 of file PMusr.h.

Referenced by CalcStopDateTime(), GetStopDate(), PRawRunData(), and SetStopDate().

◆ fStopDateTimeSec

time_t PRawRunData::fStopDateTimeSec {0}
private

stop run given as time_t object

Definition at line 965 of file PMusr.h.

Referenced by GetStopDateTime(), PRawRunData(), and SetStopDateTime().

◆ fStopTime

TString PRawRunData::fStopTime {"n/a"}
private

stop time of the run

Definition at line 963 of file PMusr.h.

Referenced by CalcStopDateTime(), GetStopTime(), PRawRunData(), and SetStopTime().

◆ fTemp

PDoublePairVector PRawRunData::fTemp
private

measured temperatures and standard deviations during the run

Definition at line 971 of file PMusr.h.

Referenced by ClearTemperature(), GetNoOfTemperatures(), GetTemperature(), GetTemperature(), GetTempError(), SetTemperature(), SetTempError(), and ~PRawRunData().

◆ fTimeResolution

Double_t PRawRunData::fTimeResolution {PMUSR_UNDEFINED}
private

time resolution of the run in (ns)

Definition at line 975 of file PMusr.h.

Referenced by GetTimeResolution(), PRawRunData(), and SetTimeResolution().

◆ fTransport

Double_t PRawRunData::fTransport {PMUSR_UNDEFINED}
private

LEM transport settings (Moderator HV)

Definition at line 973 of file PMusr.h.

Referenced by GetTransport(), PRawRunData(), and SetTransport().

◆ fVersion

TString PRawRunData::fVersion {"n/a"}
private

keeps the version information of the data file

Definition at line 943 of file PMusr.h.

Referenced by GetVersion(), PRawRunData(), and SetVersion().


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