forked from npshub/mantid
-
Notifications
You must be signed in to change notification settings - Fork 0
/
POWGEN_Definition_2010.xml
209 lines (198 loc) · 8.1 KB
/
POWGEN_Definition_2010.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
<?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 ="1900-01-31 23:59:59"
valid-to ="2011-02-24 23:59:59"
last-modified="2011-02-17 00: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 -->
<!--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="28750" idfillbyfirst="y" idstepbyrow="7">
<location y="-0.385" x="1.436" z="-1.805" name="bank23" rot="-179.993214815" axis-x="0" axis-y="1" axis-z="0">
<rot val="15.0040752894">
<rot val="156.396620553" axis-x="0" axis-y="1" axis-z="0" />
</rot>
</location>
</component>
</type>
<type name="Group3">
<component type="newpanel" idstart="53750" idfillbyfirst="y" idstepbyrow="7">
<location y="-0.41" x="2.149" z="-1.389" name="bank43" rot="-131.06415893" axis-x="0" axis-y="1" axis-z="0">
<rot val="8.96289083098">
<rot val="90.0148894136" axis-x="0" axis-y="1" axis-z="0" />
</rot>
</location>
</component>
<component type="newpanel" idstart="55000" idfillbyfirst="y" idstepbyrow="7">
<location y="0.000" x="2.149" z="-1.389" name="bank44" rot="-134.430609147" axis-x="0" axis-y="1" axis-z="0">
<rot val="0.325109706655">
<rot val="93.2883100365" axis-x="0" axis-y="1" axis-z="0" />
</rot>
</location>
</component>
<component type="newpanel" idstart="56250" idfillbyfirst="y" idstepbyrow="7">
<location y="0.41" x="2.149" z="-1.389" name="bank45" rot="48.9319576806" axis-x="0" axis-y="1" axis-z="0">
<rot val="9.01059926457">
<rot val="-90.1687807627" axis-x="0" axis-y="1" axis-z="0" />
</rot>
</location>
</component>
<component type="newpanel" idstart="57500" idfillbyfirst="y" idstepbyrow="7">
<location y="0.805" x="2.149" z="-1.389" name="bank46" rot="49.6104910127" axis-x="0" axis-y="1" axis-z="0">
<rot val="18.0719548119">
<rot val="-90.6889210196" axis-x="0" axis-y="1" axis-z="0" />
</rot>
</location>
</component>
<component type="newpanel" idstart="78750" idfillbyfirst="y" idstepbyrow="7">
<location y="-0.441" x="2.663" z="-0.797" name="bank63" rot="-148.119149446" axis-x="0" axis-y="1" axis-z="0">
<rot val="8.83835244803">
<rot val="90.600483762" axis-x="0" axis-y="1" axis-z="0" />
</rot>
</location>
</component>
<component type="newpanel" idstart="80000" idfillbyfirst="y" idstepbyrow="7">
<location y="0.000" x="2.663" z="-0.797" name="bank64" rot="46.0197583592" axis-x="0" axis-y="1" axis-z="0">
<rot val="0.130076112333">
<rot val="-103.481329975" axis-x="0" axis-y="1" axis-z="0" />
</rot>
</location>
</component>
<component type="newpanel" idstart="81250" idfillbyfirst="y" idstepbyrow="7">
<location y="0.441" x="2.663" z="-0.797" name="bank65" rot="32.0056457207" axis-x="0" axis-y="1" axis-z="0">
<rot val="8.86660662469">
<rot val="-89.4538911663" axis-x="0" axis-y="1" axis-z="0" />
</rot>
</location>
</component>
<component type="newpanel" idstart="82500" idfillbyfirst="y" idstepbyrow="7" >
<location y="0.87" x="2.517" z="-0.797" name="bank66" rot="33.2182189932" axis-x="0" axis-y="1" axis-z="0">
<rot val="18.1852583184">
<rot val="-90.5491498576" axis-x="0" axis-y="1" axis-z="0" />
</rot>
</location>
</component>
</type>
<type name="Group2">
<component type="newpanel" idstart="105000" idfillbyfirst="y" idstepbyrow="7">
<location y="0.0" x="3.0001" z="-0.0888" name="bank84" rot="-72.159350589" axis-x="0" axis-y="1" axis-z="0">
</location>
</component>
<component type="newpanel" idstart="106250" idfillbyfirst="y" idstepbyrow="7">
<location y="0.42405" x="2.970025" z="-0.0888" name="bank85" rot="0.135979510488" axis-x="0" axis-y="1" axis-z="0">
<rot val="8.12823990673">
<rot val="-72.302964466" axis-x="0" axis-y="1" axis-z="0" />
</rot>
</location>
</component>
<component type="newpanel" idstart="130000" idfillbyfirst="y" idstepbyrow="7">
<location y="0.0" x="3.15225" z="0.6822" name="bank104" rot="-85.6683092779" axis-x="0" axis-y="1" axis-z="0">
</location>
</component>
</type>
<type name="Group1">
<component type="newpanel" idstart="155000" idfillbyfirst="y" idstepbyrow="7">
<location y="0.0" x="3.12085" z="1.46755" name="bank124" rot="-98.9104319562" axis-x="0" axis-y="1" axis-z="0">
</location>
</component>
<component type="newpanel" idstart="180000" idfillbyfirst="y" idstepbyrow="7">
<location y="0.0" x="2.91625" z="2.22725" name="bank144" rot="-111.239736488" axis-x="0" axis-y="1" axis-z="0">
</location>
</component>
<component type="newpanel" idstart="205000" idfillbyfirst="y" idstepbyrow="7">
<location y="0.0" x="2.55875" z="2.92905" name="bank164" rot="-122.742283556" axis-x="0" axis-y="1" axis-z="0">
</location>
</component>
<component type="newpanel" idstart="230000" idfillbyfirst="y" idstepbyrow="7">
<location y="0.0" x="2.07155" z="3.54865" name="bank184" rot="-133.617518324" axis-x="0" axis-y="1" axis-z="0">
</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>