forked from npshub/mantid
-
Notifications
You must be signed in to change notification settings - Fork 0
/
POWGEN_Definition_2012-08-20.xml
278 lines (267 loc) · 11.5 KB
/
POWGEN_Definition_2012-08-20.xml
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
<?xml version='1.0' encoding='UTF-8'?>
<!-- For help on the notation used to specify an Instrument Definition File
see http://www.mantidproject.org/IDF -->
<instrument xmlns="http://www.mantidproject.org/IDF/1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.mantidproject.org/IDF/1.0 http://schema.mantidproject.org/IDF/1.0/IDFSchema.xsd"
name="POWGEN" valid-from ="2012-08-20 00:00:00"
valid-to ="2012-10-31 23:59:59"
last-modified="2012-11-27 11:00:00">
<!--Data taken from /SNS/PG3/2010_2_11A_CAL/calibrations/PG3_geom_2010_09_08.xml-->
<!--Created by Stuart Campbell-->
<!-- Modified by Janik Zikovsky, October 29th, 2010 -->
<!-- Modified by Vickie Lynch, Feb 17,2011 Bank names changed from local_name to name -->
<!-- Modified by Vickie Lynch, Feb 26,2011 New detectors -->
<!-- Modified by Vickie Lynch, Aug 08,2012 Moved 2 detectors -->
<!--DEFAULTS-->
<defaults>
<length unit="metre"/>
<angle unit="degree"/>
<reference-frame>
<along-beam axis="z"/>
<pointing-up axis="y"/>
<handedness val="right"/>
</reference-frame>
</defaults>
<!--SOURCE-->
<component type="moderator">
<location z="-60.0"/>
</component>
<type name="moderator" is="Source"/>
<!--SAMPLE-->
<component type="sample-position">
<location y="0.0" x="0.0" z="0.0"/>
</component>
<type name="sample-position" is="SamplePos"/>
<!--MONITORS-->
<component type="monitors" idlist="monitors">
<location/>
</component>
<type name="monitors">
<component type="monitor">
<location z="-1.0" name="monitor1"/>
</component>
</type>
<component type="Group1">
<location/>
</component>
<component type="Group2">
<location/>
</component>
<component type="Group3">
<location/>
</component>
<component type="Group4">
<location/>
</component>
<type name="Group4">
<component type="newpanel" idstart="27500" idfillbyfirst="y" idstepbyrow="7">
<location y="-0.8569665" x="1.544676" z="-1.92814625" name="bank22" rot="-114.376100022" axis-x="0" axis-y="1" axis-z="0">
<rot val="18.1150241918">
<rot val="90.3324262024" axis-x="0" axis-y="1" axis-z="0" />
</rot>
</location>
</component>
<component type="newpanel" idstart="28750" idfillbyfirst="y" idstepbyrow="7">
<location y="-0.43086875" x="1.586625" z="-2.0230145" name="bank23" rot="-114.64024741" axis-x="0" axis-y="1" axis-z="0">
<rot val="9.20075291558">
<rot val="90.56851948" axis-x="0" axis-y="1" axis-z="0" />
</rot>
</location>
</component>
<component type="newpanel" idstart="30000" idfillbyfirst="y" idstepbyrow="7">
<location y="0.004278" x="1.599787" z="-2.05241225" name="bank24" rot="67.4747108808" axis-x="0" axis-y="1" axis-z="0">
<rot val="0.0967550993347">
<rot val="-91.6058631572" axis-x="0" axis-y="1" axis-z="0" />
</rot>
</location>
</component>
<component type="newpanel" idstart="31250" idfillbyfirst="y" idstepbyrow="7">
<location y="0.43086875" x="1.586625" z="-2.0230145" name="bank25" rot="-114.64024741" axis-x="0" axis-y="1" axis-z="0">
<rot val="-9.20075291558">
<rot val="90.56851948" axis-x="0" axis-y="1" axis-z="0" />
</rot>
</location>
</component>
</type>
<type name="Group3">
<component type="newpanel" idstart="52500" idfillbyfirst="y" idstepbyrow="7">
<location y="-0.84933675" x="2.19187375" z="-1.435612" name="bank42" rot="-131.424083561" axis-x="0" axis-y="1" axis-z="0">
<rot val="18.5138420994">
<rot val="90.3151665618" axis-x="0" axis-y="1" axis-z="0" />
</rot>
</location>
</component>
<component type="newpanel" idstart="53750" idfillbyfirst="y" idstepbyrow="7">
<location y="-0.4253265" x="2.25948525" z="-1.5125445" name="bank43" rot="-131.244648741" axis-x="0" axis-y="1" axis-z="0">
<rot val="9.29227344324">
<rot val="90.0397493667" axis-x="0" axis-y="1" axis-z="0" />
</rot>
</location>
</component>
<component type="newpanel" idstart="55000" idfillbyfirst="y" idstepbyrow="7">
<location y="0.011741" x="2.283286" z="-1.5391445" name="bank44" rot="-148.60947807" axis-x="0" axis-y="1" axis-z="0">
<rot val="0.319604842882">
<rot val="107.407962375" axis-x="0" axis-y="1" axis-z="0" />
</rot>
</location>
</component>
<component type="newpanel" idstart="56250" idfillbyfirst="y" idstepbyrow="7">
<location y="0.4253265" x="2.25948525" z="-1.5125445" name="bank45" rot="-131.244648741" axis-x="0" axis-y="1" axis-z="0">
<rot val="-9.29227344324">
<rot val="90.0397493667" axis-x="0" axis-y="1" axis-z="0" />
</rot>
</location>
</component>
<component type="newpanel" idstart="77500" idfillbyfirst="y" idstepbyrow="7">
<location y="-0.8528865" x="2.712514" z="-0.82702925" name="bank62" rot="-146.582713547" axis-x="0" axis-y="1" axis-z="0">
<rot val="17.9671261438">
<rot val="89.4030134772" axis-x="0" axis-y="1" axis-z="0" />
</rot>
</location>
</component>
<component type="newpanel" idstart="78750" idfillbyfirst="y" idstepbyrow="7">
<location y="-0.4272105" x="2.79847725" z="-0.88288775" name="bank63" rot="-148.383732858" axis-x="0" axis-y="1" axis-z="0">
<rot val="9.22185439192">
<rot val="91.1308563978" axis-x="0" axis-y="1" axis-z="0" />
</rot>
</location>
</component>
<component type="newpanel" idstart="80000" idfillbyfirst="y" idstepbyrow="7">
<location y="0.00748275" x="2.828899" z="-0.90242275" name="bank64" rot="108.799412913" axis-x="0" axis-y="1" axis-z="0">
<rot val="0.0569836416513">
<rot val="-165.993053793" axis-x="0" axis-y="1" axis-z="0" />
</rot>
</location>
</component>
</type>
<type name="Group2">
<component type="newpanel" idstart="102500" idfillbyfirst="y" idstepbyrow="7">
<location y="-0.8558485" x="3.0537205" z="-0.10468375" name="bank82" rot="-161.904012086" axis-x="0" axis-y="1" axis-z="0">
<rot val="17.6252384943">
<rot val="89.6942916591" axis-x="0" axis-y="1" axis-z="0" />
</rot>
</location>
</component>
<component type="newpanel" idstart="103750" idfillbyfirst="y" idstepbyrow="7">
<location y="-0.42939225" x="3.1493595" z="-0.13501575" name="bank83" rot="-163.340948389" axis-x="0" axis-y="1" axis-z="0">
<rot val="8.55369996991">
<rot val="91.1418135283" axis-x="0" axis-y="1" axis-z="0" />
</rot>
</location>
</component>
<component type="newpanel" idstart="105000" idfillbyfirst="y" idstepbyrow="7">
<location y="0.00451375" x="3.18056775" z="-0.146255" name="bank84" rot="40.7808208691" axis-x="0" axis-y="1" axis-z="0">
<rot val="0.538456205076">
<rot val="-113.053338496" axis-x="0" axis-y="1" axis-z="0" />
</rot>
</location>
</component>
<component type="newpanel" idstart="127500" idfillbyfirst="y" idstepbyrow="7">
<location y="-0.8542655" x="3.20501425" z="0.67503775" name="bank102" rot="-175.535140796" axis-x="0" axis-y="1" axis-z="0">
<rot val="18.0335936329">
<rot val="89.8401918446" axis-x="0" axis-y="1" axis-z="0" />
</rot>
</location>
</component>
<component type="newpanel" idstart="128750" idfillbyfirst="y" idstepbyrow="7">
<location y="-0.42925475" x="3.3054665" z="0.66754325" name="bank103" rot="-175.144470196" axis-x="0" axis-y="1" axis-z="0">
<rot val="8.66518383119">
<rot val="89.2689936383" axis-x="0" axis-y="1" axis-z="0" />
</rot>
</location>
</component>
<component type="newpanel" idstart="130000" idfillbyfirst="y" idstepbyrow="7">
<location y="0.007599" x="3.33751625" z="0.6648235" name="bank104" rot="-113.68457904" axis-x="0" axis-y="1" axis-z="0">
<rot val="0.167277763298">
<rot val="28.1365103789" axis-x="0" axis-y="1" axis-z="0" />
</rot>
</location>
</component>
</type>
<type name="Group1">
<component type="newpanel" idstart="153750" idfillbyfirst="y" idstepbyrow="7">
<location y="-0.41684925" x="3.13195375" z="1.4719385" name="bank123" rot="156.14192879" axis-x="0" axis-y="1" axis-z="0">
<rot val="1.17950954524">
<rot val="106.687998159" axis-x="0" axis-y="1" axis-z="0" />
</rot>
</location>
</component>
<component type="newpanel" idstart="155000" idfillbyfirst="y" idstepbyrow="7">
<location y="-0.0002555" x="3.11856875" z="1.470097" name="bank124" rot="9.50570285173" axis-x="0" axis-y="1" axis-z="0">
<rot val="1.05448633747">
<rot val="-106.392449243" axis-x="0" axis-y="1" axis-z="0" />
</rot>
</location>
</component>
<component type="newpanel" idstart="178750" idfillbyfirst="y" idstepbyrow="7">
<location y="-0.41630125" x="2.93517925" z="2.24359225" name="bank143" rot="5.60722836636" axis-x="0" axis-y="1" axis-z="0">
<rot val="0.948492476447">
<rot val="-115.52362167" axis-x="0" axis-y="1" axis-z="0" />
</rot>
</location>
</component>
<component type="newpanel" idstart="180000" idfillbyfirst="y" idstepbyrow="7">
<location y="-0.00782325" x="2.92970325" z="2.243953" name="bank144" rot="3.1253576691" axis-x="0" axis-y="1" axis-z="0">
<rot val="0.831769102831">
<rot val="-112.833340135" axis-x="0" axis-y="1" axis-z="0" />
</rot>
</location>
</component>
<component type="newpanel" idstart="205000" idfillbyfirst="y" idstepbyrow="7">
<location y="-0.0123765" x="2.57491825" z="2.939976" name="bank164" rot="113.312995392" axis-x="0" axis-y="1" axis-z="0">
<rot val="0.754730823306">
<rot val="125.064855014" axis-x="0" axis-y="1" axis-z="0" />
</rot>
</location>
</component>
<component type="newpanel" idstart="230000" idfillbyfirst="y" idstepbyrow="7">
<location y="-0.0137955" x="2.078632" z="3.56727225" name="bank184" rot="-51.8691504375" axis-x="0" axis-y="1" axis-z="0">
<rot val="0.921881907377">
<rot val="-81.6233076038" axis-x="0" axis-y="1" axis-z="0" />
</rot>
</location>
</component>
</type>
<!-- New Detector Panel (7x154)-->
<type name="newpanel" is="rectangular_detector" type="newpixel"
xpixels="154" xstart="-0.3825" xstep="+0.005"
ypixels="7" ystart="-0.162857142857" ystep="+0.0542857142857" >
<properties/>
</type>
<!-- Shape for Monitors-->
<!-- TODO: Update to real shape -->
<type is="monitor" name="monitor">
<cylinder id="some-shape">
<centre-of-bottom-base p="0.0" r="0.0" t="0.0"/>
<axis y="0.0" x="0.0" z="1.0"/>
<radius val="0.01"/>
<height val="0.03"/>
</cylinder>
<algebra val="some-shape"/>
</type>
<!-- Pixel for Old Detectors (8x154)-->
<type is="detector" name="oldpixel">
<cuboid id="oldpixel-shape">
<left-front-bottom-point y="-0.02375" x="-0.0025" z="+0.0150.0"/>
<left-front-top-point y="0.02375" x="-0.0025" z="0.0"/>
<left-back-bottom-point y="-0.02375" x="-0.0025" z="0.0001"/>
<right-front-bottom-point y="-0.02375" x="0.0025" z="0.0"/>
</cuboid>
<algebra val="oldpixel-shape"/>
</type>
<!-- Pixel for New Detectors (7x154)-->
<type is="detector" name="newpixel">
<cuboid id="newpixel-shape">
<left-front-bottom-point y="-0.027143" x="-0.0025" z="0.0"/>
<left-front-top-point y="0.027143" x="-0.0025" z="0.0"/>
<left-back-bottom-point y="-0.027143" x="-0.0025" z="-0.0001"/>
<right-front-bottom-point y="-0.027143" x="0.0025" z="0.0"/>
</cuboid>
<algebra val="newpixel-shape"/>
</type>
<!--MONITOR IDs-->
<idlist idname="monitors">
<id val="-1"/>
</idlist>
</instrument>