115 lines
3.4 KiB
XML
115 lines
3.4 KiB
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<gdml xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:gdml="http://cern.ch/2001/Schemas/GDML"
|
|
xsi:noNamespaceSchemaLocation="/afs/cern.ch/user/z/ztorzsok/scratch0/GDML2/GDMLSchema/gdml.xsd">
|
|
|
|
<define>
|
|
<constant name="XLength" value="100"/>
|
|
<constant name="YLength" value="200"/>
|
|
<constant name="ZLength" value="300"/>
|
|
<position name="XBoxPos" x="XLength/2"/>
|
|
<position name="YBoxPos" y="YLength/2"/>
|
|
<position name="ZBoxPos" z="ZLength/2"/>
|
|
<position name="XArrowPos" x="XLength"/>
|
|
<position name="YArrowPos" y="YLength"/>
|
|
<position name="ZArrowPos" z="ZLength"/>
|
|
<rotation name="XArrowRot" y="-90" unit="deg"/>
|
|
<rotation name="YArrowRot" x="90" unit="deg"/>
|
|
<rotation name="ZArrowRot" unit="deg"/>
|
|
<position name="v1" x="+10" y="+10" z="0"/>
|
|
<position name="v2" x="-10" y="+10" z="0"/>
|
|
<position name="v3" x="-10" y="-10" z="0"/>
|
|
<position name="v4" x="+10" y="-10" z="0"/>
|
|
<position name="v5" x="0" y="0" z="30"/>
|
|
</define>
|
|
|
|
<materials>
|
|
<material Z="1.0" name="AIR">
|
|
<D value="1e-25"/>
|
|
<atom value="1.00794"/>
|
|
</material>
|
|
<material name="ALU" Z="13.0">
|
|
<D value="2.70"/>
|
|
<atom value="26.98"/>
|
|
</material>
|
|
</materials>
|
|
|
|
<solids>
|
|
<box name="WorldBox" x="2000" y="2000" z="2000"/>
|
|
<box name="XBox" x="100" y="005" z="005"/>
|
|
<box name="YBox" x="005" y="200" z="005"/>
|
|
<box name="ZBox" x="005" y="005" z="300"/>
|
|
<box name="Origin" x="10" y="10" z="10"/>
|
|
<tessellated name="Arrow">
|
|
<quadrangular v1="v1" v2="v2" v3="v3" v4="v4"/>
|
|
<triangular v1="v1" v2="v2" v3="v5"/>
|
|
<triangular v1="v2" v2="v3" v3="v5"/>
|
|
<triangular v1="v3" v2="v4" v3="v5"/>
|
|
<triangular v1="v4" v2="v1" v3="v5"/>
|
|
</tessellated>
|
|
</solids>
|
|
|
|
<structure>
|
|
|
|
<volume name="vXBox">
|
|
<materialref ref="ALU"/>
|
|
<solidref ref="XBox"/>
|
|
</volume>
|
|
<volume name="vYBox">
|
|
<materialref ref="ALU"/>
|
|
<solidref ref="YBox"/>
|
|
</volume>
|
|
<volume name="vZBox">
|
|
<materialref ref="ALU"/>
|
|
<solidref ref="ZBox"/>
|
|
</volume>
|
|
<volume name="vOrigin">
|
|
<materialref ref="ALU"/>
|
|
<solidref ref="Origin"/>
|
|
</volume>
|
|
<volume name="vArrow">
|
|
<materialref ref="ALU"/>
|
|
<solidref ref="Arrow"/>
|
|
</volume>
|
|
|
|
<volume name="TOP">
|
|
<materialref ref="AIR"/>
|
|
<solidref ref="WorldBox"/>
|
|
<physvol>
|
|
<volumeref ref="vXBox"/>
|
|
<positionref ref="XBoxPos"/>
|
|
</physvol>
|
|
<physvol>
|
|
<volumeref ref="vYBox"/>
|
|
<positionref ref="YBoxPos"/>
|
|
</physvol>
|
|
<physvol>
|
|
<volumeref ref="vZBox"/>
|
|
<positionref ref="ZBoxPos"/>
|
|
</physvol>
|
|
<physvol>
|
|
<volumeref ref="vOrigin"/>
|
|
</physvol>
|
|
<physvol>
|
|
<volumeref ref="vArrow"/>
|
|
<rotationref ref="XArrowRot"/>
|
|
<positionref ref="XArrowPos"/>
|
|
</physvol>
|
|
<physvol>
|
|
<volumeref ref="vArrow"/>
|
|
<rotationref ref="YArrowRot"/>
|
|
<positionref ref="YArrowPos"/>
|
|
</physvol>
|
|
<physvol>
|
|
<volumeref ref="vArrow"/>
|
|
<rotationref ref="ZArrowRot"/>
|
|
<positionref ref="ZArrowPos"/>
|
|
</physvol>
|
|
</volume>
|
|
</structure>
|
|
|
|
<setup version="1.0" name="Default">
|
|
<world ref="TOP"/>
|
|
</setup>
|
|
|
|
</gdml>
|