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 32b4c89dae
commit 8acb5474a9
7 changed files with 39 additions and 0 deletions

View File

@@ -440,6 +440,13 @@ Bool_t PRunSingleHistoRRF::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++) {