16raise ValueError("In-memory conversion to Detray detector is not possible without ACTS Gen3 Geometry (set by 'Acts.TrackingGeometry.UseBlueprint' flag).")
18raise ValueError("Detray detector description can not be built without a Detray detector (set by 'Acts.TrackingGeometry.BuildDetrayGeometry' flag).")
19if flags.Detector.GeometryCalo or flags.Detector.GeometryMuon:
20raise ValueError("Detray detector description can not be built with calo/muon volumes in the tracking geometry yet.")