From 3480bd9e0f975710a76cdfeb97c23f0698066b4f Mon Sep 17 00:00:00 2001 From: Frank Gaede <frank.gaede@desy.de> Date: Thu, 19 Mar 2015 08:41:34 +0000 Subject: [PATCH] - added tube envelope shape to NestedDetector example -> for debugging: - envelope is not visible in teveDisplay ! - envelope is visible in geoDisplay but transparency is ignored ... --- examples/ClientTests/compact/NestedDetectors.xml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/examples/ClientTests/compact/NestedDetectors.xml b/examples/ClientTests/compact/NestedDetectors.xml index c4cc55cb1..9ce0986a3 100644 --- a/examples/ClientTests/compact/NestedDetectors.xml +++ b/examples/ClientTests/compact/NestedDetectors.xml @@ -43,11 +43,14 @@ <vis name="InvisibleNoDaughters" showDaughters="false" visible="false"/> <vis name="InvisibleWithDaughters" showDaughters="true" visible="false"/> <vis name="BlueVis" alpha="1" r="0.0" g="0.0" b="1.0" showDaughters="true" visible="true"/> + <vis name="BlueVisTrans" alpha="0.1" r="0.0" g="0.0" b="1.0" showDaughters="true" visible="true"/> </display> <comment>Tracking detectors</comment> <detectors> - <detector id="99" name="SiTrackers" type="DD4hep_SubdetectorAssembly" vis="BlueVis"> + <detector id="99" name="SiTrackers" type="DD4hep_SubdetectorAssembly" vis="BlueVisTrans"> + <shape name="SiTrackersEnv" type="Tube" rmin="0*mm" rmax="2500*mm" dz="2200*mm" material="Air"> + </shape> <comment>Silicon Tracker Assembly</comment> <composite name="SiTrackerBarrel"/> <composite name="SiVertexBarrel"/> -- GitLab