musrfit
1.9.2
|
#include <PMusrT0.h>
Public Member Functions | |
PMusrT0Data () | |
virtual | ~PMusrT0Data () |
virtual void | InitData () |
virtual Bool_t | IsSingleHisto () |
virtual UInt_t | GetRawRunDataSize () |
virtual PRawRunData * | GetRawRunData (Int_t idx) |
virtual Int_t | GetRunNo () |
virtual Int_t | GetAddRunIdx () |
virtual Int_t | GetHistoNoIdx () |
virtual UInt_t | GetHistoNoSize () |
virtual Int_t | GetHistoNo (UInt_t idx) |
virtual Int_t | GetDetectorTag () |
virtual Int_t | GetCmdTag () |
virtual UInt_t | GetT0BinSize () |
virtual Int_t | GetT0Bin (UInt_t idx) |
virtual UInt_t | GetAddT0Entries () |
virtual UInt_t | GetAddT0BinSize (UInt_t idx) |
virtual Int_t | GetAddT0Bin (UInt_t addRunIdx, UInt_t idx) |
virtual Int_t | GetT0BinData () |
virtual void | SetSingleHisto (const Bool_t flag) |
virtual void | SetRawRunData (const std::vector< PRawRunData *> rawRunData) |
virtual void | SetRunNo (const UInt_t runNo) |
virtual void | SetAddRunIdx (const UInt_t addRunIdx) |
virtual void | SetHistoNoIdx (const UInt_t histoNoIdx) |
virtual void | SetHistoNo (const PIntVector histoNo) |
virtual void | SetDetectorTag (const UInt_t detectorTag) |
virtual void | SetCmdTag (const UInt_t cmdTag) |
virtual void | SetT0Bin (UInt_t val, UInt_t idx) |
virtual void | SetAddT0Bin (UInt_t val, UInt_t addRunIdx, UInt_t idx) |
virtual void | SetT0BinData (UInt_t val) |
Private Attributes | |
Bool_t | fSingleHisto |
true if single histo fit, false for asymmetry fit More... | |
std::vector< PRawRunData * > | fRawRunData |
holds the raw data of the needed runs, idx=0 the run, idx>0 the addruns More... | |
Int_t | fRunNo |
msr-file run number More... | |
Int_t | fAddRunIdx |
msr-file addrun index More... | |
Int_t | fHistoNoIdx |
msr-file histo number index More... | |
PIntVector | fHistoNo |
msr-file histo numbers, i.e. idx + Red/Green offset More... | |
Int_t | fDetectorTag |
detector tag. forward=0,backward=1 More... | |
Int_t | fCmdTag |
command tag. 0=get t0, 1=get data-/bkg-range, 2=get t0, and data-/bkg-range More... | |
PIntVector | fT0 |
holding the t0's of the run More... | |
std::vector< PIntVector > | fAddT0 |
holding the t0's of the addruns More... | |
Int_t | fT0Data |
holding the t0 found in the current data set More... | |
PMusrT0Data::PMusrT0Data | ( | ) |
|
virtual |
Destructor.
Definition at line 60 of file PMusrT0.cpp.
References fAddT0, fHistoNo, fRawRunData, and fT0.
|
inlinevirtual |
Definition at line 75 of file PMusrT0.h.
References fAddRunIdx.
Referenced by PMusrT0::InitT0(), PMusrT0::PMusrT0(), PMusrT0::SetEstimatedT0Channel(), and PMusrT0::SetT0Channel().
|
virtual |
Get addt0 (in bin) of a run.
return:
addRunIdx | index of the addrun |
idx | index of the run (msr-file). |
Definition at line 186 of file PMusrT0.cpp.
References fAddT0.
Referenced by PMusrT0::PMusrT0().
|
virtual |
Get addt0 size of a run, i.e. the number of addt0's for a given msr-file run.
return:
idx | index of the run (msr-file). |
Definition at line 165 of file PMusrT0.cpp.
References fAddT0.
|
inlinevirtual |
|
inlinevirtual |
Definition at line 80 of file PMusrT0.h.
References fCmdTag.
Referenced by musrt0_item(), and PMusrT0::PMusrT0().
|
inlinevirtual |
Definition at line 79 of file PMusrT0.h.
References fDetectorTag.
Referenced by PMusrT0::InitDataAndBkg(), PMusrT0::InitT0(), PMusrT0::PMusrT0(), PMusrT0::SetBkgFirstChannel(), PMusrT0::SetBkgLastChannel(), PMusrT0::SetDataFirstChannel(), PMusrT0::SetDataLastChannel(), PMusrT0::SetEstimatedT0Channel(), and PMusrT0::SetT0Channel().
|
virtual |
Get histogram number of a run.
return:
idx | index of the run (msr-file). |
Definition at line 125 of file PMusrT0.cpp.
References fHistoNo.
Referenced by PMusrT0::PMusrT0().
|
inlinevirtual |
Definition at line 76 of file PMusrT0.h.
References fHistoNoIdx.
Referenced by PMusrT0::InitT0(), PMusrT0::PMusrT0(), PMusrT0::SetEstimatedT0Channel(), and PMusrT0::SetT0Channel().
|
inlinevirtual |
|
virtual |
Returns the raw run data set with index idx.
return:
idx | index of the raw run data |
Definition at line 105 of file PMusrT0.cpp.
References fRawRunData.
Referenced by PMusrT0::PMusrT0().
|
inlinevirtual |
|
inlinevirtual |
Definition at line 74 of file PMusrT0.h.
References fRunNo.
Referenced by PMusrT0::InitDataAndBkg(), PMusrT0::InitT0(), PMusrT0::PMusrT0(), PMusrT0::SetBkgFirstChannel(), PMusrT0::SetBkgLastChannel(), PMusrT0::SetDataFirstChannel(), PMusrT0::SetDataLastChannel(), PMusrT0::SetEstimatedT0Channel(), and PMusrT0::SetT0Channel().
|
virtual |
Get t0 (in bin) of a run.
return:
idx | index of the run (msr-file). |
Definition at line 145 of file PMusrT0.cpp.
References fT0.
Referenced by PMusrT0::PMusrT0().
|
inlinevirtual |
Definition at line 86 of file PMusrT0.h.
References fT0Data.
Referenced by PMusrT0::ShowDataFileT0Channel().
|
inlinevirtual |
|
virtual |
Initialize the necessary variables.
Definition at line 76 of file PMusrT0.cpp.
References fAddRunIdx, fAddT0, fCmdTag, fDetectorTag, fHistoNo, fHistoNoIdx, fRawRunData, fRunNo, fSingleHisto, fT0, and fT0Data.
Referenced by main(), and PMusrT0Data().
|
inlinevirtual |
Definition at line 71 of file PMusrT0.h.
References fSingleHisto.
Referenced by PMusrT0::InitT0(), PMusrT0::PMusrT0(), PMusrT0::SetEstimatedT0Channel(), and PMusrT0::SetT0Channel().
|
inlinevirtual |
|
virtual |
Set addt0 value.
val | t0 value to be set |
addRunIdx | addt0 index (for each addrun, there has to be an addt0) |
idx | index at which t0 shall be set. |
Definition at line 224 of file PMusrT0.cpp.
References fAddT0.
Referenced by main().
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
virtual |
Set t0 value.
val | t0 value to be set |
idx | index at which t0 shall be set. |
Definition at line 206 of file PMusrT0.cpp.
References fT0.
Referenced by main().
|
inlinevirtual |
|
private |
msr-file addrun index
Definition at line 104 of file PMusrT0.h.
Referenced by GetAddRunIdx(), InitData(), and SetAddRunIdx().
|
private |
holding the t0's of the addruns
Definition at line 110 of file PMusrT0.h.
Referenced by GetAddT0Bin(), GetAddT0BinSize(), GetAddT0Entries(), InitData(), SetAddT0Bin(), and ~PMusrT0Data().
|
private |
command tag. 0=get t0, 1=get data-/bkg-range, 2=get t0, and data-/bkg-range
Definition at line 108 of file PMusrT0.h.
Referenced by GetCmdTag(), InitData(), and SetCmdTag().
|
private |
detector tag. forward=0,backward=1
Definition at line 107 of file PMusrT0.h.
Referenced by GetDetectorTag(), InitData(), and SetDetectorTag().
|
private |
msr-file histo numbers, i.e. idx + Red/Green offset
Definition at line 106 of file PMusrT0.h.
Referenced by GetHistoNo(), GetHistoNoSize(), InitData(), SetHistoNo(), and ~PMusrT0Data().
|
private |
msr-file histo number index
Definition at line 105 of file PMusrT0.h.
Referenced by GetHistoNoIdx(), InitData(), and SetHistoNoIdx().
|
private |
holds the raw data of the needed runs, idx=0 the run, idx>0 the addruns
Definition at line 102 of file PMusrT0.h.
Referenced by GetRawRunData(), GetRawRunDataSize(), InitData(), SetRawRunData(), and ~PMusrT0Data().
|
private |
msr-file run number
Definition at line 103 of file PMusrT0.h.
Referenced by GetRunNo(), InitData(), and SetRunNo().
|
private |
true if single histo fit, false for asymmetry fit
Definition at line 101 of file PMusrT0.h.
Referenced by InitData(), IsSingleHisto(), and SetSingleHisto().
|
private |
holding the t0's of the run
Definition at line 109 of file PMusrT0.h.
Referenced by GetT0Bin(), GetT0BinSize(), InitData(), SetT0Bin(), and ~PMusrT0Data().
|
private |
holding the t0 found in the current data set
Definition at line 111 of file PMusrT0.h.
Referenced by GetT0BinData(), InitData(), and SetT0BinData().