Warning, /DD4hep/examples/ClientTests/compact/Check_Air_STP.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
0041 <display>
0042 <vis name="Box_vis" alpha="1.0" r="1" g="0" b="0" showDaughters="true" visible="true"/>
0043 </display>
0044
0045 <materials>
0046 <material name="Air">
0047 <D type="density" unit="g/cm3" value="0.001214"/>
0048 <fraction n="0.7494" ref="N"/>
0049 <fraction n="0.2369" ref="O"/>
0050 <fraction n="0.0129" ref="Ar"/>
0051 <fraction n="0.0008" ref="H"/>
0052 </material>
0053
0054 <!-- We model vakuum just as very thin air -->
0055 <material name="Vacuum">
0056 <D type="density" unit="g/cm3" value="0.0000000001" />
0057 <composite n="1" ref="Air"/>
0058 </material>
0059 </materials>
0060
0061 <detectors>
0062 <detector id="3" name="B1" type="DD4hep_BoxSegment" vis="Box_vis">
0063 <comment>Vertical box</comment>
0064 <material name="Vacuum"/>
0065 <box x="10" y="20" z="30"/>
0066 <position x="-10" y="30" z="10"/>
0067 <rotation x="0" y="0" z="0"/>
0068 </detector>
0069 </detectors>
0070 </lccdd>