ess.dream.io.geant4.extract_detector_ltotal#

ess.dream.io.geant4.extract_detector_ltotal(detector)[source]#

Extract Ltotal from the detector data. TODO: This is a temporary implementation. We should instead read the positions separately from the event data, so we don’t need to re-load the positions every time new events come in while streaming live data.

Return type:

DetectorLtotal[TypeVar(RunType, ess.reduce.nexus.types.SampleRun (int), ess.reduce.nexus.types.VanadiumRun (int))]