Skip to content

Commit

Permalink
Merge pull request #13 from stewartboogert/gdmlReferenceFiles
Browse files Browse the repository at this point in the history
Updated all reference GDML files
  • Loading branch information
stewartboogert authored Aug 20, 2023
2 parents 3e8cecc + 0e0dd35 commit 07b63b4
Show file tree
Hide file tree
Showing 106 changed files with 10,111 additions and 0 deletions.
33 changes: 33 additions & 0 deletions data/gdml/T001_Box.gdml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<?xml version="1.0" ?>
<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>
<constant name="wx" value="100"/>
<constant name="wy" value="100"/>
<constant name="wz" value="100"/>
<constant name="bx" value="10"/>
<constant name="by" value="10"/>
<constant name="bz" value="10"/>
</define>
<materials/>
<solids>
<box name="ws" x="wx" y="wy" z="wz" lunit="mm"/>
<box name="bs" x="bx" y="by" z="bz" lunit="mm"/>
<box name="bs2" x="bx" y="by" z="bz" lunit="cm"/>
</solids>
<structure>
<volume name="bl">
<materialref ref="G4_Au"/>
<solidref ref="bs"/>
</volume>
<volume name="wl">
<materialref ref="G4_Galactic"/>
<solidref ref="ws"/>
<physvol name="b_pv1">
<volumeref ref="bl"/>
</physvol>
</volume>
</structure>
<setup name="Default" version="1.0">
<world ref="wl"/>
</setup>
</gdml>
37 changes: 37 additions & 0 deletions data/gdml/T002_Tubs.gdml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
<?xml version="1.0" ?>
<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>
<constant name="wx" value="100"/>
<constant name="wy" value="100"/>
<constant name="wz" value="100"/>
<constant name="trmin" value="2.5"/>
<constant name="trmax" value="10.0"/>
<constant name="tz" value="50"/>
<constant name="startphi" value="0"/>
<constant name="deltaphi" value="1.5*pi"/>
<constant name="startphi_deg" value="0"/>
<constant name="deltaphi_deg" value="270"/>
</define>
<materials/>
<solids>
<box name="ws" x="wx" y="wy" z="wz" lunit="mm"/>
<tube name="ts" rmin="trmin" rmax="trmax" z="tz" startphi="startphi" deltaphi="deltaphi" lunit="mm" aunit="rad"/>
<tube name="ts2" rmin="trmin" rmax="trmax" z="tz" startphi="startphi_deg" deltaphi="deltaphi_deg" lunit="cm" aunit="deg"/>
</solids>
<structure>
<volume name="tl">
<materialref ref="G4_Au"/>
<solidref ref="ts"/>
</volume>
<volume name="wl">
<materialref ref="G4_Galactic"/>
<solidref ref="ws"/>
<physvol name="t_pv1">
<volumeref ref="tl"/>
</physvol>
</volume>
</structure>
<setup name="Default" version="1.0">
<world ref="wl"/>
</setup>
</gdml>
29 changes: 29 additions & 0 deletions data/gdml/T0031_CutTubs_numbers.gdml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<?xml version="1.0" ?>
<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>
<constant name="wx" value="100"/>
<constant name="wy" value="100"/>
<constant name="wz" value="100"/>
</define>
<materials/>
<solids>
<box name="ws" x="100.0" y="100.0" z="100.0" lunit="mm"/>
<cutTube name="ts" z="50.0" rmin="2.5" rmax="10.0" startphi="0.0" deltaphi="4.71238898038469" lowX="-1.0" lowY="-1.0" lowZ="-1.0" highX="1.0" highY="1.0" highZ="1.0" lunit="mm" aunit="rad"/>
</solids>
<structure>
<volume name="ctl">
<materialref ref="G4_Fe"/>
<solidref ref="ts"/>
</volume>
<volume name="wl">
<materialref ref="G4_Galactic"/>
<solidref ref="ws"/>
<physvol name="ct_pv1">
<volumeref ref="ctl"/>
</physvol>
</volume>
</structure>
<setup name="Default" version="1.0">
<world ref="wl"/>
</setup>
</gdml>
29 changes: 29 additions & 0 deletions data/gdml/T0032_CutTubs_string.gdml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<?xml version="1.0" ?>
<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>
<constant name="wx" value="100"/>
<constant name="wy" value="100"/>
<constant name="wz" value="100"/>
</define>
<materials/>
<solids>
<box name="ws" x="100.0" y="100.0" z="100.0" lunit="mm"/>
<cutTube name="ts" z="50.0" rmin="2.5" rmax="10.0" startphi="0.0" deltaphi="4.71238898038469" lowX="-1.0" lowY="-1.0" lowZ="-1.0" highX="1.0" highY="1.0" highZ="1.0" lunit="mm" aunit="rad"/>
</solids>
<structure>
<volume name="ctl">
<materialref ref="G4_Fe"/>
<solidref ref="ts"/>
</volume>
<volume name="wl">
<materialref ref="G4_Galactic"/>
<solidref ref="ws"/>
<physvol name="ct_pv1">
<volumeref ref="ctl"/>
</physvol>
</volume>
</structure>
<setup name="Default" version="1.0">
<world ref="wl"/>
</setup>
</gdml>
38 changes: 38 additions & 0 deletions data/gdml/T0034_CutTubs_DefineTree.gdml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
<?xml version="1.0" ?>
<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>
<constant name="wx" value="100"/>
<constant name="wy" value="100"/>
<constant name="wz" value="100"/>
<constant name="trmin" value="2.5"/>
<constant name="trmax" value="10.0"/>
<constant name="tz" value="50"/>
<constant name="startphi" value="0"/>
<constant name="deltaphi" value="1.5*pi"/>
<constant name="ctlowtheta" value="30/360*pi"/>
<constant name="ctlowphi" value="40/360*pi"/>
<constant name="cthightheta" value="50/360*pi"/>
<constant name="cthighphi" value="60/360*pi"/>
</define>
<materials/>
<solids>
<box name="ws" x="wx" y="wy" z="wz" lunit="mm"/>
<cutTube name="ts" z="tz" rmin="trmin" rmax="trmax" startphi="startphi" deltaphi="deltaphi" lowX="(sin(ctlowtheta)) * (cos(ctlowphi))" lowY="(sin(ctlowtheta)) * (sin(ctlowphi))" lowZ="-(cos(ctlowtheta))" highX="(sin(cthightheta)) * (cos(cthighphi))" highY="(sin(cthightheta)) * (sin(cthighphi))" highZ="cos(cthightheta)" lunit="mm" aunit="rad"/>
</solids>
<structure>
<volume name="ctl">
<materialref ref="G4_Fe"/>
<solidref ref="ts"/>
</volume>
<volume name="wl">
<materialref ref="G4_Galactic"/>
<solidref ref="ws"/>
<physvol name="ct_pv1">
<volumeref ref="ctl"/>
</physvol>
</volume>
</structure>
<setup name="Default" version="1.0">
<world ref="wl"/>
</setup>
</gdml>
43 changes: 43 additions & 0 deletions data/gdml/T003_CutTubs.gdml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
<?xml version="1.0" ?>
<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>
<constant name="wx" value="100"/>
<constant name="wy" value="100"/>
<constant name="wz" value="100"/>
<constant name="trmin" value="2.5"/>
<constant name="trmax" value="10.0"/>
<constant name="tz" value="50"/>
<constant name="startphi" value="0"/>
<constant name="deltaphi" value="1.5*pi"/>
<constant name="ctlowx" value="-1"/>
<constant name="ctlowy" value="-1"/>
<constant name="ctlowz" value="-1"/>
<constant name="cthighx" value="1"/>
<constant name="cthighy" value="1"/>
<constant name="cthighz" value="1"/>
<constant name="startphi_deg" value="0"/>
<constant name="deltaphi_deg" value="270"/>
</define>
<materials/>
<solids>
<box name="ws" x="wx" y="wy" z="wz" lunit="mm"/>
<cutTube name="ts" z="tz" rmin="trmin" rmax="trmax" startphi="startphi" deltaphi="deltaphi" lowX="ctlowx" lowY="ctlowy" lowZ="ctlowz" highX="cthighx" highY="cthighy" highZ="cthighz" lunit="mm" aunit="rad"/>
<cutTube name="ts2" z="tz" rmin="trmin" rmax="trmax" startphi="startphi_deg" deltaphi="deltaphi_deg" lowX="ctlowx" lowY="ctlowy" lowZ="ctlowz" highX="cthighx" highY="cthighy" highZ="cthighz" lunit="cm" aunit="deg"/>
</solids>
<structure>
<volume name="ctl">
<materialref ref="G4_Au"/>
<solidref ref="ts"/>
</volume>
<volume name="wl">
<materialref ref="G4_Galactic"/>
<solidref ref="ws"/>
<physvol name="ct_pv1">
<volumeref ref="ctl"/>
</physvol>
</volume>
</structure>
<setup name="Default" version="1.0">
<world ref="wl"/>
</setup>
</gdml>
43 changes: 43 additions & 0 deletions data/gdml/T003_CutTubs_flat_ends.gdml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
<?xml version="1.0" ?>
<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>
<constant name="wx" value="100"/>
<constant name="wy" value="100"/>
<constant name="wz" value="100"/>
<constant name="trmin" value="2.5"/>
<constant name="trmax" value="10.0"/>
<constant name="tz" value="50"/>
<constant name="startphi" value="0"/>
<constant name="deltaphi" value="1.5*pi"/>
<constant name="ctlowx" value="0.000000000000000"/>
<constant name="ctlowy" value="0.000000000000000"/>
<constant name="ctlowz" value="-1.000000000000000"/>
<constant name="cthighx" value="0.000000000000000"/>
<constant name="cthighy" value="0.000000000000000"/>
<constant name="cthighz" value="1.000000000000000"/>
<constant name="startphi_deg" value="0"/>
<constant name="deltaphi_deg" value="270"/>
</define>
<materials/>
<solids>
<box name="ws" x="wx" y="wy" z="wz" lunit="mm"/>
<cutTube name="ts" z="tz" rmin="trmin" rmax="trmax" startphi="startphi" deltaphi="deltaphi" lowX="ctlowx" lowY="ctlowy" lowZ="ctlowz" highX="cthighx" highY="cthighy" highZ="cthighz" lunit="mm" aunit="rad"/>
<cutTube name="ts2" z="tz" rmin="trmin" rmax="trmax" startphi="startphi_deg" deltaphi="deltaphi_deg" lowX="ctlowx" lowY="ctlowy" lowZ="ctlowz" highX="cthighx" highY="cthighy" highZ="cthighz" lunit="cm" aunit="deg"/>
</solids>
<structure>
<volume name="ctl">
<materialref ref="G4_Au"/>
<solidref ref="ts"/>
</volume>
<volume name="wl">
<materialref ref="G4_Galactic"/>
<solidref ref="ws"/>
<physvol name="ct_pv1">
<volumeref ref="ctl"/>
</physvol>
</volume>
</structure>
<setup name="Default" version="1.0">
<world ref="wl"/>
</setup>
</gdml>
37 changes: 37 additions & 0 deletions data/gdml/T004_Cons.gdml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
<?xml version="1.0" ?>
<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>
<constant name="wx" value="100"/>
<constant name="wy" value="100"/>
<constant name="wz" value="100"/>
<constant name="crmin1" value="6"/>
<constant name="crmax1" value="20"/>
<constant name="crmin2" value="5"/>
<constant name="crmax2" value="10"/>
<constant name="cz" value="100"/>
<constant name="cdp" value="1.5*pi"/>
<constant name="cdp_deg" value="270"/>
</define>
<materials/>
<solids>
<box name="ws" x="wx" y="wy" z="wz" lunit="mm"/>
<cone name="cs" rmin1="crmin1" rmax1="crmax1" rmin2="crmin2" rmax2="crmax2" z="cz" startphi="0.0" deltaphi="cdp" lunit="mm" aunit="rad"/>
<cone name="cs2" rmin1="crmin1" rmax1="crmax1" rmin2="crmin2" rmax2="crmax2" z="cz" startphi="0.0" deltaphi="cdp_deg" lunit="cm" aunit="deg"/>
</solids>
<structure>
<volume name="cl">
<materialref ref="G4_Fe"/>
<solidref ref="cs"/>
</volume>
<volume name="wl">
<materialref ref="G4_Galactic"/>
<solidref ref="ws"/>
<physvol name="c_pv1">
<volumeref ref="cl"/>
</physvol>
</volume>
</structure>
<setup name="Default" version="1.0">
<world ref="wl"/>
</setup>
</gdml>
37 changes: 37 additions & 0 deletions data/gdml/T004_Cons_cone_up.gdml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
<?xml version="1.0" ?>
<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>
<constant name="wx" value="100"/>
<constant name="wy" value="100"/>
<constant name="wz" value="100"/>
<constant name="crmin1" value="5.000000000000000"/>
<constant name="crmax1" value="10.000000000000000"/>
<constant name="crmin2" value="6.000000000000000"/>
<constant name="crmax2" value="20.000000000000000"/>
<constant name="cz" value="100"/>
<constant name="cdp" value="1.5*pi"/>
<constant name="cdp_deg" value="270"/>
</define>
<materials/>
<solids>
<box name="ws" x="wx" y="wy" z="wz" lunit="mm"/>
<cone name="cs" rmin1="crmin1" rmax1="crmax1" rmin2="crmin2" rmax2="crmax2" z="cz" startphi="0.0" deltaphi="cdp" lunit="mm" aunit="rad"/>
<cone name="cs2" rmin1="crmin1" rmax1="crmax1" rmin2="crmin2" rmax2="crmax2" z="cz" startphi="0.0" deltaphi="cdp_deg" lunit="cm" aunit="deg"/>
</solids>
<structure>
<volume name="cl">
<materialref ref="G4_Fe"/>
<solidref ref="cs"/>
</volume>
<volume name="wl">
<materialref ref="G4_Galactic"/>
<solidref ref="ws"/>
<physvol name="c_pv1">
<volumeref ref="cl"/>
</physvol>
</volume>
</structure>
<setup name="Default" version="1.0">
<world ref="wl"/>
</setup>
</gdml>
37 changes: 37 additions & 0 deletions data/gdml/T004_Cons_dphi_eq_2pi.gdml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
<?xml version="1.0" ?>
<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>
<constant name="wx" value="100"/>
<constant name="wy" value="100"/>
<constant name="wz" value="100"/>
<constant name="crmin1" value="6"/>
<constant name="crmax1" value="20"/>
<constant name="crmin2" value="5"/>
<constant name="crmax2" value="10"/>
<constant name="cz" value="100"/>
<constant name="cdp" value="6.283185307179586"/>
<constant name="cdp_deg" value="360"/>
</define>
<materials/>
<solids>
<box name="ws" x="wx" y="wy" z="wz" lunit="mm"/>
<cone name="cs" rmin1="crmin1" rmax1="crmax1" rmin2="crmin2" rmax2="crmax2" z="cz" startphi="0.0" deltaphi="cdp" lunit="mm" aunit="rad"/>
<cone name="cs2" rmin1="crmin1" rmax1="crmax1" rmin2="crmin2" rmax2="crmax2" z="cz" startphi="0.0" deltaphi="cdp_deg" lunit="cm" aunit="deg"/>
</solids>
<structure>
<volume name="cl">
<materialref ref="G4_Fe"/>
<solidref ref="cs"/>
</volume>
<volume name="wl">
<materialref ref="G4_Galactic"/>
<solidref ref="ws"/>
<physvol name="c_pv1">
<volumeref ref="cl"/>
</physvol>
</volume>
</structure>
<setup name="Default" version="1.0">
<world ref="wl"/>
</setup>
</gdml>
Loading

0 comments on commit 07b63b4

Please sign in to comment.