Back to home page

EIC code displayed by LXR

 
 

    


Warning, /DD4hep/examples/ClientTests/compact/Check_Air.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=   "ShapeCheck"
0016         title=  "Checking individual shapes in D4hep by comparing the mesh vertices"
0017         author= "Markus Frank"
0018         url=    "http://www.cern.ch/lhcb"
0019         status= "development"
0020         version="1.0">
0021     <comment>Shape tester</comment>        
0022   </info>
0023 
0024   <debug>
0025     <type name="materials" value="1"/>
0026   </debug>
0027 
0028   <includes>
0029     <gdmlFile  ref="${DD4hepINSTALL}/DDDetectors/compact/elements.xml"/>
0030   </includes>
0031 
0032   <define>
0033     <constant name="world_side" value="300*cm"/>
0034     <constant name="world_x" value="world_side"/>
0035     <constant name="world_y" value="world_side"/>
0036     <constant name="world_z" value="world_side"/>
0037   </define>
0038 
0039   <std_conditions type="STP">
0040       <T unit="kelvin" value="333.33"/>
0041       <P unit="atmosphere" value="2.22"/>
0042   </std_conditions>
0043 
0044   <display>
0045     <vis name="Box_vis" alpha="1.0" r="1" g="0" b="0" showDaughters="true" visible="true"/>
0046   </display>
0047 
0048   <materials>
0049     <material name="Air">
0050       <D type="density" unit="g/cm3" value="0.001214"/>
0051       <fraction n="0.7494" ref="N"/>
0052       <fraction n="0.2369" ref="O"/>
0053       <fraction n="0.0129" ref="Ar"/>
0054       <fraction n="0.0008" ref="H"/>
0055     </material>
0056   
0057     <!-- We model vakuum just as very thin air -->
0058     <material name="Vacuum">  
0059       <D type="density" unit="g/cm3" value="0.0000000001" />
0060       <T unit="kelvin" value="111.11"/>
0061       <P unit="pascal" value="1e-10"/>
0062       <composite n="1" ref="Air"/>
0063     </material>
0064   </materials>
0065 
0066   <detectors>
0067     <detector id="3" name="B1" type="DD4hep_BoxSegment" vis="Box_vis">
0068       <comment>Vertical box</comment>
0069       <material name="Vacuum"/>
0070       <box      x="10"  y="20"   z="30"/>
0071       <position x="-10" y="30"   z="10"/>
0072       <rotation x="0"   y="0"    z="0"/>
0073     </detector>
0074   </detectors>
0075 </lccdd>