Warning, /DD4hep/examples/ClientTests/compact/WorldVolume.xml is written in an unsupported language. File is not indexed.
0001 <?xml version="1.0" encoding="UTF-8"?>
0002 <lccdd>
0003 <!-- #==========================================================================
0004 # AIDA Detector description implementation
0005 #==========================================================================
0006 # Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
0007 # All rights reserved.
0008 #
0009 # For the licensing terms see $DD4hepINSTALL/LICENSE.
0010 # For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
0011 #
0012 #==========================================================================
0013 -->
0014
0015 <info name="SiliconBlock"
0016 title="Test with 2 simple silicon boxes"
0017 author="Markus Frank"
0018 url="http://www.cern.ch/lhcb"
0019 status="development"
0020 version="$Id: compact.xml 513 2013-04-05 14:31:53Z gaede $">
0021 <comment>Alignment test with 2 simple boxes</comment>
0022 </info>
0023
0024 <includes>
0025 <gdmlFile ref="${DD4hepINSTALL}/DDDetectors/compact/elements.xml"/>
0026 <gdmlFile ref="${DD4hepINSTALL}/DDDetectors/compact/materials.xml"/>
0027 </includes>
0028
0029
0030 <!-- Note:
0031 You can either see the world volume itself (showDaughters="false")
0032 or the children (showDaughters="true") not both.
0033 -->
0034 <display>
0035 <vis name="Invisible" showDaughters="false" visible="false"/>
0036 <vis name="InvisibleWithChildren" showDaughters="true" visible="false"/>
0037 <vis name="WorldVis" alpha="0.8" r="1.0" g="1.0" b="0.0" showDaughters="false" visible="true" drawingStyle="solid" lineStyle="solid"/>
0038 <vis name="VisibleGreen" alpha="1.0" r="0.0" g="1.0" b="0.0" showDaughters="true" visible="true" drawingStyle="solid" lineStyle="solid"/>
0039 </display>
0040
0041 <world material="Air">
0042 <shape type="BooleanShape" operation="Union">
0043 <shape type="BooleanShape" operation="Union">
0044 <shape type="Tube" rmin="0*cm" rmax="100*cm" dz="100*cm"/>
0045 <shape type="Cone" rmin2="0*cm" rmax2="90*cm" rmin1="0*cm" rmax1="30*cm" z="150*cm"/>
0046 <position x="0*cm" y="0*cm" z="85*cm"/>
0047 </shape>
0048 <shape type="Cone" rmin2="0*cm" rmax2="90*cm" rmin1="0*cm" rmax1="30*cm" z="150*cm"/>
0049 <position x="0*cm" y="0*cm" z="-85*cm"/>
0050 <rotation x="pi" y="0" z="0"/>
0051 </shape>
0052 </world>
0053
0054 <detectors>
0055 <detector id="1" name="SiliconBlock" type="DD4hep_BoxSegment" vis="VisibleGreen">
0056 <material name="Silicon"/>
0057 <sensitive type="tracker"/>
0058 <box x="20*cm" y="20*cm" z="20*cm"/>
0059 <position x="0" y="0" z="0"/>
0060 <rotation x="0" y="0" z="0"/>
0061 </detector>
0062 </detectors>
0063 </lccdd>