musrfit  1.9.2
PMsrRunBlock Class Reference

#include <PMusr.h>

Public Member Functions

 PMsrRunBlock ()
 
virtual ~PMsrRunBlock ()
 
virtual void CleanUp ()
 
virtual UInt_t GetRunNameSize ()
 
virtual TString * GetRunName (UInt_t idx=0)
 
virtual UInt_t GetBeamlineSize ()
 
virtual TString * GetBeamline (UInt_t idx=0)
 
virtual UInt_t GetInstituteSize ()
 
virtual TString * GetInstitute (UInt_t idx=0)
 
virtual UInt_t GetFileFormatSize ()
 
virtual TString * GetFileFormat (UInt_t idx=0)
 
virtual Int_t GetFitType ()
 
virtual Int_t GetAlphaParamNo ()
 
virtual Int_t GetBetaParamNo ()
 
virtual Int_t GetNormParamNo ()
 
virtual Int_t GetBkgFitParamNo ()
 
virtual Int_t GetLifetimeParamNo ()
 
virtual Bool_t IsLifetimeCorrected ()
 
virtual PIntVectorGetMap ()
 
virtual Int_t GetMap (UInt_t idx)
 
virtual UInt_t GetForwardHistoNoSize ()
 
virtual Int_t GetForwardHistoNo (UInt_t idx=0)
 
virtual UInt_t GetBackwardHistoNoSize ()
 
virtual Int_t GetBackwardHistoNo (UInt_t idx=0)
 
virtual Double_t GetBkgEstimated (UInt_t idx)
 
virtual Double_t GetBkgFix (UInt_t idx)
 
virtual Int_t GetBkgRange (UInt_t idx)
 
virtual Int_t GetDataRange (UInt_t idx)
 
virtual UInt_t GetT0BinSize ()
 
virtual Double_t GetT0Bin (UInt_t idx=0)
 
virtual UInt_t GetAddT0BinEntries ()
 
virtual Int_t GetAddT0BinSize (UInt_t addRunIdx)
 
virtual Double_t GetAddT0Bin (UInt_t addRunIdx, UInt_t histoIdx)
 
virtual Bool_t IsFitRangeInBin ()
 
virtual Double_t GetFitRange (UInt_t idx)
 
virtual Int_t GetFitRangeOffset (UInt_t idx)
 
virtual Int_t GetPacking ()
 
virtual Double_t GetEstimatedAlpha ()
 
virtual Int_t GetXDataIndex ()
 
virtual Int_t GetYDataIndex ()
 
virtual TString * GetXDataLabel ()
 
virtual TString * GetYDataLabel ()
 
virtual std::map< TString, Int_t > * GetParGlobal ()
 
virtual PIntVectorGetMapGlobal ()
 
virtual void SetRunName (TString &str, Int_t idx=-1)
 
virtual void SetBeamline (TString &str, Int_t idx=-1)
 
virtual void SetInstitute (TString &str, Int_t idx=-1)
 
virtual void SetFileFormat (TString &str, Int_t idx=-1)
 
virtual void SetFitType (Int_t ival)
 
virtual void SetAlphaParamNo (Int_t ival)
 
virtual void SetBetaParamNo (Int_t ival)
 
virtual void SetNormParamNo (Int_t ival)
 
virtual void SetBkgFitParamNo (Int_t ival)
 
virtual void SetLifetimeParamNo (Int_t ival)
 
virtual void SetLifetimeCorrection (Bool_t bval)
 
virtual void SetMap (Int_t mapVal, Int_t idx=-1)
 
virtual void SetForwardHistoNo (Int_t histoNo, Int_t idx=-1)
 
virtual void SetBackwardHistoNo (Int_t histoNo, Int_t idx=-1)
 
virtual void SetBkgEstimated (Double_t dval, Int_t idx)
 
virtual void SetEstimatedAlpha (Double_t dval)
 
virtual void SetBkgFix (Double_t dval, Int_t idx)
 
virtual void SetBkgRange (Int_t ival, Int_t idx)
 
virtual void SetDataRange (Int_t ival, Int_t idx)
 
virtual void SetT0Bin (Double_t dval, Int_t idx=-1)
 
virtual void SetAddT0Bin (Double_t dval, UInt_t addRunIdx, UInt_t histoNoIdx)
 
virtual void SetFitRangeInBins (Bool_t bval)
 
virtual void SetFitRange (Double_t dval, UInt_t idx)
 
virtual void SetFitRangeOffset (Int_t ival, UInt_t idx)
 
virtual void SetPacking (Int_t ival)
 
virtual void SetXDataIndex (Int_t ival)
 
virtual void SetYDataIndex (Int_t ival)
 
virtual void SetXDataLabel (TString &str)
 
virtual void SetYDataLabel (TString &str)
 
virtual void SetParGlobal (const TString &str, Int_t ival)
 
virtual void SetMapGlobal (UInt_t idx, Int_t ival)
 

Private Attributes

PStringVector fRunName
 name of the run file More...
 
PStringVector fBeamline
 e.g. mue4, mue1, pim3, emu, m15, ... (former: run type) More...
 
PStringVector fInstitute
 e.g. psi, ral, triumf (former: run format) More...
 
PStringVector fFileFormat
 e.g. root, nexus, psi-bin, mud, ascii, db More...
 
Int_t fFitType
 fit type: 0=single histo fit, 2=asymmetry fit, 4=mu^- single histo fit, 8=non muSR fit More...
 
Int_t fAlphaParamNo
 alpha parameter number (fit type 2, 4) More...
 
Int_t fBetaParamNo
 beta parameter number (fit type 2, 4) More...
 
Int_t fNormParamNo
 N0 parameter number (fit type 0) More...
 
Int_t fBkgFitParamNo
 background fit parameter number (fit type 0) More...
 
Int_t fLifetimeParamNo
 muon lifetime parameter number (fit type 0) More...
 
Bool_t fLifetimeCorrection
 lifetime correction flag for viewing (fit type 0) More...
 
PIntVector fMap
 map vector needed to switch parameters for different runs within a single theory More...
 
PIntVector fForwardHistoNo
 forward histogram number (fit type 0, 2, 4) More...
 
PIntVector fBackwardHistoNo
 backward histogram number (fit type 2, 4) More...
 
Double_t fBkgEstimated [2]
 keeps estimated background values (if present) More...
 
Double_t fBkgFix [2]
 fixed background in (1/ns) (fit type 0, 2, 4) More...
 
Int_t fBkgRange [4]
 background bin range (fit type 0, 2, 4) More...
 
Int_t fDataRange [4]
 data bin range (fit type 0, 2, 4) More...
 
PDoubleVector fT0
 t0 bins (fit type 0, 2, 4). if fit type 0 -> f0, f1, f2, ...; if fit type 2, 4 -> f0, b0, f1, b1, ... More...
 
std::vector< PDoubleVectorfAddT0
 t0 bins for addrun's More...
 
Bool_t fFitRangeInBins
 flag telling if fit range is given in time or in bins More...
 
Double_t fFitRange [2]
 fit range in (us) More...
 
Int_t fFitRangeOffset [2]
 if fit range is given in bins it can have the form fit fgb+n0 lgb-n1. This variable holds the n0 and n1. More...
 
Double_t fAlpha
 estimated alpha value from F/B counts More...
 
Int_t fPacking
 packing/rebinning More...
 
Int_t fXYDataIndex [2]
 used to get the data indices when using db-files (fit type 8) More...
 
TString fXYDataLabel [2]
 used to get the indices via labels when using db-files (fit type 8) More...
 
std::map< TString, Int_t > fParGlobal
 here is stored if the parameters used in the RUN block are global or not More...
 
PIntVector fMapGlobal
 here is stored if the maps used in the RUN block are global or not More...
 

Detailed Description

Handles the information of a single run block

Definition at line 629 of file PMusr.h.

Constructor & Destructor Documentation

◆ PMsrRunBlock()

PMsrRunBlock::PMsrRunBlock ( )

Constructor

Definition at line 1123 of file PMusr.cpp.

References PMUSR_UNDEFINED.

◆ ~PMsrRunBlock()

PMsrRunBlock::~PMsrRunBlock ( )
virtual

Destructor

Definition at line 1158 of file PMusr.cpp.

Member Function Documentation

◆ CleanUp()

void PMsrRunBlock::CleanUp ( )
virtual

Clean up data structure.

Definition at line 1178 of file PMusr.cpp.

References PMUSR_UNDEFINED.

Referenced by PMsrHandler::HandleRunEntry().

◆ GetAddT0Bin()

Double_t PMsrRunBlock::GetAddT0Bin ( UInt_t  addRunIdx,
UInt_t  histoIdx 
)
virtual

get add T0 of the addrun (index addRunIdx) at index histoIdx

return:

  • addt0 value, if indices are within proper boundaries
  • -1, otherwise
Parameters
addRunIdxindex of the addrun
histoIdxindex of the add backward histo number value

Definition at line 1761 of file PMusr.cpp.

Referenced by PRunMuMinus::GetProperT0(), PRunSingleHistoRRF::GetProperT0(), PRunSingleHisto::GetProperT0(), PRunAsymmetryRRF::GetProperT0(), and PRunAsymmetry::GetProperT0().

◆ GetAddT0BinEntries()

virtual UInt_t PMsrRunBlock::GetAddT0BinEntries ( )
inlinevirtual

Definition at line 662 of file PMusr.h.

References fAddT0.

◆ GetAddT0BinSize()

Int_t PMsrRunBlock::GetAddT0BinSize ( UInt_t  addRunIdx)
virtual

get add T0 size of the addrun at index addRunIdx

return:

  • addt0 value, if idx is within proper boundaries
  • -1, otherwise
Parameters
addRunIdxindex of the addrun

Definition at line 1737 of file PMusr.cpp.

Referenced by PRunAsymmetryRRF::GetProperT0(), and PRunAsymmetry::GetProperT0().

◆ GetAlphaParamNo()

◆ GetBackwardHistoNo()

Int_t PMsrRunBlock::GetBackwardHistoNo ( UInt_t  idx = 0)
virtual

get backward histogram value at position idx

return:

  • backward histogram number, if idx is within proper boundaries
  • -1, otherwise
Parameters
idxindex of the map value to be returned

Definition at line 1444 of file PMusr.cpp.

Referenced by PRunAsymmetryRRF::PrepareData(), and PRunAsymmetry::PrepareData().

◆ GetBackwardHistoNoSize()

virtual UInt_t PMsrRunBlock::GetBackwardHistoNoSize ( )
inlinevirtual

Definition at line 654 of file PMusr.h.

References fBackwardHistoNo.

Referenced by PRunAsymmetryRRF::PrepareData(), and PRunAsymmetry::PrepareData().

◆ GetBeamline()

TString * PMsrRunBlock::GetBeamline ( UInt_t  idx = 0)
virtual

get beamline name at position idx

return:

  • pointer of the beamline string, if idx is within proper boundaries
  • 0, otherwise
Parameters
idxindex of the beamline to be returned

Definition at line 1274 of file PMusr.cpp.

Referenced by PRunDataHandler::FileExistsCheck().

◆ GetBeamlineSize()

virtual UInt_t PMsrRunBlock::GetBeamlineSize ( )
inlinevirtual

Definition at line 637 of file PMusr.h.

References fBeamline.

◆ GetBetaParamNo()

◆ GetBkgEstimated()

Double_t PMsrRunBlock::GetBkgEstimated ( UInt_t  idx)
virtual

get estimated background value at position idx. If not present, PMUSR_UNDEFINED is returned.

return:

  • estimated background value, if idx is within proper boundaries
  • PMUSR_UNDEFINED, otherwise
Parameters
idxindex of the estimated background value to be returned

Definition at line 1531 of file PMusr.cpp.

References PMUSR_UNDEFINED.

◆ GetBkgFitParamNo()

◆ GetBkgFix()

Double_t PMsrRunBlock::GetBkgFix ( UInt_t  idx)
virtual

◆ GetBkgRange()

Int_t PMsrRunBlock::GetBkgRange ( UInt_t  idx)
virtual

get background range at position idx

return:

  • background range value, if idx is within proper boundaries
  • -1, otherwise
Parameters
idxindex of the background range to be returned

Definition at line 1612 of file PMusr.cpp.

Referenced by PRunSingleHisto::EstimateBkg(), PRunSingleHistoRRF::EstimateBkg(), PRunAsymmetryRRF::PrepareData(), PRunAsymmetry::PrepareData(), PRunSingleHistoRRF::PrepareFitData(), PRunSingleHisto::PrepareFitData(), PRunSingleHisto::PrepareRawViewData(), PRunSingleHisto::PrepareViewData(), PRunAsymmetryRRF::SubtractEstimatedBkg(), and PRunAsymmetry::SubtractEstimatedBkg().

◆ GetDataRange()

Int_t PMsrRunBlock::GetDataRange ( UInt_t  idx)
virtual

get data range at position idx

return:

  • data range value, if idx is within proper boundaries
  • -1, otherwise
Parameters
idxindex of the data range to be returned

Definition at line 1654 of file PMusr.cpp.

Referenced by PRunMuMinus::GetProperDataRange(), PRunAsymmetryRRF::GetProperDataRange(), PRunSingleHisto::GetProperDataRange(), PRunSingleHistoRRF::GetProperDataRange(), PRunAsymmetry::GetProperDataRange(), and PRunMuMinus::PrepareRawViewData().

◆ GetEstimatedAlpha()

virtual Double_t PMsrRunBlock::GetEstimatedAlpha ( )
inlinevirtual

Definition at line 669 of file PMusr.h.

References fAlpha.

◆ GetFileFormat()

TString * PMsrRunBlock::GetFileFormat ( UInt_t  idx = 0)
virtual

get file format name at position idx

return:

  • pointer of the file format string, if idx is within proper boundaries
  • 0, otherwise
Parameters
idxindex of the file format to be returned

Definition at line 1358 of file PMusr.cpp.

Referenced by PRunDataHandler::FileExistsCheck().

◆ GetFileFormatSize()

virtual UInt_t PMsrRunBlock::GetFileFormatSize ( )
inlinevirtual

Definition at line 641 of file PMusr.h.

References fFileFormat.

◆ GetFitRange()

Double_t PMsrRunBlock::GetFitRange ( UInt_t  idx)
virtual

get fit range value at position idx. idx: 0=fit range start, 1=fit range end.

return:

  • fit range value, if idx is within proper boundaries
  • PMUSR_UNDEFINED, otherwise
Parameters
idxindex of the fit range value to be returned

Definition at line 1811 of file PMusr.cpp.

References PMUSR_UNDEFINED.

Referenced by PRunMuMinus::GetProperFitRange(), PRunSingleHistoRRF::GetProperFitRange(), PRunSingleHisto::GetProperFitRange(), PRunAsymmetryRRF::GetProperFitRange(), PRunAsymmetry::GetProperFitRange(), and PRunNonMusr::PrepareData().

◆ GetFitRangeOffset()

Int_t PMsrRunBlock::GetFitRangeOffset ( UInt_t  idx)
virtual

get fit range offset value at position idx. idx: 0=fit range offset start, 1=fit range offset end.

return:

  • fit range offset value, if idx is within proper boundaries
  • -1, otherwise
Parameters
idxindex of the fit range value to be returned

Definition at line 1848 of file PMusr.cpp.

Referenced by PRunMuMinus::GetProperFitRange(), PRunAsymmetryRRF::GetProperFitRange(), PRunSingleHisto::GetProperFitRange(), PRunSingleHistoRRF::GetProperFitRange(), PRunAsymmetry::GetProperFitRange(), and PRunMuMinus::PrepareRawViewData().

◆ GetFitType()

virtual Int_t PMsrRunBlock::GetFitType ( )
inlinevirtual

Definition at line 643 of file PMusr.h.

References fFitType.

◆ GetForwardHistoNo()

Int_t PMsrRunBlock::GetForwardHistoNo ( UInt_t  idx = 0)
virtual

get forward histogram value at position idx

return:

  • forward histogram number, if idx is within proper boundaries
  • -1, otherwise
Parameters
idxindex of the forward histogram value to be returned

Definition at line 1400 of file PMusr.cpp.

Referenced by PRunSingleHistoRRF::PrepareData(), PRunAsymmetryRRF::PrepareData(), PRunMuMinus::PrepareData(), PRunAsymmetry::PrepareData(), and PRunSingleHisto::PrepareData().

◆ GetForwardHistoNoSize()

◆ GetInstitute()

TString * PMsrRunBlock::GetInstitute ( UInt_t  idx = 0)
virtual

get institute name at position idx

return:

  • pointer of the institute string, if idx is within proper boundaries
  • 0, otherwise
Parameters
idxindex of the institute to be returned

Definition at line 1316 of file PMusr.cpp.

Referenced by PRunSingleHisto::EstimateBkg(), PRunSingleHistoRRF::EstimateBkg(), PRunDataHandler::FileExistsCheck(), PRunAsymmetryRRF::SubtractEstimatedBkg(), and PRunAsymmetry::SubtractEstimatedBkg().

◆ GetInstituteSize()

virtual UInt_t PMsrRunBlock::GetInstituteSize ( )
inlinevirtual

Definition at line 639 of file PMusr.h.

References fInstitute.

◆ GetLifetimeParamNo()

◆ GetMap() [1/2]

◆ GetMap() [2/2]

Int_t PMsrRunBlock::GetMap ( UInt_t  idx)
virtual

get map value at position idx

return:

  • map value, if idx is within proper boundaries
  • -1, otherwise
Parameters
idxindex of the map value to be returned

Definition at line 1488 of file PMusr.cpp.

◆ GetMapGlobal()

virtual PIntVector* PMsrRunBlock::GetMapGlobal ( )
inlinevirtual

Definition at line 675 of file PMusr.h.

References fMapGlobal.

◆ GetNormParamNo()

◆ GetPacking()

virtual Int_t PMsrRunBlock::GetPacking ( )
inlinevirtual

◆ GetParGlobal()

virtual std::map<TString, Int_t>* PMsrRunBlock::GetParGlobal ( )
inlinevirtual

Definition at line 674 of file PMusr.h.

References fParGlobal.

◆ GetRunName()

TString * PMsrRunBlock::GetRunName ( UInt_t  idx = 0)
virtual

◆ GetRunNameSize()

◆ GetT0Bin()

Double_t PMsrRunBlock::GetT0Bin ( UInt_t  idx = 0)
virtual

get T0 bin at position idx

return:

  • T0 bin, if idx is within proper boundaries
  • -1, otherwise
Parameters
idxindex of the T0 bin to be returned

Definition at line 1695 of file PMusr.cpp.

Referenced by PRunMuMinus::GetProperT0(), PRunSingleHistoRRF::GetProperT0(), PRunSingleHisto::GetProperT0(), PRunAsymmetryRRF::GetProperT0(), and PRunAsymmetry::GetProperT0().

◆ GetT0BinSize()

virtual UInt_t PMsrRunBlock::GetT0BinSize ( )
inlinevirtual

◆ GetXDataIndex()

virtual Int_t PMsrRunBlock::GetXDataIndex ( )
inlinevirtual

Definition at line 670 of file PMusr.h.

References fXYDataIndex.

Referenced by PRunNonMusr::GetXIndex().

◆ GetXDataLabel()

virtual TString* PMsrRunBlock::GetXDataLabel ( )
inlinevirtual

Definition at line 672 of file PMusr.h.

References fXYDataLabel.

Referenced by PRunNonMusr::GetXIndex().

◆ GetYDataIndex()

virtual Int_t PMsrRunBlock::GetYDataIndex ( )
inlinevirtual

Definition at line 671 of file PMusr.h.

References fXYDataIndex.

Referenced by PRunNonMusr::GetYIndex().

◆ GetYDataLabel()

virtual TString* PMsrRunBlock::GetYDataLabel ( )
inlinevirtual

Definition at line 673 of file PMusr.h.

References fXYDataLabel.

Referenced by PRunNonMusr::GetYIndex().

◆ IsFitRangeInBin()

◆ IsLifetimeCorrected()

virtual Bool_t PMsrRunBlock::IsLifetimeCorrected ( )
inlinevirtual

Definition at line 649 of file PMusr.h.

References fLifetimeCorrection.

◆ SetAddT0Bin()

void PMsrRunBlock::SetAddT0Bin ( Double_t  dval,
UInt_t  addRunIdx,
UInt_t  histoNoIdx 
)
virtual

set add T0 bin of the addrun at index histoNoIdx

Parameters
ivalT0 bin
addRunIdxaddrun index
histoNoIdxindex whithin the fAddT0 vector where to set the value.

Definition at line 1788 of file PMusr.cpp.

Referenced by PRunMuMinus::GetProperT0(), PRunAsymmetryRRF::GetProperT0(), PRunSingleHisto::GetProperT0(), PRunSingleHistoRRF::GetProperT0(), PRunAsymmetry::GetProperT0(), and PMsrHandler::HandleRunEntry().

◆ SetAlphaParamNo()

virtual void PMsrRunBlock::SetAlphaParamNo ( Int_t  ival)
inlinevirtual

Definition at line 682 of file PMusr.h.

References fAlphaParamNo.

Referenced by PMsrHandler::HandleRunEntry().

◆ SetBackwardHistoNo()

void PMsrRunBlock::SetBackwardHistoNo ( Int_t  histoNo,
Int_t  idx = -1 
)
virtual

set backward histogram value at position pos

Parameters
histoNohistogram value
idxindex whithin the fBackwardHistoNo vector where to set the value. If idx == -1, then append the value to the vector.

Definition at line 1465 of file PMusr.cpp.

Referenced by PMsrHandler::HandleRunEntry().

◆ SetBeamline()

void PMsrRunBlock::SetBeamline ( TString &  str,
Int_t  idx = -1 
)
virtual

set beamline name at position idx

Parameters
strbeamline name string
idxindex of the beamline name to be set. If idx == -1, append beamline

Definition at line 1291 of file PMusr.cpp.

Referenced by PRunDataHandler::FileExistsCheck(), and PMsrHandler::HandleRunEntry().

◆ SetBetaParamNo()

virtual void PMsrRunBlock::SetBetaParamNo ( Int_t  ival)
inlinevirtual

Definition at line 683 of file PMusr.h.

References fBetaParamNo.

Referenced by PMsrHandler::HandleRunEntry().

◆ SetBkgEstimated()

void PMsrRunBlock::SetBkgEstimated ( Double_t  dval,
Int_t  idx 
)
virtual

set estimated background value at position idx

Parameters
dvalestimated background value
idxindex of the estimated background value to be set.

Definition at line 1549 of file PMusr.cpp.

Referenced by PRunSingleHisto::EstimateBkg(), PRunSingleHistoRRF::EstimateBkg(), PRunAsymmetryRRF::SubtractEstimatedBkg(), and PRunAsymmetry::SubtractEstimatedBkg().

◆ SetBkgFitParamNo()

virtual void PMsrRunBlock::SetBkgFitParamNo ( Int_t  ival)
inlinevirtual

Definition at line 685 of file PMusr.h.

References fBkgFitParamNo.

Referenced by PMsrHandler::HandleRunEntry().

◆ SetBkgFix()

void PMsrRunBlock::SetBkgFix ( Double_t  dval,
Int_t  idx 
)
virtual

set background fixed value at position idx

Parameters
dvalfixed background value
idxindex of the background fixed value to be set.

Definition at line 1589 of file PMusr.cpp.

Referenced by PMsrHandler::HandleRunEntry().

◆ SetBkgRange()

void PMsrRunBlock::SetBkgRange ( Int_t  ival,
Int_t  idx 
)
virtual

set background range element at position idx

Parameters
ivalbackground bin value
idxindex of the background range element to be set. If idx==-1, append value.

Definition at line 1630 of file PMusr.cpp.

Referenced by PMsrHandler::HandleRunEntry(), PRunAsymmetryRRF::PrepareData(), PRunAsymmetry::PrepareData(), PRunSingleHistoRRF::PrepareFitData(), PRunSingleHisto::PrepareFitData(), PRunSingleHisto::PrepareRawViewData(), and PRunSingleHisto::PrepareViewData().

◆ SetDataRange()

void PMsrRunBlock::SetDataRange ( Int_t  ival,
Int_t  idx 
)
virtual

set data range element at position idx

Parameters
ivaldata range element
idxindex of the data range element to be set. If idx==-1, append value

Definition at line 1672 of file PMusr.cpp.

Referenced by PRunMuMinus::GetProperDataRange(), PRunAsymmetryRRF::GetProperDataRange(), PRunSingleHisto::GetProperDataRange(), PRunSingleHistoRRF::GetProperDataRange(), PRunAsymmetry::GetProperDataRange(), and PMsrHandler::HandleRunEntry().

◆ SetEstimatedAlpha()

void PMsrRunBlock::SetEstimatedAlpha ( Double_t  dval)
virtual

set the value of estimated alpha at position idx

Parameters
alphais the estimated value

Definition at line 1915 of file PMusr.cpp.

◆ SetFileFormat()

void PMsrRunBlock::SetFileFormat ( TString &  str,
Int_t  idx = -1 
)
virtual

set file format name at position idx

Parameters
strfile format string
idxindex of the file format name to be set. If idx == -1, append file format

Definition at line 1375 of file PMusr.cpp.

Referenced by PRunDataHandler::FileExistsCheck(), and PMsrHandler::HandleRunEntry().

◆ SetFitRange()

void PMsrRunBlock::SetFitRange ( Double_t  dval,
UInt_t  idx 
)
virtual

set fit range value at position idx

Parameters
dvalvalue to be set
idxindex of the fit range value to be set

Definition at line 1828 of file PMusr.cpp.

Referenced by PRunMuMinus::GetProperFitRange(), PRunAsymmetryRRF::GetProperFitRange(), PRunSingleHisto::GetProperFitRange(), PRunSingleHistoRRF::GetProperFitRange(), PRunAsymmetry::GetProperFitRange(), and PMsrHandler::HandleRunEntry().

◆ SetFitRangeInBins()

virtual void PMsrRunBlock::SetFitRangeInBins ( Bool_t  bval)
inlinevirtual

Definition at line 698 of file PMusr.h.

References fFitRangeInBins.

Referenced by PMsrHandler::HandleRunEntry().

◆ SetFitRangeOffset()

void PMsrRunBlock::SetFitRangeOffset ( Int_t  ival,
UInt_t  idx 
)
virtual

set fit range offset value at position idx. Illegale values will be ignored.

Parameters
ivalvalue to be set
idxindex of the fit range value to be set

Definition at line 1865 of file PMusr.cpp.

Referenced by PMsrHandler::HandleRunEntry().

◆ SetFitType()

virtual void PMsrRunBlock::SetFitType ( Int_t  ival)
inlinevirtual

Definition at line 681 of file PMusr.h.

References fFitType.

Referenced by PMsrHandler::HandleRunEntry().

◆ SetForwardHistoNo()

void PMsrRunBlock::SetForwardHistoNo ( Int_t  histoNo,
Int_t  idx = -1 
)
virtual

set forward histogram value at index idx

Parameters
histoNohistogram value
idxindex whithin the fForwardHistoNo vector where to set the value. If idx == -1, then append the value to the vector.

Definition at line 1421 of file PMusr.cpp.

Referenced by PMsrHandler::HandleRunEntry().

◆ SetInstitute()

void PMsrRunBlock::SetInstitute ( TString &  str,
Int_t  idx = -1 
)
virtual

set institute name at position idx

Parameters
strinstitute name string
idxindex of the run name to be set. If idx == -1, append institute name

Definition at line 1333 of file PMusr.cpp.

Referenced by PRunDataHandler::FileExistsCheck(), and PMsrHandler::HandleRunEntry().

◆ SetLifetimeCorrection()

virtual void PMsrRunBlock::SetLifetimeCorrection ( Bool_t  bval)
inlinevirtual

Definition at line 687 of file PMusr.h.

References fLifetimeCorrection.

Referenced by PMsrHandler::HandleRunEntry().

◆ SetLifetimeParamNo()

virtual void PMsrRunBlock::SetLifetimeParamNo ( Int_t  ival)
inlinevirtual

Definition at line 686 of file PMusr.h.

References fLifetimeParamNo.

Referenced by PMsrHandler::HandleRunEntry().

◆ SetMap()

void PMsrRunBlock::SetMap ( Int_t  mapVal,
Int_t  idx = -1 
)
virtual

set map value at position idx

Parameters
mapValmap value
idxindex of the map value to be set. If idx == -1, append map value.

Definition at line 1505 of file PMusr.cpp.

Referenced by PMsrHandler::HandleRunEntry().

◆ SetMapGlobal()

void PMsrRunBlock::SetMapGlobal ( UInt_t  idx,
Int_t  ival 
)
virtual

store the information that a certain mapped parameter in the block is global

Parameters
idxmap-index (0, 1, 2, 3, ...)
ivalvalue to be set (global == 1, run specific == 0, tag not present == -1)

Definition at line 1897 of file PMusr.cpp.

◆ SetNormParamNo()

virtual void PMsrRunBlock::SetNormParamNo ( Int_t  ival)
inlinevirtual

Definition at line 684 of file PMusr.h.

References fNormParamNo.

Referenced by PMsrHandler::HandleRunEntry().

◆ SetPacking()

virtual void PMsrRunBlock::SetPacking ( Int_t  ival)
inlinevirtual

Definition at line 701 of file PMusr.h.

References fPacking.

Referenced by PMsrHandler::HandleRunEntry().

◆ SetParGlobal()

void PMsrRunBlock::SetParGlobal ( const TString &  str,
Int_t  ival 
)
virtual

store the information that a certain parameter used in the block is global

Parameters
strkey (label) telling how the parameter is addressed
ivalvalue to be set (global == 1, run specific == 0, tag not present == -1)

Definition at line 1882 of file PMusr.cpp.

◆ SetRunName()

void PMsrRunBlock::SetRunName ( TString &  str,
Int_t  idx = -1 
)
virtual

set run name at position idx

Parameters
strrun name string
idxindex of the run name to be set. If idx == -1 append run name

Definition at line 1249 of file PMusr.cpp.

Referenced by PMsrHandler::HandleRunEntry().

◆ SetT0Bin()

void PMsrRunBlock::SetT0Bin ( Double_t  dval,
Int_t  idx = -1 
)
virtual

set T0 bin at position idx

Parameters
ivalT0 bin
idxindex of the T0 bin to be set. If idx==-1, append value

Definition at line 1712 of file PMusr.cpp.

Referenced by PRunMuMinus::GetProperT0(), PRunAsymmetryRRF::GetProperT0(), PRunSingleHisto::GetProperT0(), PRunSingleHistoRRF::GetProperT0(), PRunAsymmetry::GetProperT0(), and PMsrHandler::HandleRunEntry().

◆ SetXDataIndex()

virtual void PMsrRunBlock::SetXDataIndex ( Int_t  ival)
inlinevirtual

Definition at line 702 of file PMusr.h.

References fXYDataIndex.

Referenced by PMsrHandler::HandleRunEntry().

◆ SetXDataLabel()

virtual void PMsrRunBlock::SetXDataLabel ( TString &  str)
inlinevirtual

Definition at line 704 of file PMusr.h.

References fXYDataLabel.

Referenced by PMsrHandler::HandleRunEntry().

◆ SetYDataIndex()

virtual void PMsrRunBlock::SetYDataIndex ( Int_t  ival)
inlinevirtual

Definition at line 703 of file PMusr.h.

References fXYDataIndex.

Referenced by PMsrHandler::HandleRunEntry().

◆ SetYDataLabel()

virtual void PMsrRunBlock::SetYDataLabel ( TString &  str)
inlinevirtual

Definition at line 705 of file PMusr.h.

References fXYDataLabel.

Referenced by PMsrHandler::HandleRunEntry().

Member Data Documentation

◆ fAddT0

std::vector<PDoubleVector> PMsrRunBlock::fAddT0
private

t0 bins for addrun's

Definition at line 729 of file PMusr.h.

Referenced by GetAddT0BinEntries().

◆ fAlpha

Double_t PMsrRunBlock::fAlpha
private

estimated alpha value from F/B counts

Definition at line 733 of file PMusr.h.

Referenced by GetEstimatedAlpha().

◆ fAlphaParamNo

Int_t PMsrRunBlock::fAlphaParamNo
private

alpha parameter number (fit type 2, 4)

Definition at line 715 of file PMusr.h.

Referenced by GetAlphaParamNo(), and SetAlphaParamNo().

◆ fBackwardHistoNo

PIntVector PMsrRunBlock::fBackwardHistoNo
private

backward histogram number (fit type 2, 4)

Definition at line 723 of file PMusr.h.

Referenced by GetBackwardHistoNoSize().

◆ fBeamline

PStringVector PMsrRunBlock::fBeamline
private

e.g. mue4, mue1, pim3, emu, m15, ... (former: run type)

Definition at line 711 of file PMusr.h.

Referenced by GetBeamlineSize().

◆ fBetaParamNo

Int_t PMsrRunBlock::fBetaParamNo
private

beta parameter number (fit type 2, 4)

Definition at line 716 of file PMusr.h.

Referenced by GetBetaParamNo(), and SetBetaParamNo().

◆ fBkgEstimated

Double_t PMsrRunBlock::fBkgEstimated[2]
private

keeps estimated background values (if present)

Definition at line 724 of file PMusr.h.

◆ fBkgFitParamNo

Int_t PMsrRunBlock::fBkgFitParamNo
private

background fit parameter number (fit type 0)

Definition at line 718 of file PMusr.h.

Referenced by GetBkgFitParamNo(), and SetBkgFitParamNo().

◆ fBkgFix

Double_t PMsrRunBlock::fBkgFix[2]
private

fixed background in (1/ns) (fit type 0, 2, 4)

Definition at line 725 of file PMusr.h.

◆ fBkgRange

Int_t PMsrRunBlock::fBkgRange[4]
private

background bin range (fit type 0, 2, 4)

Definition at line 726 of file PMusr.h.

◆ fDataRange

Int_t PMsrRunBlock::fDataRange[4]
private

data bin range (fit type 0, 2, 4)

Definition at line 727 of file PMusr.h.

◆ fFileFormat

PStringVector PMsrRunBlock::fFileFormat
private

e.g. root, nexus, psi-bin, mud, ascii, db

Definition at line 713 of file PMusr.h.

Referenced by GetFileFormatSize().

◆ fFitRange

Double_t PMsrRunBlock::fFitRange[2]
private

fit range in (us)

Definition at line 731 of file PMusr.h.

◆ fFitRangeInBins

Bool_t PMsrRunBlock::fFitRangeInBins
private

flag telling if fit range is given in time or in bins

Definition at line 730 of file PMusr.h.

Referenced by IsFitRangeInBin(), and SetFitRangeInBins().

◆ fFitRangeOffset

Int_t PMsrRunBlock::fFitRangeOffset[2]
private

if fit range is given in bins it can have the form fit fgb+n0 lgb-n1. This variable holds the n0 and n1.

Definition at line 732 of file PMusr.h.

◆ fFitType

Int_t PMsrRunBlock::fFitType
private

fit type: 0=single histo fit, 2=asymmetry fit, 4=mu^- single histo fit, 8=non muSR fit

Definition at line 714 of file PMusr.h.

Referenced by GetFitType(), and SetFitType().

◆ fForwardHistoNo

PIntVector PMsrRunBlock::fForwardHistoNo
private

forward histogram number (fit type 0, 2, 4)

Definition at line 722 of file PMusr.h.

Referenced by GetForwardHistoNoSize().

◆ fInstitute

PStringVector PMsrRunBlock::fInstitute
private

e.g. psi, ral, triumf (former: run format)

Definition at line 712 of file PMusr.h.

Referenced by GetInstituteSize().

◆ fLifetimeCorrection

Bool_t PMsrRunBlock::fLifetimeCorrection
private

lifetime correction flag for viewing (fit type 0)

Definition at line 720 of file PMusr.h.

Referenced by IsLifetimeCorrected(), and SetLifetimeCorrection().

◆ fLifetimeParamNo

Int_t PMsrRunBlock::fLifetimeParamNo
private

muon lifetime parameter number (fit type 0)

Definition at line 719 of file PMusr.h.

Referenced by GetLifetimeParamNo(), and SetLifetimeParamNo().

◆ fMap

PIntVector PMsrRunBlock::fMap
private

map vector needed to switch parameters for different runs within a single theory

Definition at line 721 of file PMusr.h.

Referenced by GetMap().

◆ fMapGlobal

PIntVector PMsrRunBlock::fMapGlobal
private

here is stored if the maps used in the RUN block are global or not

Definition at line 747 of file PMusr.h.

Referenced by GetMapGlobal().

◆ fNormParamNo

Int_t PMsrRunBlock::fNormParamNo
private

N0 parameter number (fit type 0)

Definition at line 717 of file PMusr.h.

Referenced by GetNormParamNo(), and SetNormParamNo().

◆ fPacking

Int_t PMsrRunBlock::fPacking
private

packing/rebinning

Definition at line 734 of file PMusr.h.

Referenced by GetPacking(), and SetPacking().

◆ fParGlobal

std::map<TString, Int_t> PMsrRunBlock::fParGlobal
private

here is stored if the parameters used in the RUN block are global or not

Definition at line 746 of file PMusr.h.

Referenced by GetParGlobal().

◆ fRunName

PStringVector PMsrRunBlock::fRunName
private

name of the run file

Definition at line 710 of file PMusr.h.

Referenced by GetRunNameSize().

◆ fT0

PDoubleVector PMsrRunBlock::fT0
private

t0 bins (fit type 0, 2, 4). if fit type 0 -> f0, f1, f2, ...; if fit type 2, 4 -> f0, b0, f1, b1, ...

Definition at line 728 of file PMusr.h.

Referenced by GetT0BinSize().

◆ fXYDataIndex

Int_t PMsrRunBlock::fXYDataIndex[2]
private

used to get the data indices when using db-files (fit type 8)

Definition at line 735 of file PMusr.h.

Referenced by GetXDataIndex(), GetYDataIndex(), SetXDataIndex(), and SetYDataIndex().

◆ fXYDataLabel

TString PMsrRunBlock::fXYDataLabel[2]
private

used to get the indices via labels when using db-files (fit type 8)

Definition at line 736 of file PMusr.h.

Referenced by GetXDataLabel(), GetYDataLabel(), SetXDataLabel(), and SetYDataLabel().


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