diff --git a/DDG4/plugins/Geant4DetectorGeometryConstruction.cpp b/DDG4/plugins/Geant4DetectorGeometryConstruction.cpp index 749a8e20d716d956591a3dc6b4ed3908c429edad..e4f870f5449e888b99c983d79215ef8a8c461704 100644 --- a/DDG4/plugins/Geant4DetectorGeometryConstruction.cpp +++ b/DDG4/plugins/Geant4DetectorGeometryConstruction.cpp @@ -172,6 +172,9 @@ void Geant4DetectorGeometryConstruction::constructGeo(Geant4DetectorConstruction conv.debugSurfaces = m_debugSurfaces; conv.debugPlacements = m_debugPlacements; conv.debugReflections = m_debugReflections; + conv.debugLimits = m_debugLimits; + conv.printPlacements = m_printPlacements; + conv.printSensitives = m_printSensitives; ctxt->geometry = conv.create(world).detach(); ctxt->geometry->printLevel = outputLevel(); diff --git a/DDG4/python/DDSim/Helper/Geometry.py b/DDG4/python/DDSim/Helper/Geometry.py index 127437c480c667a8e6512359fdd585bc6c46ebbb..0ec99aa073ba67d89cb63304c7e371e15e8ba8bd 100644 --- a/DDG4/python/DDSim/Helper/Geometry.py +++ b/DDG4/python/DDSim/Helper/Geometry.py @@ -30,9 +30,10 @@ class Geometry(ConfigHelper): self._dumpHierachy_EXTRA = {"help": "If larger than 0, the depth up to which detector hierarchy is dumped"} self.dumpHierarchy = 0 - # unused - self.printPlacements = False - self.printSensitives = False + self._enablePrintPlacements_EXTRA = {"help": "Print information about placements"} + self.enablePrintPlacements = False + self._enablePrintSensitives_EXTRA = {"help": "Print information about Sensitives"} + self.enablePrintSensitives = False self._dumpDGDML_EXTRA = {"help": "If not empty, filename to dump the Geometry as GDML"} self.dumpGDML = "" @@ -50,8 +51,8 @@ class Geometry(ConfigHelper): act.DebugReflections = self.enableDebugReflections act.DebugRegions = self.enableDebugRegions act.DebugSurfaces = self.enableDebugSurfaces - act.PrintPlacements = self.printPlacements - act.PrintSensitives = self.printSensitives + act.PrintPlacements = self.enablePrintPlacements + act.PrintSensitives = self.enablePrintSensitives act.GeoInfoPrintLevel = geoPrintLevel act.DumpHierarchy = self.dumpHierarchy act.DumpGDML = self.dumpGDML