Warning, /DD4hep/examples/ClientTests/compact/VisAttr_Extend.xml is written in an unsupported language. File is not indexed.
0001 <?xml version="1.0" encoding="UTF-8"?>
0002 <lccdd>
0003
0004 <!-- #==========================================================================
0005 # AIDA Detector description implementation
0006 #==========================================================================
0007 # Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
0008 # All rights reserved.
0009 #
0010 # For the licensing terms see $DD4hepINSTALL/LICENSE.
0011 # For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
0012 #
0013 #==========================================================================
0014 -->
0015
0016 <info name="alignment_boxes"
0017 title="Alignment test with 2 simple boxes"
0018 author="Markus Frank"
0019 url="http://www.cern.ch/lhcb"
0020 status="development"
0021 version="$Id: compact.xml 513 2013-04-05 14:31:53Z gaede $">
0022 <comment>Alignment test with 2 simple boxes</comment>
0023 </info>
0024
0025 <includes>
0026 <gdmlFile ref="${DD4hepINSTALL}/DDDetectors/compact/elements.xml"/>
0027 <gdmlFile ref="${DD4hepINSTALL}/DDDetectors/compact/materials.xml"/>
0028 </includes>
0029
0030 <define>
0031 <constant name="world_side" value="30000"/>
0032 <constant name="world_x" value="world_side"/>
0033 <constant name="world_y" value="world_side"/>
0034 <constant name="world_z" value="world_side"/>
0035 </define>
0036
0037 <display>
0038 <vis name="InvisibleNoDaughters" showDaughters="false" visible="false"/>
0039 <vis name="InvisibleWithDaughters" showDaughters="true" visible="false"/>
0040 <vis name="B1_vis" alpha="1.0" r="1" g="0" b="0" showDaughters="true" visible="true"/>
0041 <vis name="B2_vis" extend="B1_vis" r="0" g="1"/>
0042 </display>
0043
0044 <detectors>
0045 <comment>Boxes</comment>
0046 <detector id="3" name="B3" type="DD4hep_BoxSegment" vis="B2_vis">
0047 <comment>Vertical box</comment>
0048 <material name="Steel235"/>
0049 <box x="10" y="20" z="30"/>
0050 <position x="-10" y="30" z="10"/>
0051 <rotation x="0" y="0" z="0"/>
0052 </detector>
0053 <detector id="3" name="B4" type="DD4hep_BoxSegment" vis="B1_vis">
0054 <comment>Vertical box</comment>
0055 <material name="Steel235"/>
0056 <box x="10" y="20" z="30"/>
0057 <position x="0" y="0" z="0"/>
0058 <rotation x="0" y="0" z="0"/>
0059 </detector>
0060 </detectors>
0061 </lccdd>