fix of wrong type: float instead of int, for frames_good.
Build and Deploy Documentation / build-and-deploy (push) Successful in 32s

This commit is contained in:
2026-07-12 16:59:24 +02:00
parent 3aeaa5477f
commit 61e7fac90a
+1 -1
View File
@@ -627,7 +627,7 @@ Bool_t PRunDataHandler::ReadNexusFileIdf1(T& nxs_file)
runData.SetDeadTimeParam(dt);
}
if (nxs_file->HasDataset("/run/instrument/beam/frames_good")) {
ival = nxs_file->template GetDataset<float>("/run/instrument/beam/frames_good").GetData()[0];
ival = nxs_file->template GetDataset<int>("/run/instrument/beam/frames_good").GetData()[0];
runData.SetNumberOfGoodFrames(ival);
}