Ticket #5663: SXD_Definition4.xml

File SXD_Definition4.xml, 7.0 KB (added by Owen Arnold, 8 years ago)
Line 
1<?xml version='1.0' encoding='UTF-8'?>
2<!-- For help on the notation used to specify an Instrument Definition File
3     see http://www.mantidproject.org/IDF -->
4<instrument name="SXD" valid-from   ="2011-01-01 00:00:01"
5                         last-modified="2011-02-01 02h:00:00">
6
7  <!--DEFAULTS-->
8  <defaults>
9    <length unit="metre"/>
10    <angle unit="degree"/>
11    <reference-frame>
12      <along-beam axis="z"/>
13      <pointing-up axis="y"/>
14      <handedness axis="right"/>
15    </reference-frame>
16  </defaults>
17
18  <!--SOURCE-->
19  <component type="moderator">
20    <location z="-8.3"/>
21  </component>
22  <type name="moderator" is="Source"/>
23
24  <!--SAMPLE-->
25  <component type="sample-position">
26    <location y="0.0" x="0.0" z="0.0"/>
27  </component>
28  <type name="sample-position" is="SamplePos"/>
29
30
31  <!--MONITORS-->
32  <component type="monitors" idlist="monitors">
33    <location/>
34  </component>
35  <type name="monitors">
36    <component type="monitor" mark-as="monitor">
37      <location z="-1.3" name="monitor1"/>
38    </component>
39  </type>
40
41<component type="panel1346" idstart="1" idfillbyfirst="y" idstepbyrow="64">
42<location x="0.1369713215" y="0.000" z="-0.1785045016" name="bank1" >
43  <rot val="142.50000" axis-x="0" axis-y="1" axis-z="0">
44    <rot val="0.00000" axis-x="1" axis-y="0" axis-z="0" />
45  </rot>
46</location>
47</component> 
48
49<component type="panel" idstart="4097" idfillbyfirst="y" idstepbyrow="64">
50<location x="0.225" y="0.000" z="0.0000" name="bank2" >
51  <rot val="-90.00000" axis-x="0" axis-y="1" axis-z="0">
52    <rot val="0.00000" axis-x="1" axis-y="0" axis-z="0" />
53  </rot>
54</location>
55</component> 
56
57<component type="panel1346" idstart="8193" idfillbyfirst="y" idstepbyrow="64">
58<location x="0.1369713215" y="0.000" z="0.1785045016" name="bank3" >
59  <rot val="37.50000" axis-x="0" axis-y="1" axis-z="0">
60    <rot val="0.00000" axis-x="1" axis-y="0" axis-z="0" />
61  </rot>
62</location>
63</component> 
64
65<component type="panel1346" idstart="12289" idfillbyfirst="y" idstepbyrow="64">
66<location x="-0.1369713215" y="0.000" z="0.1785045016" name="bank4" >
67  <rot val="-37.50000" axis-x="0" axis-y="1" axis-z="0">
68    <rot val="0.00000" axis-x="1" axis-y="0" axis-z="0" />
69  </rot>
70</location>
71</component> 
72
73<component type="panel" idstart="16385" idfillbyfirst="y" idstepbyrow="64">
74<location x="-0.225" y="0.000" z="0.0000" name="bank5" >
75  <rot val="90.00000" axis-x="0" axis-y="1" axis-z="0">
76    <rot val="0.00000" axis-x="1" axis-y="0" axis-z="0" />
77  </rot>
78</location>
79</component> 
80
81<component type="panel1346" idstart="20481" idfillbyfirst="y" idstepbyrow="64">
82<location x="-0.1369713215" y="0.000" z="-0.1785045016" name="bank6">
83  <rot val="-142.50000" axis-x="0" axis-y="1" axis-z="0">
84    <rot val="0.00000" axis-x="1" axis-y="0" axis-z="0" />
85  </rot>
86</location>
87</component> 
88
89<component type="panel" idstart="24577" idfillbyfirst="x" idstepbyrow="64">
90<location x="0.190919" y="-0.190919" z="0.000" name="bank7">
91  <rot val="90.00000" axis-x="0" axis-y="1" axis-z="0">
92    <rot val="45.00000" axis-x="1" axis-y="0" axis-z="0" />
93  </rot>
94</location>
95</component> 
96
97<component type="panel" idstart="28673" idfillbyfirst="x" idstepbyrow="64">
98<location x="0.000" y="-0.190919" z="0.190919" name="bank8">
99  <rot val="45.00000" axis-x="1" axis-y="0" axis-z="0" />
100</location>
101</component> 
102
103<component type="panel1346" idstart="32769" idfillbyfirst="x" idstepbyrow="64">
104<location x="-0.190919" y="-0.190919" z="0.000" name="bank9">
105  <rot val="90.00000" axis-x="0" axis-y="1" axis-z="0">
106    <rot val="-45.00000" axis-x="1" axis-y="0" axis-z="0" />
107 </rot>
108</location>
109</component> 
110
111<component type="panel1346" idstart="36865" idfillbyfirst="x" idstepbyrow="64">
112<location x="0.000" y="-0.190919" z="-0.190919" name="bank10">
113  <rot val="-45.00000" axis-x="1" axis-y="0" axis-z="0" />
114</location>
115</component> 
116
117<component type="panel11" idstart="40961" idfillbyfirst="x" idstepbyrow="64">
118<location x="0.000" y="-0.278" z="0.0000" name="bank11">
119  <rot val="90.00000" axis-x="1" axis-y="0" axis-z="0">
120    <rot val="0.00000" axis-x="1" axis-y="0" axis-z="0" />
121  </rot>
122</location>
123</component> 
124
125<!--
126<component type="panel" idstart="24601" idfillbyfirst="y" idstepbyrow="64">
127<location r="0.270" t="-90.00000" p="45.0000" name="bank7" rot="-90.0" axis-x="0" axis-y="1" axis-z="0">
128  <rot val="0.00000">
129    <rot val="45.00000" axis-x="1" axis-y="0" axis-z="0" />
130  </rot>
131</location>
132</component>
133
134<component type="panel" idstart="28701" idfillbyfirst="y" idstepbyrow="64">
135<location r="0.270" t="180.000" p="45.0000" name="bank8" rot="180.0" axis-x="0" axis-y="1" axis-z="0">
136  <rot val="0.00000">
137    <rot val="0.00000" axis-x="1" axis-y="0" axis-z="0" />
138  </rot>
139</location>
140</component>
141
142<component type="panel" idstart="32801" idfillbyfirst="y" idstepbyrow="64">
143<location r="0.270" t="90.00000" p="-45.0000" name="bank7" rot="-90.0" axis-x="0" axis-y="1" axis-z="0">
144  <rot val="0.00000">
145    <rot val="-45.00000" axis-x="1" axis-y="0" axis-z="0" />
146  </rot>
147</location>
148</component>
149
150<component type="panel" idstart="36901" idfillbyfirst="y" idstepbyrow="64">
151<location r="0.270" t="0.00000" p="0.0000" name="bank7" rot="0.0" axis-x="0" axis-y="1" axis-z="0">
152  <rot val="0.00000">
153    <rot val="45.00000" axis-x="1" axis-y="0" axis-z="0" />
154  </rot>
155</location>
156</component>
157
158-->
159
160<!-- List of all the bank names:
161bank1,bank2,bank3,bank4,bank5,bank6,bank7,bank8,bank9,bank10,bank11
162-->
163
164<!-- NOTE: This detector is the same as the SNAP detector -->
165<!-- Rectangular Detector Panel -->
166<type name="panel" is="rectangular_detector" type="pixel" 
167    xpixels="64" xstart="-0.0945" xstep="+0.003"
168    ypixels="64" ystart="-0.0945" ystep="+0.003" >
169  <properties/>
170</type>
171
172<type name="panel1346" is="rectangular_detector" type="pixel" 
173    xpixels="64" xstart="0.0975" xstep="-0.003"
174    ypixels="64" ystart="-0.0945" ystep="+0.003" >
175  <properties/>
176</type>
177
178<type name="panel11" is="rectangular_detector" type="pixel" 
179    xpixels="64" xstart="0.0975" xstep="-0.003"
180    ypixels="64" ystart="0.0975" ystep="-0.003" >
181  <properties/>
182</type>
183
184  <!-- Pixel for Detectors-->
185  <type is="detector" name="pixel">
186    <cuboid id="pixel-shape">
187      <left-front-bottom-point y="-0.0015" x="-0.0015" z="0.0015"/>
188      <left-front-top-point y="0.00015" x="-0.0015" z="0.0015"/>
189      <left-back-bottom-point y="-0.0015" x="-0.0015" z="-0.0015"/>
190      <right-front-bottom-point y="-0.0015" x="0.0015" z="0.0015"/>
191    </cuboid>
192    <algebra val="pixel-shape"/>
193  </type>
194
195   <!-- Shape for Monitors-->
196  <!-- TODO: Update to real shape -->
197  <type is="detector" name="monitor">
198    <cylinder id="some-shape">
199      <centre-of-bottom-base p="0.0" r="0.0" t="0.0"/>
200      <axis y="0.0" x="0.0" z="1.0"/>
201      <radius val="0.01"/>
202      <height val="0.03"/>
203    </cylinder>
204    <algebra val="some-shape"/>
205  </type>
206
207  <!--MONITOR IDs-->
208  <idlist idname="monitors">
209    <id val="45101"/>
210  </idlist>
211</instrument>
212