-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCopper_Top.gdml
More file actions
55 lines (33 loc) · 1.37 KB
/
Copper_Top.gdml
File metadata and controls
55 lines (33 loc) · 1.37 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<gdml xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="/Users/stortini/software/geant4/geant4/source/persistency/gdml/schema/gdml.xsd">
##########################################
<!-- this geometry is meant to model the copper top in the LANL XRF source gadget -->
##########################################
<define>
<constant name="HALFPI" value="pi/2."/>
<constant name="PI" value="1.*pi"/>
<constant name="TWOPI" value="2.*pi"/>
<position name="center" x="0" y="0" z="0"/>
<rotation name="identity" x="0" y="0" z="0"/>
<quantity name="copper_top_height" type="length" value="5" unit="mm"/>
<quantity name="copper_top_radius" type="length" value="35.5" unit="mm"/>
</define>
##########################################
<materials>
</materials>
##########################################
<solids>
<cone name="copper_top" rmin1="0" rmax1="copper_top_radius" rmin2="0" rmax2="copper_top_radius" z="copper_top_height" startphi="0" deltaphi="TWOPI" aunit="rad"/>
</solids>
##########################################
<structure>
<volume name="Copper_Top">
<materialref ref="G4_Cu"/>
<solidref ref="copper_top"/>
</volume>
</structure>
##########################################
<setup name="Default" version="1.0">
<world ref="Copper_Top"/>
</setup>
</gdml>