Back to home page

EIC code displayed by LXR

 
 

    


Warning, /geant4/examples/extended/persistency/gdml/G01/tess.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  <define>
0004   <position name="v0" unit="mm" x="10" y="10" z="0" />
0005   <position name="v1" unit="mm" x="-10" y="10" z="0" />
0006   <position name="v2" unit="mm" x="0" y="0" z="20" />
0007   <position name="v3" unit="mm" x="-10" y="-10" z="0" />
0008   <position name="v4" unit="mm" x="10" y="-10" z="0" />
0009   <position name="physdetinWorldp" unit="mm" x="100" y="0" z="0" />
0010  </define>
0011  <materials>
0012   <element Z="7" formula="N" name="Nitrogen" >
0013    <atom value="14.01" />
0014   </element>
0015   <element Z="8" formula="O" name="Oxygen" >
0016    <atom value="16" />
0017   </element>
0018   <material formula=" " name="AirinTest" >
0019    <D value="0.00129" />
0020    <fraction n="0.7" ref="Nitrogen" />
0021    <fraction n="0.3" ref="Oxygen" />
0022   </material>
0023  </materials>
0024  <solids>
0025   <box aunit="radian" lunit="mm" name="world" x="10000" y="10000" z="10000" />
0026   <box aunit="radian" lunit="mm" name="det" x="2000" y="2000" z="2000" />
0027   <tessellated aunit="degree" lunit="mm" name="tessel" >
0028    <triangular vertex1="v0" vertex2="v1" vertex3="v2" />
0029    <triangular vertex1="v1" vertex2="v3" vertex3="v2" />
0030    <triangular vertex1="v3" vertex2="v4" vertex3="v2" />
0031    <triangular vertex1="v4" vertex2="v0" vertex3="v2" />
0032    <quadrangular vertex1="v4" vertex2="v3" vertex3="v1" vertex4="v0" />
0033   </tessellated>
0034  </solids>
0035  <structure>
0036   <volume name="lTes" >
0037    <materialref ref="AirinTest" />
0038    <solidref ref="tessel" />
0039   </volume>
0040   <volume name="lDetector" >
0041    <materialref ref="AirinTest" />
0042    <solidref ref="det" />
0043    <physvol>
0044     <volumeref ref="lTes" />
0045    </physvol>
0046   </volume>
0047   <volume name="World" >
0048    <materialref ref="AirinTest" />
0049    <solidref ref="world" />
0050    <physvol>
0051     <volumeref ref="lDetector" />
0052     <positionref ref="physdetinWorldp" />
0053    </physvol>
0054   </volume>
0055  </structure>
0056  <setup name="Default" version="1.0" >
0057   <world ref="World" />
0058  </setup>
0059 </gdml>