add field, temperature values from meta-data of the data-files to the runs. This will be needed if functions want to access this information (not yet implemented).

This commit is contained in:
2020-06-13 16:13:44 +02:00
parent f03b918840
commit 602a5a4e6c
7 changed files with 39 additions and 0 deletions

View File

@ -709,6 +709,13 @@ Bool_t PRunSingleHisto::PrepareData()
return false;
}
// keep the field from the meta-data from the data-file
fField = runData->GetField();
// keep the temperature(s) from the meta-data from the data-file
for (unsigned int i=0; i<runData->GetNoOfTemperatures(); i++)
fTemp.push_back(runData->GetTemperature(i));
// collect histogram numbers
PUIntVector histoNo; // histoNo = msr-file forward + redGreen_offset - 1
for (UInt_t i=0; i<fRunInfo->GetForwardHistoNoSize(); i++) {