|
14 | 14 | wall_thickness="2*mm"
|
15 | 15 | vis="BeamPipeVis">
|
16 | 16 | <pipe id="0" name="Pipe_to_Q1eR"
|
17 |
| - xcenter="0" zcenter="(Center_Beampipe_End + Q1eR_CenterPosition+Q1eR_Length/2)/2" |
18 |
| - length="Center_Beampipe_End - (Q1eR_CenterPosition+Q1eR_Length/2)" theta="0" |
| 17 | + xcenter="0" zcenter="(Center_Beampipe_End + Q1eR_CenterZ+Q1eR_Length/2)/2" |
| 18 | + length="Center_Beampipe_End - (Q1eR_CenterZ+Q1eR_Length/2)" theta="0" |
19 | 19 | rout1="Center_Beampipe_Rad" rout2="Q1eR_InnerRadius">
|
20 | 20 | </pipe>
|
21 | 21 | <pipe id="1" name="Pipe_in_Q1eR"
|
22 |
| - xcenter="0" zcenter="Q1eR_CenterPosition" |
| 22 | + xcenter="0" zcenter="Q1eR_CenterZ" |
23 | 23 | length="Q1eR_Length" theta="0"
|
24 | 24 | rout1="Q1eR_InnerRadius" rout2="Q1eR_InnerRadius">
|
25 | 25 | </pipe>
|
26 | 26 | <pipe id="2" name="Pipe_Q1eR_to_Q2eR"/>
|
27 | 27 | <pipe id="3" name="Pipe_in_Q2eR"
|
28 |
| - xcenter="0" zcenter="Q2eR_CenterPosition" |
| 28 | + xcenter="0" zcenter="Q2eR_CenterZ" |
29 | 29 | length="Q2eR_Length" theta="0"
|
30 | 30 | rout1="Q2eR_InnerRadius" rout2="Q2eR_InnerRadius">
|
31 | 31 | </pipe>
|
32 | 32 | <pipe id="4" name="Pipe_Q2eR_to_B2AeR"/>
|
33 | 33 | <pipe id="5" name="Pipe_in_B2AeR"
|
34 |
| - xcenter="0" zcenter="B2AeR_CenterPosition" |
| 34 | + xcenter="0" zcenter="B2AeR_CenterZ" |
35 | 35 | length="B2AeR_Length" theta="0"
|
36 | 36 | rout1="B2AeR_InnerRadius" rout2="B2AeR_InnerRadius">
|
37 | 37 | </pipe>
|
38 | 38 | <pipe id="6" name="Pipe_B2AeR_to_B2BeR"/>
|
39 | 39 | <pipe id="7" name="Pipe_in_B2BeR"
|
40 |
| - xcenter="B2BeR_CenterX" zcenter="B2BeR_CenterPosition" |
| 40 | + xcenter="B2BeR_CenterX" zcenter="B2BeR_CenterZ" |
41 | 41 | length="B2BeR_Length" theta="B2BeR_Theta"
|
42 | 42 | rout1="B2BeR_InnerRadius" rout2="B2BeR_InnerRadius">
|
43 | 43 | </pipe>
|
|
46 | 46 | <comment> Electron side beam magnet volumes </comment>
|
47 | 47 |
|
48 | 48 | <detector name="Magnet_Q1eR" type="ip6_CylindricalDipoleMagnet" vis="FFMagnetVis">
|
49 |
| - <placement x="0" y="0" z="Q1eR_CenterPosition" theta="0*rad"/> |
| 49 | + <placement x="0" y="0" z="Q1eR_CenterZ" theta="0*rad"/> |
50 | 50 | <dimensions x="Q1eR_InnerRadius*4" y="Q1eR_InnerRadius*4" z="Q1eR_Length" r="1.5*Q1eR_InnerRadius" />
|
51 | 51 | <apperture x="Q1eR_InnerRadius*2" y="Q1eR_InnerRadius*2" r="Q1eR_InnerRadius" />
|
52 | 52 | <coil dx="2*cm" dy="1.5*cm" /><!--unchecked-->
|
53 | 53 | </detector>
|
54 | 54 |
|
55 | 55 | <detector name="Magnet_Q2eR" type="ip6_CylindricalDipoleMagnet" vis="FFMagnetVis">
|
56 |
| - <placement x="0" y="0" z="Q2eR_CenterPosition" theta="0*rad"/> |
| 56 | + <placement x="0" y="0" z="Q2eR_CenterZ" theta="0*rad"/> |
57 | 57 | <dimensions x="Q2eR_InnerRadius*4" y="Q2eR_InnerRadius*4" z="Q2eR_Length" r="1.5*Q2eR_InnerRadius"/>
|
58 | 58 | <apperture x="Q2eR_InnerRadius*2" y="Q2eR_InnerRadius*2" r="Q2eR_InnerRadius"/>
|
59 | 59 | <coil dx="2*cm" dy="1.5*cm" /><!--unchecked-->
|
60 | 60 | </detector>
|
61 | 61 |
|
62 | 62 | <detector name="Magnet_B2AeR" type="ip6_CylindricalDipoleMagnet" vis="FFMagnetVis">
|
63 |
| - <placement x="0" y="0" z="B2AeR_CenterPosition" theta="0*rad"/> |
| 63 | + <placement x="0" y="0" z="B2AeR_CenterZ" theta="0*rad"/> |
64 | 64 | <dimensions x="B2AeR_InnerRadius*4" y="B2AeR_InnerRadius*4" z="B2AeR_Length" r="1.5*B2AeR_InnerRadius"/>
|
65 | 65 | <apperture x="B2AeR_InnerRadius*2" y="B2AeR_InnerRadius*2" r="B2AeR_InnerRadius"/>
|
66 | 66 | <coil dx="2*cm" dy="1.5*cm" /><!--unchecked-->
|
67 | 67 | </detector>
|
68 | 68 |
|
69 | 69 | <detector name="Magnet_B2BeR" type="ip6_CylindricalDipoleMagnet" vis="FFMagnetVis">
|
70 |
| - <placement x="B2BeR_CenterX" y="0" z="B2BeR_CenterPosition" theta="B2BeR_Theta"/> |
| 70 | + <placement x="B2BeR_CenterX" y="0" z="B2BeR_CenterZ" theta="B2BeR_Theta"/> |
71 | 71 | <dimensions x="B2BeR_InnerRadius*4" y="B2BeR_InnerRadius*4" z="B2BeR_Length" r="1.5*B2BeR_InnerRadius"/>
|
72 | 72 | <apperture x="B2BeR_InnerRadius*2" y="B2BeR_InnerRadius*2" r="B2BeR_InnerRadius"/>
|
73 | 73 | <coil dx="2*cm" dy="1.5*cm" /><!--unchecked-->
|
|
78 | 78 | type="CylindricalMagnetChain"
|
79 | 79 | vis="FFMagnetVis">
|
80 | 80 | <magnet id="0" name="Magnet_Q3eR"
|
81 |
| - x="Q3eR_XPosition" y="0" z="Q3eR_CenterPosition" theta="Q3eR_Theta" |
| 81 | + x="Q3eR_CenterX" y="0" z="Q3eR_CenterZ" theta="Q3eR_Theta" |
82 | 82 | length="Q3eR_Length" rin="Q3eR_InnerRadius" rout="4*Q3eR_InnerRadius">
|
83 | 83 | </magnet>
|
84 | 84 | </detector>
|
|
91 | 91 |
|
92 | 92 | <field name="Magnet_Q1eR_Field" type="MultipoleMagnet">
|
93 | 93 | <shape type="Tube" rmax="Q1eR_InnerRadius" dz="Q1eR_Length/2"/>
|
94 |
| - <position x="0" y="0" z="Q1eR_CenterPosition"/> |
| 94 | + <position x="0" y="0" z="Q1eR_CenterZ"/> |
95 | 95 | <coefficient/>
|
96 | 96 | <coefficient coefficient="Q1eR_Gradient"/>
|
97 | 97 | </field>
|
98 | 98 |
|
99 | 99 | <field name="Magnet_Q2eR_Field" type="MultipoleMagnet">
|
100 | 100 | <shape type="Tube" rmax="Q2eR_InnerRadius" dz="Q2eR_Length/2"/>
|
101 |
| - <position x="0" y="0" z="Q2eR_CenterPosition"/> |
| 101 | + <position x="0" y="0" z="Q2eR_CenterZ"/> |
102 | 102 | <coefficient/>
|
103 | 103 | <coefficient coefficient="Q2eR_Gradient"/>
|
104 | 104 | </field>
|
105 | 105 |
|
106 | 106 | <field name="Magnet_Q3eR_Field" type="MultipoleMagnet">
|
107 | 107 | <shape type="Tube" rmax="Q3eR_InnerRadius" dz="Q3eR_Length/2"/>
|
108 |
| - <position x="Q3eR_XPosition" y="0" z="Q3eR_CenterPosition"/> |
| 108 | + <position x="Q3eR_CenterX" y="0" z="Q3eR_CenterZ"/> |
109 | 109 | <rotation x="0" y="Q3eR_Theta" z="0"/>
|
110 | 110 | <coefficient/>
|
111 | 111 | <coefficient coefficient="Q3eR_Gradient"/>
|
112 | 112 | </field>
|
113 | 113 |
|
114 | 114 | <field name="Magnet_B2AeR_Field" type="MultipoleMagnet">
|
115 | 115 | <shape type="Tube" rmax="B2AeR_InnerRadius" dz="B2AeR_Length/2"/>
|
116 |
| - <position x="0" y="0" z="B2AeR_CenterPosition"/> |
| 116 | + <position x="0" y="0" z="B2AeR_CenterZ"/> |
117 | 117 | <coefficient coefficient="B2AeR_B"/>
|
118 | 118 | </field>
|
119 | 119 |
|
120 | 120 | <field name="Magnet_B2BeR_Field" type="MultipoleMagnet">
|
121 | 121 | <shape type="Tube" rmax="B2BeR_InnerRadius" dz="B2BeR_Length/2"/>
|
122 |
| - <position x="0" y="0" z="B2BeR_CenterPosition"/> |
| 122 | + <position x="0" y="0" z="B2BeR_CenterZ"/> |
123 | 123 | <coefficient coefficient="B2BeR_B"/>
|
124 | 124 | </field>
|
125 | 125 |
|
|
0 commit comments