Back to home page

EIC code displayed by LXR

 
 

    


Warning, /DD4hep/examples/ClientTests/compact/WorldMaterial.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   <define>
0042     <constant name="world_side" value="50*cm"/>
0043     <constant name="world_x" value="world_side"/>
0044     <constant name="world_y" value="world_side"/>
0045     <constant name="world_z" value="world_side"/>
0046   </define>
0047 
0048   <world material="Steel235"/>
0049 
0050   <detectors>
0051     <detector id="1" name="SiliconBlock" type="DD4hep_BoxSegment" vis="VisibleGreen">
0052       <material name="Silicon"/>
0053       <sensitive type="tracker"/>
0054       <box      x="20*cm" y="20*cm" z="20*cm"/>
0055       <position x="0"  y="0"  z="0"/>
0056       <rotation x="0"  y="0"  z="0"/>
0057     </detector>
0058   </detectors>
0059 </lccdd>