Warning, /geant4/examples/extended/persistency/gdml/G01/assembly.gdml is written in an unsupported language. File is not indexed.
0001 <?xml version="1.0" encoding="UTF-8" ?>
0002 <gdml xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://cern.ch/service-spi/app/releases/GDML/schema/gdml.xsd" >
0003
0004 <define>
0005 <constant name="HALFPI" value="pi/2."/>
0006 <constant name="PI" value="1.*pi"/>
0007 <constant name="TWOPI" value="2.*pi"/>
0008 <position name="center" x="0" y="0" z="0"/>
0009 <rotation name="identity" x="0" y="0" z="0"/>
0010 <rotation name="alignSurfX" y="HALFPI" />
0011 <rotation name="alignSurfY" x="HALFPI" />
0012 </define>
0013
0014 <materials>
0015
0016 <element name="Oxygen" formula="O" Z="8.">
0017 <atom value="16.0"/>
0018 </element>
0019 <element name="Nitrogen" formula="N" Z="7.">
0020 <atom value="14.01"/>
0021 </element>
0022
0023 <material name="Al" Z="13.0">
0024 <D value="2.70"/>
0025 <atom value="26.98"/>
0026 </material>
0027
0028 <material name="Air">
0029 <D value="1.290" unit="mg/cm3"/>
0030 <fraction n="0.7" ref="Nitrogen"/>
0031 <fraction n="0.3" ref="Oxygen"/>
0032 </material>
0033
0034 </materials>
0035
0036 <solids>
0037 <box name="WorldBox" x="1.5" y="1.5" z="1.5" lunit="m"/>
0038 <tube name="TubeSol" rmin="0.1075" rmax="0.1875" z="0.1875" deltaphi="TWOPI" startphi="0" aunit="rad" lunit="m"/>
0039 </solids>
0040
0041 <structure>
0042
0043 <volume name="TubeVol">
0044 <materialref ref="Al"/>
0045 <solidref ref="TubeSol"/>
0046 </volume>
0047
0048 <assembly name="AssemblyVol">
0049 <physvol>
0050 <volumeref ref="TubeVol"/>
0051 <position name="pos1" unit="m" x="0" y="0" z="0.5"/>
0052 <rotationref ref="alignSurfX"/>
0053 </physvol>
0054 <physvol>
0055 <volumeref ref="TubeVol"/>
0056 <position name="pos2" unit="m" x="0" y="0" z="-0.5"/>
0057 <rotationref ref="alignSurfY"/>
0058 </physvol>
0059 </assembly>
0060
0061 <volume name="World">
0062 <materialref ref="Air"/>
0063 <solidref ref="WorldBox"/>
0064 <physvol>
0065 <volumeref ref="AssemblyVol"/>
0066 <positionref ref="center"/>
0067 <rotationref ref="identity"/>
0068 </physvol>
0069 </volume>
0070
0071 </structure>
0072
0073 <setup name="Default" version="1.0">
0074 <world ref="World"/>
0075 </setup>
0076
0077 </gdml>