legend-pygeom-hades 0.1.0a0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- legend_pygeom_hades-0.1.0a0.dist-info/METADATA +62 -0
- legend_pygeom_hades-0.1.0a0.dist-info/RECORD +85 -0
- legend_pygeom_hades-0.1.0a0.dist-info/WHEEL +5 -0
- legend_pygeom_hades-0.1.0a0.dist-info/entry_points.txt +2 -0
- legend_pygeom_hades-0.1.0a0.dist-info/licenses/LICENSE +674 -0
- legend_pygeom_hades-0.1.0a0.dist-info/top_level.txt +1 -0
- pygeomhades/__init__.py +6 -0
- pygeomhades/_version.py +34 -0
- pygeomhades/cli.py +169 -0
- pygeomhades/configs/dummy_geom/B99000A.yaml +25 -0
- pygeomhades/configs/dummy_geom/C99000A.yaml +31 -0
- pygeomhades/configs/dummy_geom/P99000A.yaml +20 -0
- pygeomhades/configs/dummy_geom/V99000A.yaml +31 -0
- pygeomhades/configs/holder_wrap/B00000B.yaml +37 -0
- pygeomhades/configs/holder_wrap/B00000D.yaml +37 -0
- pygeomhades/configs/holder_wrap/B00002C.yaml +37 -0
- pygeomhades/configs/holder_wrap/B00032B.yaml +37 -0
- pygeomhades/configs/holder_wrap/B00035A.yaml +37 -0
- pygeomhades/configs/holder_wrap/B00035B.yaml +37 -0
- pygeomhades/configs/holder_wrap/B00061C.yaml +37 -0
- pygeomhades/configs/holder_wrap/B00076C.yaml +37 -0
- pygeomhades/configs/holder_wrap/B00091B.yaml +37 -0
- pygeomhades/configs/holder_wrap/V00048B.yaml +37 -0
- pygeomhades/configs/holder_wrap/V02160A.yaml +37 -0
- pygeomhades/configs/holder_wrap/V02160B.yaml +37 -0
- pygeomhades/configs/holder_wrap/V02162B.yaml +37 -0
- pygeomhades/configs/holder_wrap/V02166B.yaml +37 -0
- pygeomhades/configs/holder_wrap/V03421A.yaml +37 -0
- pygeomhades/configs/holder_wrap/V03422A.yaml +37 -0
- pygeomhades/configs/holder_wrap/V04199A.yaml +37 -0
- pygeomhades/configs/holder_wrap/V04545A.yaml +37 -0
- pygeomhades/configs/holder_wrap/V04549A.yaml +37 -0
- pygeomhades/configs/holder_wrap/V04549B.yaml +37 -0
- pygeomhades/configs/holder_wrap/V05261A.yaml +37 -0
- pygeomhades/configs/holder_wrap/V05261B.yaml +37 -0
- pygeomhades/configs/holder_wrap/V05266A.yaml +37 -0
- pygeomhades/configs/holder_wrap/V05266B.yaml +37 -0
- pygeomhades/configs/holder_wrap/V05267A.yaml +37 -0
- pygeomhades/configs/holder_wrap/V05267B.yaml +37 -0
- pygeomhades/configs/holder_wrap/V05268A.yaml +37 -0
- pygeomhades/configs/holder_wrap/V05268B.yaml +37 -0
- pygeomhades/configs/holder_wrap/V05612A.yaml +37 -0
- pygeomhades/configs/holder_wrap/V05612B.yaml +37 -0
- pygeomhades/configs/holder_wrap/V06643A.yaml +29 -0
- pygeomhades/configs/holder_wrap/V06649A.yaml +29 -0
- pygeomhades/configs/holder_wrap/V06659A.yaml +29 -0
- pygeomhades/configs/holder_wrap/V07298B.yaml +37 -0
- pygeomhades/configs/holder_wrap/V07302A.yaml +37 -0
- pygeomhades/configs/holder_wrap/V07302B.yaml +37 -0
- pygeomhades/configs/holder_wrap/V07646A.yaml +37 -0
- pygeomhades/configs/holder_wrap/V07647A.yaml +37 -0
- pygeomhades/configs/holder_wrap/V07647B.yaml +37 -0
- pygeomhades/configs/holder_wrap/V08682A.yaml +37 -0
- pygeomhades/configs/holder_wrap/V08682B.yaml +37 -0
- pygeomhades/configs/holder_wrap/V09372A.yaml +37 -0
- pygeomhades/configs/holder_wrap/V09374A.yaml +37 -0
- pygeomhades/configs/holder_wrap/V09724A.yaml +37 -0
- pygeomhades/configs/holder_wrap/V10437B.yaml +37 -0
- pygeomhades/configs/holder_wrap/V10447B.yaml +37 -0
- pygeomhades/configs/holder_wrap/V11924A.yaml +37 -0
- pygeomhades/configs/holder_wrap/V11925A.yaml +37 -0
- pygeomhades/configs/holder_wrap/V11947B.yaml +37 -0
- pygeomhades/configs/holder_wrap/V14673A.yaml +37 -0
- pygeomhades/configs/vis-scene.yaml +0 -0
- pygeomhades/core.py +275 -0
- pygeomhades/create_volumes.py +571 -0
- pygeomhades/dimensions.py +283 -0
- pygeomhades/metadata.py +28 -0
- pygeomhades/models/dummy/bottom_plate_dummy.gdml +44 -0
- pygeomhades/models/dummy/cryostat_dummy.gdml +57 -0
- pygeomhades/models/dummy/holder_bege_dummy.gdml +61 -0
- pygeomhades/models/dummy/holder_icpc_dummy.gdml +78 -0
- pygeomhades/models/dummy/lead_castle_table1_dummy.gdml +71 -0
- pygeomhades/models/dummy/lead_castle_table2_dummy.gdml +73 -0
- pygeomhades/models/dummy/source_am_collimated_dummy.gdml +97 -0
- pygeomhades/models/dummy/source_am_dummy.gdml +64 -0
- pygeomhades/models/dummy/source_ba_dummy.gdml +72 -0
- pygeomhades/models/dummy/source_co_dummy.gdml +71 -0
- pygeomhades/models/dummy/source_holder_am_dummy.gdml +73 -0
- pygeomhades/models/dummy/source_holder_dummy.gdml +61 -0
- pygeomhades/models/dummy/source_holder_th_lat_dummy.gdml +54 -0
- pygeomhades/models/dummy/source_th_dummy.gdml +134 -0
- pygeomhades/models/dummy/source_th_plates_dummy.gdml +36 -0
- pygeomhades/models/dummy/wrap_dummy.gdml +50 -0
- pygeomhades/utils.py +101 -0
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
<?xml version="1.0" ?>
|
|
2
|
+
<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">
|
|
3
|
+
|
|
4
|
+
<define>
|
|
5
|
+
<quantity name="base_x_2" type="length" value="base_width_2" unit="mm" />
|
|
6
|
+
<quantity name="base_y_2" type="length" value="base_depth_2" unit="mm"/>
|
|
7
|
+
<quantity name="base_z_2" type="length" value="base_height_2" unit="mm"/>
|
|
8
|
+
<quantity name="inner_cavity_x_2" type="length" value="inner_cavity_width_2" unit="mm"/>
|
|
9
|
+
<quantity name="inner_cavity_y_2" type="length" value="inner_cavity_depth_2" unit="mm"/>
|
|
10
|
+
<quantity name="inner_cavity_z_2" type="length" value="inner_cavity_height_2" unit="mm"/>
|
|
11
|
+
<quantity name="top_x_2" type="length" value="top_width_2" unit="mm"/>
|
|
12
|
+
<quantity name="top_y_2" type="length" value="top_depth_2" unit="mm"/>
|
|
13
|
+
<quantity name="top_z_2" type="length" value="top_height_2" unit="mm"/>
|
|
14
|
+
<quantity name="copper_plate_x" type="length" value="copper_plate_width" unit="mm"/>
|
|
15
|
+
<quantity name="copper_plate_y" type="length" value="copper_plate_depth" unit="mm"/>
|
|
16
|
+
<quantity name="copper_plate_z" type="length" value="copper_plate_height" unit="mm"/>
|
|
17
|
+
<position name="center" x="0" y="0" z="0" />
|
|
18
|
+
<position name="pos_top" z="-((base_z_2+top_z_2)/2+copper_plate_z)" />
|
|
19
|
+
<position name="pos_copper_plate" z="-(base_z_2+copper_plate_z)/2" />
|
|
20
|
+
</define>
|
|
21
|
+
|
|
22
|
+
<solids>
|
|
23
|
+
<box name="base_lead_castle_2" x="base_x_2" y="base_y_2" z="base_z_2"/>
|
|
24
|
+
<box name="inner_cavity_lead_castle_2" x="inner_cavity_x_2" y="inner_cavity_y_2" z="inner_cavity_z_2"/>
|
|
25
|
+
<box name="top_lead_castle_2" x="top_x_2" y="top_y_2" z="top_z_2"/>
|
|
26
|
+
<box name="copper_plate" x="copper_plate_x" y="copper_plate_y" z="copper_plate_z"/>
|
|
27
|
+
<subtraction name="base_cavity_2" >
|
|
28
|
+
<first ref="base_lead_castle_2"/> <second ref="inner_cavity_lead_castle_2"/>
|
|
29
|
+
<positionref ref="center" />
|
|
30
|
+
</subtraction>
|
|
31
|
+
<union name="final_lead_castle_2" >
|
|
32
|
+
<first ref="base_cavity_2"/> <second ref="top_lead_castle_2"/>
|
|
33
|
+
<positionref ref="pos_top" />
|
|
34
|
+
</union>
|
|
35
|
+
</solids>
|
|
36
|
+
|
|
37
|
+
<materials>
|
|
38
|
+
<element Z="29" formula="Cu" name="Copper" >
|
|
39
|
+
<atom value="63.546" />
|
|
40
|
+
</element>
|
|
41
|
+
<element Z="82" formula="Pb" name="Lead" >
|
|
42
|
+
<atom value="207.2" />
|
|
43
|
+
</element>
|
|
44
|
+
<material name="metalCu" >
|
|
45
|
+
<D value="8.960" unit="g/cm3" />
|
|
46
|
+
<fraction n="1." ref="Copper" />
|
|
47
|
+
</material>
|
|
48
|
+
<material name="metalPb" >
|
|
49
|
+
<D value="11.340" unit="g/cm3" />
|
|
50
|
+
<fraction n="1." ref="Lead" />
|
|
51
|
+
</material>
|
|
52
|
+
</materials>
|
|
53
|
+
|
|
54
|
+
<structure>
|
|
55
|
+
<volume name="Copper_plate">
|
|
56
|
+
<materialref ref="metalCu"/>
|
|
57
|
+
<solidref ref="copper_plate"/>
|
|
58
|
+
</volume>
|
|
59
|
+
<volume name="Lead_castle">
|
|
60
|
+
<materialref ref="metalPb"/>
|
|
61
|
+
<solidref ref="final_lead_castle_2"/>
|
|
62
|
+
<physvol>
|
|
63
|
+
<volumeref ref="Copper_plate" />
|
|
64
|
+
<positionref ref="pos_copper_plate"/>
|
|
65
|
+
</physvol>
|
|
66
|
+
</volume>
|
|
67
|
+
</structure>
|
|
68
|
+
|
|
69
|
+
<setup name="Default" version="1.0">
|
|
70
|
+
<world ref="Lead_castle"/>
|
|
71
|
+
</setup>
|
|
72
|
+
|
|
73
|
+
</gdml>
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
<?xml version="1.0" ?>
|
|
2
|
+
<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">
|
|
3
|
+
|
|
4
|
+
<define>
|
|
5
|
+
<constant name="TWOPI" value="2.*pi"/>
|
|
6
|
+
<quantity name="source_z" type="length" value="source_height" unit="mm"/>
|
|
7
|
+
<quantity name="source_radius" type="length" value="source_width/2" unit="mm"/>
|
|
8
|
+
<quantity name="source_capsule_z" type="length" value="source_capsule_height" unit="mm"/>
|
|
9
|
+
<quantity name="source_capsule_radius" type="length" value="source_capsule_width/2" unit="mm"/>
|
|
10
|
+
<quantity name="window" type="length" value="window_source" unit="mm" />
|
|
11
|
+
<position name="pos_source_capsule" z="(source_capsule_z-source_z)/2-window"/>
|
|
12
|
+
<quantity name="collimator_z" type="length" value="collimator_height" unit="mm"/>
|
|
13
|
+
<quantity name="collimator_y" type="length" value="collimator_depth" unit="mm"/>
|
|
14
|
+
<quantity name="collimator_x" type="length" value="collimator_width" unit="mm"/>
|
|
15
|
+
<quantity name="collimator_beam_z" type="length" value="collimator_beam_height" unit="mm"/>
|
|
16
|
+
<quantity name="collimator_beam_radius" type="length" value="collimator_beam_width/2" unit="mm"/>
|
|
17
|
+
<position name="pos_collimator_beam" z="(collimator_z-collimator_beam_z)/2"/>
|
|
18
|
+
<position name="pos_source_collimator" z="(-source_capsule_z/ 2. - collimator_beam_z + collimator_z / 2.)"/>
|
|
19
|
+
</define>
|
|
20
|
+
|
|
21
|
+
<materials>
|
|
22
|
+
<element Z="8" formula="O" name="Oxygen" >
|
|
23
|
+
<atom value="16" />
|
|
24
|
+
</element>
|
|
25
|
+
<element Z="14" formula="Si" name="Silicon" >
|
|
26
|
+
<atom value="28.09" />
|
|
27
|
+
</element>
|
|
28
|
+
<element Z="24" formula="Cr" name="Chromium" >
|
|
29
|
+
<atom value="51.9961" />
|
|
30
|
+
</element>
|
|
31
|
+
<element Z="25" formula="Mn" name="Manganese" >
|
|
32
|
+
<atom value="54.93805" />
|
|
33
|
+
</element>
|
|
34
|
+
<element Z="26" formula="Fe" name="Iron" >
|
|
35
|
+
<atom value="55.845" />
|
|
36
|
+
</element>
|
|
37
|
+
<element Z="28" formula="Ni" name="Nickel" >
|
|
38
|
+
<atom value="58.9332" />
|
|
39
|
+
</element>
|
|
40
|
+
<material name="Ssteel" >
|
|
41
|
+
<D value="7.9" unit="g/cm3" />
|
|
42
|
+
<fraction n="0.01" ref="Silicon" />
|
|
43
|
+
<fraction n="0.2" ref="Chromium" />
|
|
44
|
+
<fraction n="0.02" ref="Manganese" />
|
|
45
|
+
<fraction n="0.67" ref="Iron" />
|
|
46
|
+
<fraction n="0.10" ref="Nickel" />
|
|
47
|
+
</material>
|
|
48
|
+
<material name="SiliconDioxide" >
|
|
49
|
+
<D value="2.32" unit="g/cm3" />
|
|
50
|
+
<composite n="1" ref="Silicon" />
|
|
51
|
+
<composite n="2" ref="Oxygen" />
|
|
52
|
+
</material>
|
|
53
|
+
</materials>
|
|
54
|
+
|
|
55
|
+
<solids>
|
|
56
|
+
<tube name="source" rmax="source_radius" z="source_z" startphi="0" deltaphi="TWOPI" aunit="rad" />
|
|
57
|
+
<tube name="source_capsule" rmax="source_capsule_radius" z="source_capsule_z" startphi="0" deltaphi="TWOPI" aunit="rad" />
|
|
58
|
+
<box name="collimator" x="collimator_x" y="collimator_y" z="collimator_z"/>
|
|
59
|
+
<tube name="collimator_beam" rmax="collimator_beam_radius" z="collimator_beam_z" startphi="0" deltaphi="TWOPI" aunit="rad" />
|
|
60
|
+
</solids>
|
|
61
|
+
|
|
62
|
+
<structure>
|
|
63
|
+
<volume name="Source">
|
|
64
|
+
<materialref ref="SiliconDioxide"/>
|
|
65
|
+
<solidref ref="source"/>
|
|
66
|
+
</volume>
|
|
67
|
+
<volume name="Source_Encapsulated">
|
|
68
|
+
<materialref ref="Ssteel"/>
|
|
69
|
+
<solidref ref="source_capsule"/>
|
|
70
|
+
<physvol>
|
|
71
|
+
<volumeref ref="Source"/>
|
|
72
|
+
<positionref ref="pos_source_capsule"/>
|
|
73
|
+
</physvol>
|
|
74
|
+
</volume>
|
|
75
|
+
<volume name="Collimator_Beam">
|
|
76
|
+
<materialref ref="G4_AIR"/>
|
|
77
|
+
<solidref ref="collimator_beam"/>
|
|
78
|
+
</volume>
|
|
79
|
+
<volume name="Source_Collimated">
|
|
80
|
+
<materialref ref="G4_Cu"/>
|
|
81
|
+
<solidref ref="collimator"/>
|
|
82
|
+
<physvol>
|
|
83
|
+
<volumeref ref="Collimator_Beam"/>
|
|
84
|
+
<positionref ref="pos_collimator_beam"/>
|
|
85
|
+
</physvol>
|
|
86
|
+
<physvol>
|
|
87
|
+
<volumeref ref="Source_Encapsulated"/>
|
|
88
|
+
<positionref ref="pos_source_collimator"/>
|
|
89
|
+
</physvol>
|
|
90
|
+
</volume>
|
|
91
|
+
</structure>
|
|
92
|
+
|
|
93
|
+
<setup name="Default" version="1.0">
|
|
94
|
+
<world ref="Source_Collimated"/>
|
|
95
|
+
</setup>
|
|
96
|
+
|
|
97
|
+
</gdml>
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
<?xml version="1.0" ?>
|
|
2
|
+
<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">
|
|
3
|
+
|
|
4
|
+
<define>
|
|
5
|
+
<constant name="TWOPI" value="2.*pi"/>
|
|
6
|
+
<quantity name="source_z" type="length" value="source_height" unit="mm"/>
|
|
7
|
+
<quantity name="source_radius" type="length" value="source_width/2" unit="mm"/>
|
|
8
|
+
<quantity name="source_capsule_x" type="length" value="source_capsule_width" unit="mm"/>
|
|
9
|
+
<quantity name="source_capsule_y" type="length" value="source_capsule_depth" unit="mm"/>
|
|
10
|
+
<quantity name="source_capsule_z" type="length" value="source_capsule_height" unit="mm"/>
|
|
11
|
+
<position name="pos_center" x="0" y="0" z="0"/>
|
|
12
|
+
</define>
|
|
13
|
+
|
|
14
|
+
<materials>
|
|
15
|
+
<element Z="1" formula="H" name="Hydrogen" >
|
|
16
|
+
<atom value="1" />
|
|
17
|
+
</element>
|
|
18
|
+
<element Z="6" formula="C" name="Carbon" >
|
|
19
|
+
<atom value="12.01" />
|
|
20
|
+
</element>
|
|
21
|
+
<element Z="8" formula="O" name="Oxygen" >
|
|
22
|
+
<atom value="16" />
|
|
23
|
+
</element>
|
|
24
|
+
<element Z="14" formula="Si" name="Silicon" >
|
|
25
|
+
<atom value="28.09" />
|
|
26
|
+
</element>
|
|
27
|
+
<material name="Acrylic" >
|
|
28
|
+
<D value="1.15" unit="g/cm3" />
|
|
29
|
+
<composite n="5" ref="Carbon" />
|
|
30
|
+
<composite n="8" ref="Hydrogen" />
|
|
31
|
+
<composite n="2" ref="Oxygen" />
|
|
32
|
+
</material>
|
|
33
|
+
<material name="SiliconDioxide" >
|
|
34
|
+
<D value="2.32" unit="g/cm3" />
|
|
35
|
+
<composite n="1" ref="Silicon" />
|
|
36
|
+
<composite n="2" ref="Oxygen" />
|
|
37
|
+
</material>
|
|
38
|
+
</materials>
|
|
39
|
+
|
|
40
|
+
<solids>
|
|
41
|
+
<tube name="source" rmax="source_radius" z="source_z" startphi="0" deltaphi="TWOPI" aunit="rad" />
|
|
42
|
+
<box name="source_capsule" x="source_capsule_x" y="source_capsule_y" z="source_capsule_z"/>
|
|
43
|
+
</solids>
|
|
44
|
+
|
|
45
|
+
<structure>
|
|
46
|
+
<volume name="Source">
|
|
47
|
+
<materialref ref="Acrylic"/>
|
|
48
|
+
<solidref ref="source"/>
|
|
49
|
+
</volume>
|
|
50
|
+
<volume name="Source_Encapsulated">
|
|
51
|
+
<materialref ref="Acrylic"/>
|
|
52
|
+
<solidref ref="source_capsule"/>
|
|
53
|
+
<physvol>
|
|
54
|
+
<volumeref ref="Source"/>
|
|
55
|
+
<positionref ref="pos_center"/>
|
|
56
|
+
</physvol>
|
|
57
|
+
</volume>
|
|
58
|
+
</structure>
|
|
59
|
+
|
|
60
|
+
<setup name="Default" version="1.0">
|
|
61
|
+
<world ref="Source_Encapsulated"/>
|
|
62
|
+
</setup>
|
|
63
|
+
|
|
64
|
+
</gdml>
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
<?xml version="1.0" ?>
|
|
2
|
+
<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">
|
|
3
|
+
|
|
4
|
+
<define>
|
|
5
|
+
<constant name="TWOPI" value="2.*pi"/>
|
|
6
|
+
<quantity name="source_z" type="length" value="source_height" unit="mm"/>
|
|
7
|
+
<quantity name="source_radius" type="length" value="source_width/2" unit="mm"/>
|
|
8
|
+
<quantity name="source_foil_z" type="length" value="source_foil_height" unit="mm"/>
|
|
9
|
+
<quantity name="source_Alring_z" type="length" value="source_Alring_height" unit="mm"/>
|
|
10
|
+
<quantity name="source_Alring_radius_min" type="length" value="source_Alring_width_min/2" unit="mm"/>
|
|
11
|
+
<quantity name="source_Alring_radius_max" type="length" value="source_Alring_width_max/2" unit="mm"/>
|
|
12
|
+
<position name="pos_center" z="0"/>
|
|
13
|
+
</define>
|
|
14
|
+
|
|
15
|
+
<materials>
|
|
16
|
+
<element Z="1" formula="H" name="Hydrogen" >
|
|
17
|
+
<atom value="1" />
|
|
18
|
+
</element>
|
|
19
|
+
<element Z="6" formula="C" name="Carbon" >
|
|
20
|
+
<atom value="12.01" />
|
|
21
|
+
</element>
|
|
22
|
+
<material name="HD1000" >
|
|
23
|
+
<D value="0.93" unit="g/cm3" />
|
|
24
|
+
<composite n="4" ref="Hydrogen" />
|
|
25
|
+
<composite n="2" ref="Carbon" />
|
|
26
|
+
</material>
|
|
27
|
+
</materials>
|
|
28
|
+
|
|
29
|
+
<solids>
|
|
30
|
+
<tube name="source" rmax="source_radius" z="source_z" startphi="0" deltaphi="TWOPI" aunit="rad" />
|
|
31
|
+
<tube name="source_Alring" rmin = "source_Alring_radius_min" rmax="source_Alring_radius_max" z="source_Alring_z" startphi="0" deltaphi="TWOPI" aunit="rad" />
|
|
32
|
+
<tube name="source_foil" rmax="source_Alring_radius_min" z="source_foil_z" startphi="0" deltaphi="TWOPI" aunit="rad" />
|
|
33
|
+
<tube name="source_vacuum" rmax="source_Alring_radius_max" z="source_Alring_z" startphi="0" deltaphi="TWOPI" aunit="rad" />
|
|
34
|
+
</solids>
|
|
35
|
+
|
|
36
|
+
<structure>
|
|
37
|
+
<volume name="Source">
|
|
38
|
+
<materialref ref="HD1000"/>
|
|
39
|
+
<solidref ref="source"/>
|
|
40
|
+
</volume>
|
|
41
|
+
<volume name="Source_foil">
|
|
42
|
+
<materialref ref="HD1000"/>
|
|
43
|
+
<solidref ref="source_foil"/>
|
|
44
|
+
<physvol>
|
|
45
|
+
<volumeref ref="Source"/>
|
|
46
|
+
<positionref ref="pos_center"/>
|
|
47
|
+
</physvol>
|
|
48
|
+
</volume>
|
|
49
|
+
<volume name="Source_Alring">
|
|
50
|
+
<materialref ref="G4_Al"/>
|
|
51
|
+
<solidref ref="source_Alring"/>
|
|
52
|
+
</volume>
|
|
53
|
+
|
|
54
|
+
<volume name="Source_Encapsulated">
|
|
55
|
+
<materialref ref="G4_Galactic"/>
|
|
56
|
+
<solidref ref="source_vacuum"/>
|
|
57
|
+
<physvol>
|
|
58
|
+
<volumeref ref="Source_foil"/>
|
|
59
|
+
<positionref ref="pos_center"/>
|
|
60
|
+
</physvol>
|
|
61
|
+
<physvol>
|
|
62
|
+
<volumeref ref="Source_Alring"/>
|
|
63
|
+
<positionref ref="pos_center"/>
|
|
64
|
+
</physvol>
|
|
65
|
+
</volume>
|
|
66
|
+
</structure>
|
|
67
|
+
|
|
68
|
+
<setup name="Default" version="1.0">
|
|
69
|
+
<world ref="Source_Encapsulated"/>
|
|
70
|
+
</setup>
|
|
71
|
+
|
|
72
|
+
</gdml>
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
<?xml version="1.0" ?>
|
|
2
|
+
<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">
|
|
3
|
+
|
|
4
|
+
<define>
|
|
5
|
+
<constant name="TWOPI" value="2.*pi"/>
|
|
6
|
+
<quantity name="source_z" type="length" value="source_height" unit="mm"/>
|
|
7
|
+
<quantity name="source_radius" type="length" value="source_width/2" unit="mm"/>
|
|
8
|
+
<quantity name="source_foil_z" type="length" value="source_foil_height" unit="mm"/>
|
|
9
|
+
<quantity name="source_Alring_z" type="length" value="source_Alring_height" unit="mm"/>
|
|
10
|
+
<quantity name="source_Alring_radius_min" type="length" value="source_Alring_width_min/2" unit="mm"/>
|
|
11
|
+
<quantity name="source_Alring_radius_max" type="length" value="source_Alring_width_max/2" unit="mm"/>
|
|
12
|
+
<position name="pos_center" z="0"/>
|
|
13
|
+
</define>
|
|
14
|
+
|
|
15
|
+
<materials>
|
|
16
|
+
<element Z="1" formula="H" name="Hydrogen" >
|
|
17
|
+
<atom value="1" />
|
|
18
|
+
</element>
|
|
19
|
+
<element Z="6" formula="C" name="Carbon" >
|
|
20
|
+
<atom value="12.01" />
|
|
21
|
+
</element>
|
|
22
|
+
<material name="HD1000" >
|
|
23
|
+
<D value="0.93" unit="g/cm3" />
|
|
24
|
+
<composite n="4" ref="Hydrogen" />
|
|
25
|
+
<composite n="2" ref="Carbon" />
|
|
26
|
+
</material>
|
|
27
|
+
</materials>
|
|
28
|
+
|
|
29
|
+
<solids>
|
|
30
|
+
<tube name="source" rmax="source_radius" z="source_z" startphi="0" deltaphi="TWOPI" aunit="rad" />
|
|
31
|
+
<tube name="source_Alring" rmin = "source_Alring_radius_min" rmax="source_Alring_radius_max" z="source_Alring_z" startphi="0" deltaphi="TWOPI" aunit="rad" />
|
|
32
|
+
<tube name="source_foil" rmax="source_Alring_radius_min" z="source_foil_z" startphi="0" deltaphi="TWOPI" aunit="rad" />
|
|
33
|
+
<tube name="source_vacuum" rmax="source_Alring_radius_max" z="source_Alring_z" startphi="0" deltaphi="TWOPI" aunit="rad" />
|
|
34
|
+
</solids>
|
|
35
|
+
|
|
36
|
+
<structure>
|
|
37
|
+
<volume name="Source">
|
|
38
|
+
<materialref ref="HD1000"/>
|
|
39
|
+
<solidref ref="source"/>
|
|
40
|
+
</volume>
|
|
41
|
+
<volume name="Source_foil">
|
|
42
|
+
<materialref ref="HD1000"/>
|
|
43
|
+
<solidref ref="source_foil"/>
|
|
44
|
+
<physvol>
|
|
45
|
+
<volumeref ref="Source"/>
|
|
46
|
+
<positionref ref="pos_center"/>
|
|
47
|
+
</physvol>
|
|
48
|
+
</volume>
|
|
49
|
+
<volume name="Source_Alring">
|
|
50
|
+
<materialref ref="G4_Al"/>
|
|
51
|
+
<solidref ref="source_Alring"/>
|
|
52
|
+
</volume>
|
|
53
|
+
<volume name="Source_Encapsulated">
|
|
54
|
+
<materialref ref="G4_Galactic"/>
|
|
55
|
+
<solidref ref="source_vacuum"/>
|
|
56
|
+
<physvol>
|
|
57
|
+
<volumeref ref="Source_foil"/>
|
|
58
|
+
<positionref ref="pos_center"/>
|
|
59
|
+
</physvol>
|
|
60
|
+
<physvol>
|
|
61
|
+
<volumeref ref="Source_Alring"/>
|
|
62
|
+
<positionref ref="pos_center"/>
|
|
63
|
+
</physvol>
|
|
64
|
+
</volume>
|
|
65
|
+
</structure>
|
|
66
|
+
|
|
67
|
+
<setup name="Default" version="1.0">
|
|
68
|
+
<world ref="Source_Encapsulated"/>
|
|
69
|
+
</setup>
|
|
70
|
+
|
|
71
|
+
</gdml>
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
<?xml version="1.0" ?>
|
|
2
|
+
<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">
|
|
3
|
+
|
|
4
|
+
<define>
|
|
5
|
+
<constant name="TWOPI" value="2.*pi"/>
|
|
6
|
+
<quantity name="source_holder_top_z" type="length" value="source_holder_top_height" unit="mm"/>
|
|
7
|
+
<quantity name="source_holder_cryostat_z" type="length" value="position_source_fromcryostat_z+source_holder_top_plate_height/2" unit="mm"/>
|
|
8
|
+
<quantity name="source_holder_z" type="length" value="position_source_fromcryostat_z+source_holder_topbottom_height" unit="mm"/>
|
|
9
|
+
<quantity name="source_holder_top_inner_x" type="length" value="source_holder_top_inner_width" unit="mm"/>
|
|
10
|
+
<quantity name="source_holder_top_inner_y" type="length" value="source_holder_top_inner_depth" unit="mm"/>
|
|
11
|
+
<quantity name="source_holder_inner_radius" type="length" value="source_holder_inner_width/2" unit="mm"/>
|
|
12
|
+
<quantity name="source_holder_bottom_inner_radius" type="length" value="source_holder_bottom_inner_width/2" unit="mm"/>
|
|
13
|
+
<quantity name="source_holder_outer_radius" type="length" value="source_holder_outer_width/2" unit="mm"/>
|
|
14
|
+
<quantity name="rectangular_plate_x" type="length" value="source_holder_top_plate_width" unit="mm"/>
|
|
15
|
+
<quantity name="rectangular_plate_y" type="length" value="source_holder_top_plate_depth" unit="mm"/>
|
|
16
|
+
<quantity name="rectangular_plate_z" type="length" value="source_holder_top_plate_height" unit="mm"/>
|
|
17
|
+
<position name="pos_source_holder" z="source_holder_top_z/2"/>
|
|
18
|
+
<position name="pos_source_holder_top_inner" z="source_holder_top_z/2+rectangular_plate_z"/>
|
|
19
|
+
<position name="pos_rectangular_plate" z="rectangular_plate_z/2"/>
|
|
20
|
+
<position name="pos_center" z="0"/>
|
|
21
|
+
</define>
|
|
22
|
+
|
|
23
|
+
<materials>
|
|
24
|
+
<element Z="1" formula="H" name="Hydrogen" >
|
|
25
|
+
<atom value="1" />
|
|
26
|
+
</element>
|
|
27
|
+
<element Z="6" formula="C" name="Carbon" >
|
|
28
|
+
<atom value="12.01" />
|
|
29
|
+
</element>
|
|
30
|
+
<element Z="8" formula="O" name="Oxygen" >
|
|
31
|
+
<atom value="16" />
|
|
32
|
+
</element>
|
|
33
|
+
<material name="Acrylic" >
|
|
34
|
+
<D value="1.15" unit="g/cm3" />
|
|
35
|
+
<composite n="5" ref="Carbon" />
|
|
36
|
+
<composite n="8" ref="Hydrogen" />
|
|
37
|
+
<composite n="8" ref="Oxygen" />
|
|
38
|
+
</material>
|
|
39
|
+
</materials>
|
|
40
|
+
|
|
41
|
+
<solids>
|
|
42
|
+
<polycone name="source_holder_cylinder" startphi="0" deltaphi="TWOPI" aunit="rad">
|
|
43
|
+
<zplane rmin="0" rmax="source_holder_outer_radius" z="0"/>
|
|
44
|
+
<zplane rmin="0" rmax="source_holder_outer_radius" z="source_holder_top_z"/>
|
|
45
|
+
<zplane rmin="source_holder_inner_radius" rmax="source_holder_outer_radius" z="source_holder_top_z"/>
|
|
46
|
+
<zplane rmin="source_holder_inner_radius" rmax="source_holder_outer_radius" z="source_holder_cryostat_z"/>
|
|
47
|
+
<zplane rmin="source_holder_bottom_inner_radius" rmax="source_holder_outer_radius" z="source_holder_cryostat_z"/>
|
|
48
|
+
<zplane rmin="source_holder_bottom_inner_radius" rmax="source_holder_outer_radius" z="source_holder_z"/>
|
|
49
|
+
</polycone>
|
|
50
|
+
<box name="rectangular_plate" x="rectangular_plate_x" y="rectangular_plate_y" z="rectangular_plate_z"/>
|
|
51
|
+
<box name="source_holder_top_inner" x="source_holder_top_inner_x" y="source_holder_top_inner_y" z="source_holder_top_z" />
|
|
52
|
+
<subtraction name="source_holder_endcap" >
|
|
53
|
+
<first ref="source_holder_cylinder"/> <second ref="rectangular_plate"/>
|
|
54
|
+
<positionref ref="pos_rectangular_plate" />
|
|
55
|
+
</subtraction>
|
|
56
|
+
<subtraction name="source_holder_sub" >
|
|
57
|
+
<first ref="source_holder_endcap"/> <second ref="source_holder_top_inner"/>
|
|
58
|
+
<positionref ref="pos_source_holder_top_inner" />
|
|
59
|
+
</subtraction>
|
|
60
|
+
</solids>
|
|
61
|
+
|
|
62
|
+
<structure>
|
|
63
|
+
<volume name="Source_Holder">
|
|
64
|
+
<materialref ref="Acrylic"/>
|
|
65
|
+
<solidref ref="source_holder_sub"/>
|
|
66
|
+
</volume>
|
|
67
|
+
</structure>
|
|
68
|
+
|
|
69
|
+
<setup name="Default" version="1.0">
|
|
70
|
+
<world ref="Source_Holder"/>
|
|
71
|
+
</setup>
|
|
72
|
+
|
|
73
|
+
</gdml>
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
<?xml version="1.0" ?>
|
|
2
|
+
<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">
|
|
3
|
+
|
|
4
|
+
<define>
|
|
5
|
+
<constant name="TWOPI" value="2.*pi"/>
|
|
6
|
+
<quantity name="source_holder_top_plate_z" type="length" value="source_holder_top_plate_height" unit="mm"/>
|
|
7
|
+
<quantity name="source_holder_top_z" type="length" value="source_holder_top_height" unit="mm"/>
|
|
8
|
+
<quantity name="source_holder_cryostat_z" type="length" value="position_source_fromcryostat_z+source_holder_top_plate_height/2" unit="mm"/>
|
|
9
|
+
<quantity name="source_holder_z" type="length" value="position_source_fromcryostat_z+source_holder_topbottom_height" unit="mm"/>
|
|
10
|
+
<quantity name="source_holder_top_plate_radius" type="length" value="source_holder_top_plate_width/2" unit="mm"/>
|
|
11
|
+
<quantity name="source_holder_top_inner_radius" type="length" value="source_holder_top_inner_width/2" unit="mm"/>
|
|
12
|
+
<quantity name="source_holder_inner_radius" type="length" value="source_holder_inner_width/2" unit="mm"/>
|
|
13
|
+
<quantity name="source_holder_bottom_inner_radius" type="length" value="source_holder_bottom_inner_width/2" unit="mm"/>
|
|
14
|
+
<quantity name="source_holder_outer_radius" type="length" value="source_holder_outer_width/2" unit="mm"/>
|
|
15
|
+
<position name="pos_source_holder" z="source_holder_top_z/2"/>
|
|
16
|
+
<position name="pos_center" z="0"/>
|
|
17
|
+
</define>
|
|
18
|
+
|
|
19
|
+
<materials>
|
|
20
|
+
<element Z="1" formula="H" name="Hydrogen" >
|
|
21
|
+
<atom value="1" />
|
|
22
|
+
</element>
|
|
23
|
+
<element Z="6" formula="C" name="Carbon" >
|
|
24
|
+
<atom value="12.01" />
|
|
25
|
+
</element>
|
|
26
|
+
<element Z="8" formula="O" name="Oxygen" >
|
|
27
|
+
<atom value="16" />
|
|
28
|
+
</element>
|
|
29
|
+
<material name="Acrylic" >
|
|
30
|
+
<D value="1.15" unit="g/cm3" />
|
|
31
|
+
<composite n="5" ref="Carbon" />
|
|
32
|
+
<composite n="8" ref="Hydrogen" />
|
|
33
|
+
<composite n="8" ref="Oxygen" />
|
|
34
|
+
</material>
|
|
35
|
+
</materials>
|
|
36
|
+
|
|
37
|
+
<solids>
|
|
38
|
+
<polycone name="source_holder" startphi="0" deltaphi="TWOPI" aunit="rad">
|
|
39
|
+
<zplane rmin="source_holder_top_plate_radius" rmax="source_holder_outer_radius" z="0"/>
|
|
40
|
+
<zplane rmin="source_holder_top_plate_radius" rmax="source_holder_outer_radius" z="source_holder_top_plate_z"/>
|
|
41
|
+
<zplane rmin="source_holder_top_inner_radius" rmax="source_holder_outer_radius" z="source_holder_top_plate_z"/>
|
|
42
|
+
<zplane rmin="source_holder_top_inner_radius" rmax="source_holder_outer_radius" z="source_holder_top_z"/>
|
|
43
|
+
<zplane rmin="source_holder_inner_radius" rmax="source_holder_outer_radius" z="source_holder_top_z"/>
|
|
44
|
+
<zplane rmin="source_holder_inner_radius" rmax="source_holder_outer_radius" z="source_holder_cryostat_z"/>
|
|
45
|
+
<zplane rmin="source_holder_bottom_inner_radius" rmax="source_holder_outer_radius" z="source_holder_cryostat_z"/>
|
|
46
|
+
<zplane rmin="source_holder_bottom_inner_radius" rmax="source_holder_outer_radius" z="source_holder_z"/>
|
|
47
|
+
</polycone>
|
|
48
|
+
</solids>
|
|
49
|
+
|
|
50
|
+
<structure>
|
|
51
|
+
<volume name="Source_Holder">
|
|
52
|
+
<materialref ref="Acrylic"/>
|
|
53
|
+
<solidref ref="source_holder"/>
|
|
54
|
+
</volume>
|
|
55
|
+
</structure>
|
|
56
|
+
|
|
57
|
+
<setup name="Default" version="1.0">
|
|
58
|
+
<world ref="Source_Holder"/>
|
|
59
|
+
</setup>
|
|
60
|
+
|
|
61
|
+
</gdml>
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
<?xml version="1.0" ?>
|
|
2
|
+
<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">
|
|
3
|
+
|
|
4
|
+
<define>
|
|
5
|
+
<constant name="TWOPI" value="2.*pi"/>
|
|
6
|
+
<quantity name="source_holder_z" type="length" value="source_holder_height" unit="mm"/>
|
|
7
|
+
<quantity name="cavity_source_holder_z" type="length" value="cavity_source_holder_height" unit="mm"/>
|
|
8
|
+
<quantity name="source_holder_outer_radius" type="length" value="source_holder_outer_width/2" unit="mm"/>
|
|
9
|
+
<quantity name="source_holder_inner_radius" type="length" value="source_holder_inner_width/2" unit="mm"/>
|
|
10
|
+
<quantity name="cavity_source_holder_radius" type="length" value="cavity_source_holder_width/2" unit="mm"/>
|
|
11
|
+
<rotation name="rot_cavity_source_holder" x="90" unit="deg" />
|
|
12
|
+
<position name="pos_cavity_source_holder" y="source_holder_inner_radius+(source_holder_outer_radius-source_holder_inner_radius)/2"/>
|
|
13
|
+
</define>
|
|
14
|
+
|
|
15
|
+
<materials>
|
|
16
|
+
<element Z="1" formula="H" name="Hydrogen" >
|
|
17
|
+
<atom value="1" />
|
|
18
|
+
</element>
|
|
19
|
+
<element Z="6" formula="C" name="Carbon" >
|
|
20
|
+
<atom value="12.01" />
|
|
21
|
+
</element>
|
|
22
|
+
<element Z="8" formula="O" name="Oxygen" >
|
|
23
|
+
<atom value="16" />
|
|
24
|
+
</element>
|
|
25
|
+
<material name="Acrylic" >
|
|
26
|
+
<D value="1.15" unit="g/cm3" />
|
|
27
|
+
<composite n="5" ref="Carbon" />
|
|
28
|
+
<composite n="8" ref="Hydrogen" />
|
|
29
|
+
<composite n="8" ref="Oxygen" />
|
|
30
|
+
</material>
|
|
31
|
+
</materials>
|
|
32
|
+
|
|
33
|
+
<solids>
|
|
34
|
+
<tube name="cylinder_source_holder" rmin="source_holder_inner_radius" rmax="source_holder_outer_radius" z="source_holder_z" startphi="0" deltaphi="TWOPI" aunit="rad" />
|
|
35
|
+
<tube name="cavity_source_holder" rmax="cavity_source_holder_radius" z="cavity_source_holder_z" startphi="0" deltaphi="TWOPI" aunit="rad" />
|
|
36
|
+
<subtraction name="source_holder" >
|
|
37
|
+
<first ref="cylinder_source_holder"/> <second ref="cavity_source_holder"/>
|
|
38
|
+
<positionref ref="pos_cavity_source_holder" />
|
|
39
|
+
<rotationref ref="rot_cavity_source_holder" />
|
|
40
|
+
</subtraction>
|
|
41
|
+
</solids>
|
|
42
|
+
|
|
43
|
+
<structure>
|
|
44
|
+
<volume name="Source_Holder">
|
|
45
|
+
<materialref ref="Acrylic"/>
|
|
46
|
+
<solidref ref="source_holder"/>
|
|
47
|
+
</volume>
|
|
48
|
+
</structure>
|
|
49
|
+
|
|
50
|
+
<setup name="Default" version="1.0">
|
|
51
|
+
<world ref="Source_Holder"/>
|
|
52
|
+
</setup>
|
|
53
|
+
|
|
54
|
+
</gdml>
|