44 #define PMUSR_SUCCESS 0 45 #define PMUSR_SYNTAX_REQUEST -1 46 #define PMUSR_WRONG_STARTUP_SYNTAX -2 47 #define PMUSR_MSR_FILE_NOT_FOUND -3 48 #define PMUSR_MSR_ALLOCATION_ERROR -4 49 #define PMUSR_MSR_SYNTAX_ERROR -5 50 #define PMUSR_TOKENIZE_ERROR -6 51 #define PMUSR_MSR_LOG_FILE_WRITE_ERROR -7 52 #define PMUSR_MSR_FILE_WRITE_ERROR -8 53 #define PMUSR_DATA_FILE_READ_ERROR -9 54 #define PMUSR_MSR_RUN_ERROR -10 56 #define PRUN_SINGLE_HISTO 0 57 #define PRUN_SINGLE_HISTO_RRF 1 58 #define PRUN_ASYMMETRY 2 59 #define PRUN_ASYMMETRY_RRF 3 60 #define PRUN_MU_MINUS 4 61 #define PRUN_ASYMMETRY_BNMR 5 62 #define PRUN_NON_MUSR 8 68 #define PMUON_LIFETIME 2.1969811 78 #define GAMMA_BAR_MUON 1.355388094e-2 81 #define ACCEL_PERIOD_PSI 0.01975 82 #define ACCEL_PERIOD_TRIUMF 0.04337 83 #define ACCEL_PERIOD_RAL 0.0 86 #define POST_PILEUP_HISTO_OFFSET 20 89 #define PMUSR_UNDEFINED -9.9e99 93 #define MSR_TAG_TITLE 0 94 #define MSR_TAG_FITPARAMETER 1 95 #define MSR_TAG_THEORY 2 96 #define MSR_TAG_FUNCTIONS 3 97 #define MSR_TAG_GLOBAL 4 99 #define MSR_TAG_COMMANDS 6 100 #define MSR_TAG_FOURIER 7 101 #define MSR_TAG_PLOT 8 102 #define MSR_TAG_STATISTIC 9 106 #define MSR_FITTYPE_SINGLE_HISTO 0 107 #define MSR_FITTYPE_SINGLE_HISTO_RRF 1 108 #define MSR_FITTYPE_ASYM 2 109 #define MSR_FITTYPE_ASYM_RRF 3 110 #define MSR_FITTYPE_MU_MINUS 4 111 #define MSR_FITTYPE_BNMR 5 112 #define MSR_FITTYPE_NON_MUSR 8 116 #define MSR_PLOT_SINGLE_HISTO 0 117 #define MSR_PLOT_SINGLE_HISTO_RRF 1 118 #define MSR_PLOT_ASYM 2 119 #define MSR_PLOT_ASYM_RRF 3 120 #define MSR_PLOT_MU_MINUS 4 121 #define MSR_PLOT_BNMR 5 122 #define MSR_PLOT_NON_MUSR 8 126 #define MSR_PARAM_MAP_OFFSET 10000 127 #define MSR_PARAM_FUN_OFFSET 20000 131 #define FOURIER_UNIT_NOT_GIVEN 0 132 #define FOURIER_UNIT_GAUSS 1 133 #define FOURIER_UNIT_TESLA 2 134 #define FOURIER_UNIT_FREQ 3 135 #define FOURIER_UNIT_CYCLES 4 137 #define FOURIER_APOD_NOT_GIVEN 0 138 #define FOURIER_APOD_NONE 1 139 #define FOURIER_APOD_WEAK 2 140 #define FOURIER_APOD_MEDIUM 3 141 #define FOURIER_APOD_STRONG 4 143 #define FOURIER_PLOT_NOT_GIVEN 0 144 #define FOURIER_PLOT_REAL 1 145 #define FOURIER_PLOT_IMAG 2 146 #define FOURIER_PLOT_REAL_AND_IMAG 3 147 #define FOURIER_PLOT_POWER 4 148 #define FOURIER_PLOT_PHASE 5 149 #define FOURIER_PLOT_PHASE_OPT_REAL 6 153 #define RRF_UNIT_UNDEF -1 154 #define RRF_UNIT_kHz 0 155 #define RRF_UNIT_MHz 1 156 #define RRF_UNIT_Mcs 2 160 #define RRF_FREQ_UNDEF 1.0e10 297 virtual void SetSize(
const UInt_t size);
299 virtual void SetLabel(
const UInt_t idx,
const TString str);
303 virtual void AppendSubData(
const UInt_t idx,
const Double_t dval);
333 virtual void Clear();
368 virtual Bool_t
IsPresent(UInt_t histoNo);
373 virtual Double_t
GetT0Bin(UInt_t histoNo);
470 virtual void SetTemperature(
const UInt_t idx,
const Double_t temp,
const Double_t errTemp);
471 virtual void SetTempError(
const UInt_t idx,
const Double_t errTemp);
474 virtual void SetRingAnode(
const UInt_t idx,
const Double_t dval);
576 virtual Double_t
GetRRFFreq(
const char *unit);
584 virtual Double_t
GetT0Bin(UInt_t idx=0);
587 virtual Double_t
GetAddT0Bin(UInt_t addRunIdx, UInt_t histoIdx);
595 virtual void SetRRFFreq(Double_t freq,
const char *unit);
600 virtual void SetT0Bin(Double_t dval, Int_t idx=-1);
601 virtual void SetAddT0Bin(Double_t dval, UInt_t addRunIdx, UInt_t histoNoIdx);
603 virtual void SetFitRange(Double_t dval, UInt_t idx);
651 virtual Int_t
GetMap(UInt_t idx);
661 virtual Double_t
GetT0Bin(UInt_t idx=0);
664 virtual Double_t
GetAddT0Bin(UInt_t addRunIdx, UInt_t histoIdx);
677 virtual void SetRunName(TString &str, Int_t idx=-1);
678 virtual void SetBeamline(TString &str, Int_t idx=-1);
688 virtual void SetMap(Int_t mapVal, Int_t idx=-1);
693 virtual void SetBkgFix(Double_t dval, Int_t idx);
696 virtual void SetT0Bin(Double_t dval, Int_t idx=-1);
697 virtual void SetAddT0Bin(Double_t dval, UInt_t addRunIdx, UInt_t histoNoIdx);
699 virtual void SetFitRange(Double_t dval, UInt_t idx);
706 virtual void SetParGlobal(
const TString &str, Int_t ival);
866 virtual bool Parse(std::string &errorMsg,
bool ignoreFirstToken=
false);
874 virtual bool IsNumber(std::string &str) {
return (str.find_first_not_of(
"0123456789") == std::string::npos); }
virtual PRawRunDataSet * Get(UInt_t histoNo)
virtual void SetInstrument(const TString &str)
virtual TString * GetBeamline(UInt_t idx=0)
Double_t fPhaseIncrement
phase increment for manual phase optimization
virtual Bool_t FromAscii()
virtual const PDoubleVector * GetXTheory()
virtual PUIntVector GetList()
TString fFileName
keeps the name of the original data file
virtual Double_t GetT0BinEstimated(UInt_t histoNo)
virtual UInt_t GetT0BinSize()
PIntVector fBackwardHistoNo
backward histogram number (fit type 2, 4)
virtual TString GetRRFUnit()
PDoubleVector fTheory
theory vector
virtual const TString * GetMuonSpecies()
std::vector< PRawRunData > PRawRunDataList
virtual void SetDataRange(Int_t ival, Int_t idx)
virtual void SetTimeZeroBinEstimated(Double_t tzb)
Int_t fFirstGoodBin
keeps the first good bin of the data set
virtual const PDoubleVector * GetError()
virtual Int_t GetFirstBkgBin()
virtual Double_t GetAddT0Bin(UInt_t addRunIdx, UInt_t histoIdx)
std::pair< Double_t, Double_t > PDoublePair
virtual void SetRunTitle(const TString str)
TString fGenericValidatorURL
keeps the generic validator MusrRoot URL
virtual const TString * GetBeamline()
PMsrLines fStatLines
statistics block in msr-file clear text
Double_t fRRFFreq
RRF frequency.
Double_t fTheoryTimeStep
time step of the theory, i.e. the time length of a bin
PDoubleVector fT0
t0 bins (fit type 0, 2, 4). if fit type 0 -> f0, f1, f2, ...; if fit type 2, 4 -> f0...
virtual const TString * GetGenerator()
virtual void AppendXValue(Double_t dval)
virtual void SetSpecificValidatorUrl(const TString &str)
virtual Int_t GetNormParamNo()
TString fOrientation
description of the orientation
TString year
holds the information about the year to be used
virtual void SetStopDate(const TString str)
virtual const TString * GetSetup()
Bool_t writeExpectedChisq
if set to true, expected chisq and chisq per block will be written
Bool_t fFourierBlockPresent
flag indicating if a Fourier block is present in the msr-file
virtual UInt_t GetBeamlineSize()
virtual Int_t GetDataRange(UInt_t idx)
virtual Double_t GetT0Bin(UInt_t idx=0)
time_t fStopDateTimeSec
stop run given as time_t object
virtual void SetFitRangeOffset(Int_t ival, UInt_t idx)
Int_t fBetaParamNo
beta parameter number (fit type 2, 4)
virtual void SetMagnetName(const TString str)
virtual void SetMuonSource(const TString &str)
virtual const Double_t GetTimeResolution()
std::vector< PMsrRunBlock > PMsrRunList
Bool_t estimateN0
if set to true, for single histogram fits N0 will be estimated
virtual Int_t GetPacking()
virtual void SetFitRangeOffset(Int_t ival, UInt_t idx)
virtual Int_t GetRRFUnitTag()
Double_t fTransport
LEM transport settings (Moderator HV)
virtual TString * GetFileFormat(UInt_t idx=0)
virtual void SetBkgEstimated(Double_t dval, Int_t idx)
virtual UInt_t GetAddT0BinEntries()
virtual const TString * GetGenericValidatorUrl()
Int_t fPlotTag
tag used for initial plot. 0=real, 1=imaginary, 2=real & imaginary (default), 3=power, 4=phase
virtual void SetBackwardHistoNo(Int_t histoNo, Int_t idx=-1)
virtual Int_t GetFitRangeOffset(UInt_t idx)
virtual void SetRunName(TString &str, Int_t idx=-1)
virtual void SetBeamline(TString &str, Int_t idx=-1)
virtual void SetTheoryTimeStart(Double_t dval)
virtual void SetEnergy(const Double_t dval)
virtual void SetStopTime(const TString str)
virtual void SetEstimatedAlpha(Double_t dval)
Int_t fDataRange[4]
data bin range (fit type 0, 1, 2, 4)
virtual void SetGenericValidatorUrl(const TString &str)
virtual std::map< TString, Int_t > * GetParGlobal()
virtual const Double_t GetTempError(const UInt_t idx)
virtual Int_t GetBkgFitParamNo()
virtual const TString * GetStopTime()
virtual Bool_t IsFitRangeInBin()
virtual Int_t GetLastBkgBin()
std::map< TString, Int_t > fParGlobal
here is stored if the parameters used in the RUN block are global or not
virtual void SetRRFPhase(Double_t phase)
PIntVector fMap
map vector needed to switch parameters for different runs within a single theory
PDoubleVector fMinPerHisto
chisq or max. likelihood per histo
virtual void SetYDataIndex(Int_t ival)
virtual const PDoublePairVector * GetTemperature() const
virtual void SetRingAnode(const UInt_t idx, const Double_t dval)
virtual void SetYDataLabel(TString &str)
virtual const std::vector< PDoubleVector > * GetData()
virtual const PDoubleVector * GetTheory()
TString outFileName
holds the output file name
Bool_t fGlobalPresent
flag showing if a GLOBAL block is present at all.
virtual ~PStringNumberList()
Int_t fRRFUnitTag
RRF unit tag.
virtual void SetTempError(const UInt_t idx, const Double_t errTemp)
Int_t fPhaseRef
phase reference for relative phase(s)
virtual PRawRunDataSet * operator[](UInt_t histoNo)
Double_t fAlpha
estimated alpha value from F/B counts
UInt_t fRRFPacking
rotating reference frame (RRF) packing
Double_t fDataTimeStart
start time for the data set
virtual void SetRunName(const TString &str)
virtual void SetParGlobal(const TString &str, Int_t ival)
virtual Int_t GetXDataIndex()
std::vector< PDoubleVector > fData
vector of all data
virtual Double_t GetEstimatedAlpha()
virtual void SetMap(Int_t mapVal, Int_t idx=-1)
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 ...
virtual void SetXDataLabel(TString &str)
virtual ~PRawRunDataVector()
virtual Double_t GetT0Bin(UInt_t histoNo)
virtual Double_t GetEstimatedAlpha()
virtual const TString * GetSpecificValidatorUrl()
virtual const PStringVector * GetLabels()
UInt_t compressionTag
0=no compression, 1=gzip compression, 2=bzip2 compression
TString fVersion
keeps the version information of the data file
virtual const TString * GetStopDate()
TString inFormat
holds the information about the input data file format
virtual Double_t GetAddT0Bin(UInt_t addRunIdx, UInt_t histoIdx)
virtual ~PNonMusrRawRunData()
Double_t fMin
chisq or max. likelihood
virtual Int_t GetRRFPacking()
virtual void SetFitRangeInBins(Bool_t bval)
virtual const TString * GetCryoName()
virtual UInt_t GetT0BinSize()
virtual void SetStartTime(const TString str)
virtual Bool_t IsPresent(UInt_t histoNo)
Int_t fLastGoodBin
keeps the last good bin of the data set
Int_t fFitType
fit type: 0=single histo fit, 1=single histo RRF fit, 2=asymmetry fit, 4=mu^- single histo fit...
Bool_t fValid
flag showing if the statistics block is valid, i.e. a fit took place which converged ...
std::vector< PMsrPlotStructure > PMsrPlotList
Int_t fViewPacking
-1 -> use the run packing to generate the view, otherwise is fViewPacking for the binning of ALL runs...
PStringVector fBeamline
e.g. mue4, mue1, pim3, emu, m15, ... (former: run type)
Double_t fFitRange[2]
fit range in (us)
virtual void SetRunNumber(const Int_t &val)
virtual void SetFileFormat(TString &str, Int_t idx=-1)
virtual void SetBeamline(const TString &str)
virtual void AppendErrorValue(Double_t dval)
Bool_t fDCCorrected
if set true, the dc offset of the signal/theory will be removed before the FFT is made...
virtual void SetFitRangeInBins(Bool_t bval)
virtual Int_t GetFitType()
std::vector< Int_t > PIntVector
virtual TString * GetYDataLabel()
virtual void AppendSubErrData(const UInt_t idx, const Double_t dval)
virtual Bool_t IsFitRangeInBin()
Int_t fFirstBkgBin
keeps the first background bin of the data set
virtual Double_t GetTheoryTimeStep()
virtual const Double_t GetMuonBeamMomentum()
Int_t fAlphaParamNo
alpha parameter number (fit type 2, 4)
virtual void SetMuonSpinAngle(const Double_t dval)
std::vector< UInt_t > PUIntVector
virtual void SetDataTimeStep(Double_t dval)
Double_t fBkgEstimated[2]
keeps estimated background values (if present)
virtual Double_t GetTheoryTimeStart()
virtual Bool_t IsPresent()
virtual void SetDataSet(PRawRunDataSet &dataSet, UInt_t idx=-1)
virtual Double_t GetT0Bin(UInt_t idx=0)
std::vector< PMsrParamStructure > PMsrParamList
virtual void AppendLabel(const TString str)
std::vector< Double_t > PDoubleVector
Double_t fDataTimeStep
time step for the data set, i.e. the time length of a bin
virtual Double_t GetRRFFreq(const char *unit)
virtual const Bool_t IsPresent(UInt_t histoNo)
TString fComment
keeps the data file comment
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 ...
virtual void SetAlphaParamNo(Int_t ival)
PStringVector outPathFileName
holds the out path/file name
PStringVector fFileFormat
e.g. root, nexus, psi-bin, mud, ascii, db
virtual const TString * GetOrientation()
PDoubleVector fXTheory
x-axis vector. Only used for non-muSR
Bool_t fLowerBoundaryPresent
flag showing if a lower boundary is present
virtual const Double_t GetT0Bin(const UInt_t histoNo)
virtual void SetBkgFitParamNo(Int_t ival)
virtual void SetStartDate(const TString str)
std::vector< PDoubleVector > fAddT0
addt0 bins (fit type 0, 1, 2, 4). if fit type 0 -> f0, f1, f2, ...; if fit type 2, 4 -> f0, b0, f1, b1, ...
Int_t fApodization
tag indicating the kind of apodization wished, 0=no appodization (default), 1=weak, 2=medium, 3=strong (for details see the docu)
virtual Double_t GetTimeZeroBinEstimated()
TString fMagnet
name of the sample magnet
Int_t fLastBkgBin
keeps the last background bin of the data set
Double_t fEnergy
implantation energy of the muon
virtual const PDoubleVector GetRingAnode()
virtual const PStringVector * GetDataTags()
Int_t fNo
parameter number
virtual void SetComment(const TString &str)
virtual const PNonMusrRawRunData * GetDataNonMusr()
virtual void SetGenerator(const TString &str)
PDoubleVector fError
data error vector
TString fSample
description of the sample
virtual const TString * GetSample()
virtual Int_t GetLastGoodBin()
virtual TString GetName()
virtual Int_t GetBackwardHistoNo(UInt_t idx=0)
Double_t fRRFPhase
RRF phase in (°)
Bool_t fUpperBoundaryPresent
flag showing if an upper boundary is present
PIntVector groupHistoList
holds the histo group list offset (used to define for MusrRoot files, what to be exported) ...
TString fInstrument
keeps the name of the instrument, e.g. LEM, GPS, MUSR, EMU, ...
virtual PIntPair GetBkgBin(UInt_t histoNo)
Bool_t fLogX
yes -> x-axis in log-scale, no (default) -> x-axis in lin-scale
Double_t fUpperBoundary
upper boundary for the fit parameter
virtual void Set(PRawRunDataSet dataSet, Int_t idx=-1)
virtual void SetT0Bin(Double_t dval, Int_t idx=-1)
virtual void SetRedGreenOffset(PIntVector &ivec)
PDoubleVector fData
keeps the histogram data
virtual UInt_t GetAddT0BinEntries()
Bool_t fFromAscii
if true: data file was an ascii input file, otherwise it is a db/dat input file
virtual Int_t GetYDataIndex()
PStringVector fLabels
vector of all labels (used for x-, y-axis title in view)
Int_t fDataRange[4]
data bin range (fit type 0, 2, 4)
virtual const PDoubleVector * GetX()
Int_t fLineNo
original line number of the msr-file
virtual void AppendTheoryValue(Double_t dval)
Int_t fRunNumber
run number
virtual Int_t GetHistoNo()
virtual void SetForwardHistoNo(Int_t histoNo, Int_t idx=-1)
Bool_t fLogY
yes -> y-axis in log-scale, no (default) -> y-axis in lin-scale
Double_t fStep
step / error / neg_error, depending on the situation
virtual PRawRunDataSet * GetSet(UInt_t idx)
virtual Int_t GetLifetimeParamNo()
std::vector< PMsrLineStructure > PMsrLines
virtual bool Parse(std::string &errorMsg, bool ignoreFirstToken=false)
Int_t fFitType
fit type: 0=single histo fit, 2=asymmetry fit, 4=mu^- single histo fit, 8=non muSR fit ...
virtual Int_t GetAddT0BinSize(UInt_t addRunIdx)
TString outTemplate
holds the output file template
virtual void SetDataTimeStart(Double_t dval)
virtual UInt_t GetInstituteSize()
Double_t fAlpha
estimated alpha value from F/B counts
virtual void SetSample(const TString str)
PIntVector fPhaseParamNo
parameter number(s) if used instead of a phase value
virtual Int_t GetFitRangeOffset(UInt_t idx)
virtual void AppendValue(Double_t dval)
Double_t fRangeForPhaseCorrection[2]
field/frequency range for automatic phase correction
virtual const PDoubleVector * GetValue()
Double_t fFitRange[2]
fit range in (us)
virtual const Double_t GetField()
virtual const std::vector< PDoubleVector > * GetErrData()
TString fLine
msr-file line
virtual const TString * GetRunName()
PDoubleVector fMinExpectedPerHisto
expected pre histo chi2 or max. likelihood
virtual const TString * GetStartDate()
time_t fStartDateTimeSec
start run given as time_t object
virtual const TString * GetMuonSource()
virtual void SetAddT0Bin(Double_t dval, UInt_t addRunIdx, UInt_t histoNoIdx)
virtual void SetVersion(const TString &str)
Double_t fBkgFix[2]
fixed background in (1/ns) (fit type 0, 2, 4)
virtual void SetMapGlobal(UInt_t idx, Int_t ival)
virtual void SetTimeZeroBin(Double_t tzb)
virtual void ClearTemperature()
virtual UInt_t GetFileFormatSize()
PStringVector fInstitute
e.g. psi, ral, triumf (former: run format)
Int_t fHistoNo
corresponds to the histogram number in the data file
Bool_t fFitRangeInBins
flag telling if fit range is given in time or in bins
TString fBeamline
keeps the name of the be beamline, e.g. muE4, piM3.1, ...
virtual const Double_t GetMuonSpinAngle()
virtual void SetMuonBeamMomentum(const Double_t dval)
virtual Double_t GetBkgFix(UInt_t idx)
PDoubleVector fTmin
time minimum
PDoubleVector fTmax
time maximum
PDoubleVector fPhase
phase(s)
Double_t fTheoryTimeStart
start time of the theory
Double_t fTimeZeroBinEstimated
keeps the estimated time zero bin
TString fStartDate
start date of the run
virtual const TString * GetComment()
virtual bool IsNumber(std::string &str)
virtual void SetName(TString str)
Double_t fTimeZeroBin
keeps the time zero bin
virtual const PIntPair GetGoodDataBin(const UInt_t histoNo)
virtual PDoubleVector * GetData(UInt_t histoNo)
UInt_t rebin
holds the number of bins to be packed
virtual void SetLifetimeParamNo(Int_t ival)
virtual TString * GetXDataLabel()
virtual void SetInstitute(TString &str, Int_t idx=-1)
virtual void AppendDataTag(const TString str)
virtual void StripSpaces()
virtual void SetAddT0Bin(Double_t dval, UInt_t addRunIdx, UInt_t histoNoIdx)
Int_t fUnits
flag used to indicate the units. 1=field units (G); 2=field units (T); 3=frequency units (MHz); 4=Mc/...
Bool_t fIsGlobal
flag showing if the parameter is a global one (used for msr2data global)
virtual void SetHistoNo(Int_t no)
PDoubleVector fX
x-axis vector. Only used for non-muSR
virtual void SetRRFPacking(Int_t pack)
Int_t fRRFPhaseParamNo
parameter number if used instead of a RRF phase value
virtual const UInt_t GetNoOfTemperatures()
virtual Int_t GetForwardHistoNo(UInt_t idx=0)
virtual void SetSize(const UInt_t size)
virtual void SetT0Bin(Double_t dval, Int_t idx=-1)
virtual void SetFirstGoodBin(Int_t fgb)
virtual void SetStartDateTime(const time_t val)
TString fRunName
name of the run as found in the msr-file
virtual void SetOrientation(const TString str)
TString fStartTime
start time of the run
virtual const TString * GetInstrument()
virtual void SetNormParamNo(Int_t ival)
virtual Int_t GetBkgRange(UInt_t idx)
virtual Bool_t IsLifetimeCorrected()
TString fXYDataLabel[2]
used to get the indices via labels when using db-files (fit type 8)
virtual UInt_t GetForwardHistoNoSize()
virtual void SetFitType(Int_t ival)
TString fMuonSource
keeps the type of muon source, e.g. continous surface beam, pulsed beam, low energy muon beam ...
virtual void SetFileName(const TString &str)
virtual const PIntPair GetBkgBin(const UInt_t histoNo)
Int_t fXYDataIndex[2]
used to get the data indices when using db-files (fit type 8)
virtual Double_t GetRRFPhase()
TString compressFileName
holds the name of the outputfile name in case of compression is used
TString outPath
holds the output path
virtual const Double_t GetEnergy()
virtual Int_t GetFitType()
PRawRunDataVector fData
keeps the histos together with the histo related properties such as T0, first good bin...
virtual void AppendSubData(const UInt_t idx, const Double_t dval)
virtual void SetData(PDoubleVector data)
Bool_t useStandardOutput
flag showing if the converted shall be sent to the standard output
virtual void SetStopDateTime(const time_t val)
Bool_t fChisq
flag telling if min = chi2 or min = max.likelihood
virtual PDoubleVector * GetData()
virtual void SetBkgRange(Int_t ival, Int_t idx)
std::vector< PDoubleVector > fAddT0
t0 bins for addrun's
virtual void SetFitRange(Double_t dval, UInt_t idx)
Bool_t fLifetimeCorrection
lifetime correction flag for viewing (fit type 0)
virtual void AppendErrData(const PDoubleVector &data)
virtual PIntVector * GetMapGlobal()
virtual void SetRRFFreq(Double_t freq, const char *unit)
Bool_t fUseFitRanges
yes -> use the fit ranges to plot the data, no (default) -> use range information if present ...
PIntVector fRuns
list of runs to be plotted
virtual void SetPacking(Int_t ival)
virtual void SetGlobalPresent(Bool_t bval)
virtual void SetTheoryTimeStep(Double_t dval)
virtual const TString * GetStartTime()
virtual ~PMsrGlobalBlock()
virtual TString * GetInstitute(UInt_t idx=0)
PDoubleVector fValue
data vector
Double_t fMinExpected
expected total chi2 or max. likelihood
Int_t fLifetimeParamNo
muon lifetime parameter number (fit type 0)
PDoubleVector fRingAnode
LEM ring anode HVs (L,R[,T,B])
std::vector< PDoublePair > PDoublePairVector
Double_t fLowerBoundary
lower boundary for the fit parameter
virtual void SetLabel(const UInt_t idx, const TString str)
virtual void SetCryoName(const TString str)
virtual void SetSetup(const TString str)
virtual void SetLifetimeCorrection(Bool_t bval)
virtual Int_t GetAlphaParamNo()
Double_t fField
magnetic field value in (G)
virtual Int_t GetAddT0BinSize(UInt_t addRunIdx)
virtual const Double_t GetTransport()
TString fStopDate
stop date of the run
Double_t fRRFFreq
RRF frequency given in units of (MHz, Mc, T)
virtual void SetFitRange(Double_t dval, UInt_t idx)
PUIntVector runList
holds the run number list to be converted
virtual Int_t GetBetaParamNo()
UInt_t fRRFUnit
RRF frequency unit. 0=kHz, 1=MHz, 2=Mc/s, 3=Gauss, 4=Tesla.
virtual Int_t GetFirstGoodBin()
virtual ~PRawRunDataSet()
virtual void SetLaboratory(const TString &str)
Bool_t fLifeTimeCorrection
needed for single histo. If yes, only the asymmetry is shown, otherweise the positron spectrum ...
virtual void SetXDataIndex(Int_t ival)
virtual void SetField(const Double_t dval)
Int_t fFourierPower
i.e. zero padding up to 2^fFourierPower, default = 0 which means NO zero padding
Int_t fBkgFitParamNo
background fit parameter number (fit type 0)
virtual const TString * GetVersion()
virtual PIntVector * GetMap()
PIntVector fMapGlobal
here is stored if the maps used in the RUN block are global or not
PDoublePairVector fTemp
measured temperatures and standard deviations during the run
std::vector< PDoubleVector > fErrData
vector of all data errors
virtual const TString * GetMagnetName()
TString fGenerator
keeps the data file generator name
virtual void SetLastBkgBin(Int_t lbb)
virtual const PDoubleVector * GetDataBin(const UInt_t histoNo)
Int_t fPacking
packing/rebinning
virtual const UInt_t GetNoOfHistos()
Double_t fPosError
positive error if present
virtual Double_t GetDataTimeStart()
UInt_t fNdf
number of degrees of freedom
Int_t fNormParamNo
N0 parameter number (fit type 0)
virtual UInt_t GetRunNameSize()
TString fMuonSpecies
positive muon or negative muon
virtual const Int_t GetRunNumber()
PIntVector fForwardHistoNo
forward histogram number (fit type 0, 2, 4)
PIntVector fRedGreenOffset
keeps the Red/Green offsets
std::vector< TString > PStringVector
virtual Int_t GetDataRange(UInt_t idx)
virtual void SetLastGoodBin(Int_t lgb)
Bool_t fFitRangeInBins
flag telling if fit range is given in time or in bins
virtual void AppendData(const PDoubleVector &data)
virtual void AppendXTheoryValue(Double_t dval)
TString fSpecificValidatorURL
keeps the instrument specific validator MusrRoot URL
virtual const TString * GetRunTitle()
Int_t fBkgRange[4]
background bin range (fit type 0, 2, 4)
virtual void SetFromAscii(const Bool_t bval)
std::vector< PRawRunDataSet > fDataVec
TString fRunTitle
run title
virtual Double_t GetTimeZeroBin()
virtual PRawRunDataSet * GetDataSet(const UInt_t idx, Bool_t wantHistoNo=true)
PNonMusrRawRunData fDataNonMusr
keeps all ascii- or db-file info in case of nonMusr fit
PDoubleVector fYmin
asymmetry/counts minimum
Double_t fMuonBeamMomentum
given in MeV/c, for LEM this is the momentum of the secondary beamline and NOT the momentum of the lo...
Double_t fTimeResolution
time resolution of the run in (ns)
virtual void SetBetaParamNo(Int_t ival)
virtual const Double_t GetT0BinEstimated(const UInt_t histoNo)
TString fName
keeps the histogram name.
TString fStopTime
stop time of the run
Double_t fPlotRange[2]
field/frequency plot range
virtual const time_t GetStartDateTime()
virtual const TString * GetFileName()
PDoubleVector fYmax
asymmetry/counts maximum
virtual void SetMuonSpecies(const TString &str)
Double_t fRRFPhase
RRF phase.
Int_t fNoOfParams
how many parameters are given
std::vector< PIntPair > PIntPairVector
virtual void SetDataRange(Int_t ival, Int_t idx)
virtual void SetPacking(Int_t ival)
virtual Int_t GetPacking()
virtual Double_t GetFitRange(UInt_t idx)
TString fLaboratory
keeps the name of the laboratory, e.g. PSI, ISIS, TRIUMF, JPARC
virtual void SetTimeResolution(const Double_t dval)
TString fCryo
name of the cryo
PDoubleVector fT0
t0 bins (fit type 0, 1, 2, 4). if fit type 0 -> f0, f1, f2, ...; if fit type 2, 4 -> f0...
TString fDate
string holding fitting date and time
virtual PIntPair GetGoodDataBin(UInt_t histoNo)
UInt_t idf
IDF version for NeXus files.
Double_t fMuonSpinAngle
gives the muon spin angle in degrees (reference frame depends on the instrument)
PUIntVector fNdfPerHisto
number of degrees of freedom per histo
virtual Double_t GetBkgEstimated(UInt_t idx)
virtual void SetTemperature(const UInt_t idx, const Double_t temp, const Double_t errTemp)
virtual void ReplaceTheory(const PDoubleVector &theo)
virtual Double_t GetDataTimeStep()
PStringNumberList(char *str)
Int_t fRRFPacking
RRF packing.
virtual const TString * GetLaboratory()
virtual const PIntVector GetRedGreenOffset()
virtual void SetBkgFix(Double_t dval, Int_t idx)
Int_t fPacking
packing/rebinning
TString outFormat
holds the information about the output data file format
virtual void SetTransport(const Double_t dval)
TString fSetup
description of the setup of this run
Bool_t fPosErrorPresent
positive error is defined (as a number)
virtual TString * GetRunName(UInt_t idx=0)
PStringVector fDataTags
vector of all data tags
PStringVector inFileName
holds the file name of the input data file
virtual Double_t GetFitRange(UInt_t idx)
virtual void SetFitType(Int_t ival)
PStringNumberList(std::string str)
std::pair< Int_t, Int_t > PIntPair
PStringVector fRunName
name of the run file
virtual void SetTheoryValue(UInt_t i, Double_t dval)
virtual void SetFirstBkgBin(Int_t fbb)
virtual UInt_t GetBackwardHistoNoSize()
std::vector< Bool_t > PBoolVector
std::vector< PRunNameTemplate > PRunNameTemplateList
TString inTemplate
holds the input file template
virtual const time_t GetStopDateTime()