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