ess.dream.io.geant4.get_calibrated_geant4_detector#

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

Replacement for ess.reduce.nexus.workflow.get_calibrated_detector().

Since the Geant4 detectors already have computed positions as well as logical shape, this just extracts the relevant event data.

Return type:

CalibratedDetector[TypeVar(RunType, ess.reduce.nexus.types.BackgroundRun (int), ess.reduce.nexus.types.EmptyBeamRun (int), ess.reduce.nexus.types.SampleRun (int), TransmissionRun[ess.reduce.nexus.types.SampleRun (int)], TransmissionRun[ess.reduce.nexus.types.BackgroundRun (int)], ess.reduce.nexus.types.VanadiumRun (int))]