From 36cf260dd930cafdc48c8175a4baf17ff47d8cee Mon Sep 17 00:00:00 2001 From: Markus FRANK <Markus.Frank@cern.ch> Date: Mon, 9 Nov 2020 19:32:11 +0100 Subject: [PATCH] Try to fix reflections for volumes and assemblies --- DDG4/src/Geant4Converter.cpp | 4 ++-- examples/DDCMS/data/dd4hep-config.xml | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/DDG4/src/Geant4Converter.cpp b/DDG4/src/Geant4Converter.cpp index dcb7a1a4d..32030dd31 100644 --- a/DDG4/src/Geant4Converter.cpp +++ b/DDG4/src/Geant4Converter.cpp @@ -1582,8 +1582,8 @@ Geant4Converter& Geant4Converter::create(DetElement top) { //setPrintLevel(VERBOSE); //debugMaterials = true; //debugElements = true; - debugReflections = true; - debugPlacements = true; + //debugReflections = true; + //debugPlacements = true; #if ROOT_VERSION_CODE >= ROOT_VERSION(6,17,0) handleArray(this, geo.manager->GetListOfGDMLMatrices(), &Geant4Converter::handleMaterialProperties); handleArray(this, geo.manager->GetListOfOpticalSurfaces(), &Geant4Converter::handleOpticalSurface); diff --git a/examples/DDCMS/data/dd4hep-config.xml b/examples/DDCMS/data/dd4hep-config.xml index 5d1a72836..4d46c9ca8 100644 --- a/examples/DDCMS/data/dd4hep-config.xml +++ b/examples/DDCMS/data/dd4hep-config.xml @@ -316,6 +316,8 @@ <arg value="vis-invisible-daughters"/> <arg value="-show"/> </plugin> + +<!-- <plugin name="DD4hep_PlacedVolumeProcessor"> <arg value="-recursive"/> <arg value="-detector"/> @@ -327,7 +329,7 @@ <arg value="VolName_Vis"/> <arg value="-show"/> </plugin> -<!-- + <plugin name="DD4hep_DetectorDump"> <arg value="-sensitive"/> </plugin> -- GitLab