diff --git a/DDCore/src/DetectorImp.cpp b/DDCore/src/DetectorImp.cpp index 59ac8f4a8faa5a96f3f63ee03a16780b3465840e..ca89daac9bf19089c2060e32cf721483a24ce43a 100644 --- a/DDCore/src/DetectorImp.cpp +++ b/DDCore/src/DetectorImp.cpp @@ -679,7 +679,6 @@ void DetectorImp::endDocument(bool close_geometry) { // Patching shape names of anaonymous shapes ShapePatcher patcher(m_volManager, m_world); patcher.patchShapes(); - mapDetectorTypes(); m_state = READY; } diff --git a/DDG4/examples/SiDSim.py b/DDG4/examples/SiDSim.py index 11e61f76c94d3db20131781286edbe2282eb62ed..1cee7359a24ee3a2c633d851ffdabb06f07a6496 100644 --- a/DDG4/examples/SiDSim.py +++ b/DDG4/examples/SiDSim.py @@ -56,7 +56,7 @@ def run(): if hlp: help() sys.exit(1) - + kernel = DDG4.Kernel() description = kernel.detectorDescription() install_dir = os.environ['DD4hepINSTALL']