Skip to content
Snippets Groups Projects
Commit f6f3f7fc authored by Andre Sailer's avatar Andre Sailer
Browse files

Geant4DetectorConstruction: forward debugLimts, printPlacements,...

Geant4DetectorConstruction: forward debugLimts, printPlacements, printSensitives to Converter code from plugin
parent a1948545
No related branches found
No related tags found
No related merge requests found
...@@ -172,6 +172,9 @@ void Geant4DetectorGeometryConstruction::constructGeo(Geant4DetectorConstruction ...@@ -172,6 +172,9 @@ void Geant4DetectorGeometryConstruction::constructGeo(Geant4DetectorConstruction
conv.debugSurfaces = m_debugSurfaces; conv.debugSurfaces = m_debugSurfaces;
conv.debugPlacements = m_debugPlacements; conv.debugPlacements = m_debugPlacements;
conv.debugReflections = m_debugReflections; conv.debugReflections = m_debugReflections;
conv.debugLimits = m_debugLimits;
conv.printPlacements = m_printPlacements;
conv.printSensitives = m_printSensitives;
ctxt->geometry = conv.create(world).detach(); ctxt->geometry = conv.create(world).detach();
ctxt->geometry->printLevel = outputLevel(); ctxt->geometry->printLevel = outputLevel();
......
...@@ -30,9 +30,10 @@ class Geometry(ConfigHelper): ...@@ -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._dumpHierachy_EXTRA = {"help": "If larger than 0, the depth up to which detector hierarchy is dumped"}
self.dumpHierarchy = 0 self.dumpHierarchy = 0
# unused self._enablePrintPlacements_EXTRA = {"help": "Print information about placements"}
self.printPlacements = False self.enablePrintPlacements = False
self.printSensitives = 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._dumpDGDML_EXTRA = {"help": "If not empty, filename to dump the Geometry as GDML"}
self.dumpGDML = "" self.dumpGDML = ""
...@@ -50,8 +51,8 @@ class Geometry(ConfigHelper): ...@@ -50,8 +51,8 @@ class Geometry(ConfigHelper):
act.DebugReflections = self.enableDebugReflections act.DebugReflections = self.enableDebugReflections
act.DebugRegions = self.enableDebugRegions act.DebugRegions = self.enableDebugRegions
act.DebugSurfaces = self.enableDebugSurfaces act.DebugSurfaces = self.enableDebugSurfaces
act.PrintPlacements = self.printPlacements act.PrintPlacements = self.enablePrintPlacements
act.PrintSensitives = self.printSensitives act.PrintSensitives = self.enablePrintSensitives
act.GeoInfoPrintLevel = geoPrintLevel act.GeoInfoPrintLevel = geoPrintLevel
act.DumpHierarchy = self.dumpHierarchy act.DumpHierarchy = self.dumpHierarchy
act.DumpGDML = self.dumpGDML act.DumpGDML = self.dumpGDML
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment