Skip to content
Snippets Groups Projects
Commit 3bb717c6 authored by Eoin Clerkin's avatar Eoin Clerkin
Browse files

Target Shell Fix and Update

Supplied gdml script would not import into root.

Missing material definitions.

Assemlbies rewritten as volume.

Add top volume defined.

Add world solid
parent 77ccff7e
No related branches found
No related tags found
No related merge requests found
<?xml version='1.0' encoding='us-ascii'?>
<gdml xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNameSpaceSchemaLocation="http://service-spi.web.cern.ch/service-spi/app/releases/GDML/schema/gdml.xsd">
<define>
<position name="P-Bearing_011" unit="mm" z="10.0" />
<position name="P-Bearing_022" unit="mm" z="15.0" />
<position name="P-Holder_013" unit="mm" z="97.5" />
</define>
<materials />
<solids>
<tube name="Tube001" rmin="44.0" rmax="49.0" startphi="0.0" deltaphi="360.0" aunit="deg" z="20.0" lunit="mm" />
<tube name="Tube002" rmin="49.0" rmax="54.0" startphi="0.0" deltaphi="360.0" aunit="deg" z="10.0" lunit="mm" />
<tube name="Tube003" rmin="42.5" rmax="44.0" startphi="0.0" deltaphi="360.0" aunit="deg" z="195.0" lunit="mm" />
</solids>
<structure>
<volume name="Holder_01">
<solidref ref="Tube003" />
<materialref ref="STSBoxCarbonFibre" />
<auxiliary auxtype="Color" auxvalue="#ff00ff00" />
</volume>
<volume name="Bearing_02">
<solidref ref="Tube002" />
<materialref ref="STSBoxCarbonFibre" />
<auxiliary auxtype="Color" auxvalue="#ff00ff00" />
</volume>
<volume name="Bearing_01">
<solidref ref="Tube001" />
<materialref ref="STSBoxCarbonFibre" />
<auxiliary auxtype="Color" auxvalue="#ff00ff00" />
</volume>
<assembly name="Target Shell">
<physvol name="Bearing_01">
<volumeref ref="Bearing_01" />
<positionref ref="P-Bearing_011" />
</physvol>
<physvol name="Bearing_02">
<volumeref ref="Bearing_02" />
<positionref ref="P-Bearing_022" />
</physvol>
<physvol name="Holder_01">
<volumeref ref="Holder_01" />
<positionref ref="P-Holder_013" />
</physvol>
</assembly>
</structure>
<setup name="Default" version="1.0">
<world ref="Part" />
</setup>
</gdml>
<?xml version='1.0' encoding='us-ascii'?>
<gdml xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNameSpaceSchemaLocation="http://service-spi.web.cern.ch/service-spi/app/releases/GDML/schema/gdml.xsd">
<define>
<position name="P-Bearing_011" unit="mm" z="10.0" />
<position name="P-Bearing_022" unit="mm" z="15.0" />
<position name="P-Holder_013" unit="mm" z="97.5" />
</define>
<materials>
<element Z="8." formula="O" name="Oxygen">
<atom value="16.00" />
</element>
<element Z="6" formula="C" name="Carbon">
<atom value="12.011" />
</element>
<element Z="1" formula="H" name="Hydrogen">
<atom value="1.0079" />
</element>
<element Z="7." formula="N" name="Nitrogen">
<atom value="14.01" />
</element>
<element Z="13" formula="Al" name="Aluminium">
<atom value="26.98" />
</element>
<element Z="14" formula="Si" name="Silicon">
<atom value="28.085" />
</element>
<element Z="16" formula="S" name="Sulfur">
<atom value="32.06" />
</element>
<element Z="29" formula="Cu" name="Copper">
<atom value="63.546" />
</element>
<element Z="18." formula="Ar" name="Argon">
<atom value="39.95" />
</element>
<material formula="C10H8O4" name="STS_Airex_Foam">
<D value="0.065" unit="g/cm3"/>
<fraction n="0.625" ref="Carbon" />
<fraction n="0.041" ref="Hydrogen" />
<fraction n="0.334" ref="Oxygen" />
</material>
<material formula="C" name="STSBoxCarbonFibre" Z="6.0">
<D value="1.5" unit="g/cm3"/>
<atom value="12.011"/>
</material>
<material formula="C" name="STSBoxCarbonFoam" Z="6.0">
<D value="0.11" unit="g/cm3"/>
<atom value="12.011"/>
</material>
<material formula=" " name="air">
<D value="0.001205" unit="g/cm3"/>
</material>
<material formula=" " name="STSFEBMaterial">
<D value="2.4425" unit="g/cm3"/>
<fraction n="0.0492" ref="Hydrogen" />
<fraction n="0.0350" ref="Carbon" />
<fraction n="0.0877" ref="Nitrogen" />
<fraction n="0.0774" ref="Oxygen" />
<fraction n="0.6593" ref="Aluminium" />
<fraction n="0.0718" ref="Silicon" />
<fraction n="0.0007" ref="Sulfur" />
<fraction n="0.0189" ref="Copper" />
</material>
<material formula=" " name="STSPOBMaterial">
<D value="2.008" unit="g/cm3"/>
<fraction n="0.1559" ref="Hydrogen" />
<fraction n="0.0866" ref="Carbon" />
<fraction n="0.0656" ref="Oxygen" />
<fraction n="0.4151" ref="Aluminium" />
<fraction n="0.2599" ref="Silicon" />
<fraction n="0.0006" ref="Sulfur" />
<fraction n="0.0159" ref="Copper" />
</material>
<material name="aluminium" Z="13.0">
<D value="2.70" unit="g/cm3"/>
<atom value="26.98"/>
</material>
</materials>
<solids>
<tube name="world" rmin="0.0" rmax="54.0" startphi="0.0" deltaphi="360.0" aunit="deg" z="195.0" lunit="mm" />
<tube name="Tube001" rmin="44.0" rmax="49.0" startphi="0.0" deltaphi="360.0" aunit="deg" z="20.0" lunit="mm" />
<tube name="Tube002" rmin="49.0" rmax="54.0" startphi="0.0" deltaphi="360.0" aunit="deg" z="10.0" lunit="mm" />
<tube name="Tube003" rmin="42.5" rmax="44.0" startphi="0.0" deltaphi="360.0" aunit="deg" z="195.0" lunit="mm" />
</solids>
<structure>
<volume name="Holder_01">
<solidref ref="Tube003" />
<materialref ref="STSBoxCarbonFibre" />
<auxiliary auxtype="Color" auxvalue="#ff00ff00" />
</volume>
<volume name="Bearing_02">
<solidref ref="Tube002" />
<materialref ref="STSBoxCarbonFibre" />
<auxiliary auxtype="Color" auxvalue="#ff00ff00" />
</volume>
<volume name="Bearing_01">
<solidref ref="Tube001" />
<materialref ref="STSBoxCarbonFibre" />
<auxiliary auxtype="Color" auxvalue="#ff00ff00" />
</volume>
<volume name="Target_Shell">
<materialref ref="air" />
<solidref ref="world" />
<physvol name="Bearing_01">
<volumeref ref="Bearing_01" />
<positionref ref="P-Bearing_011" />
</physvol>
<physvol name="Bearing_02">
<volumeref ref="Bearing_02" />
<positionref ref="P-Bearing_022" />
</physvol>
<physvol name="Holder_01">
<volumeref ref="Holder_01" />
<positionref ref="P-Holder_013" />
</physvol>
</volume>
</structure>
<setup name="top" version="1.0">
<world ref="Target_Shell" />
</setup>
</gdml>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment