Functions can now not only operate on parameters and maps but also on meta information
obtained from the data files. Currently the following meta information can be accessed if available: field in (G): B or b energy in (keV): En or en temperature in (K): since some data files contain a vector of temperature, they have to be accessed with an index, like T0 or t0, etc.
This commit is contained in:
@ -49,7 +49,8 @@ PRunBase::PRunBase()
|
||||
fRunNo = -1;
|
||||
fRunInfo = nullptr;
|
||||
fRawData = nullptr;
|
||||
fField = -1.0;
|
||||
fMetaData.fField = PMUSR_UNDEFINED;
|
||||
fMetaData.fEnergy = PMUSR_UNDEFINED;
|
||||
fTimeResolution = -1.0;
|
||||
|
||||
fFitStartTime = PMUSR_UNDEFINED;
|
||||
@ -91,7 +92,8 @@ PRunBase::PRunBase(PMsrHandler *msrInfo, PRunDataHandler *rawData, UInt_t runNo,
|
||||
}
|
||||
|
||||
// init private variables
|
||||
fField = -1.0;
|
||||
fMetaData.fField = PMUSR_UNDEFINED;
|
||||
fMetaData.fEnergy = PMUSR_UNDEFINED;
|
||||
fTimeResolution = -1.0;
|
||||
for (Int_t i=0; i<fMsrInfo->GetNoOfFuncs(); i++)
|
||||
fFuncValues.push_back(0.0);
|
||||
|
Reference in New Issue
Block a user