forked from npshub/mantid
-
Notifications
You must be signed in to change notification settings - Fork 0
/
MUSR_Definition.xml
207 lines (178 loc) · 8.96 KB
/
MUSR_Definition.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
<?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="MUSR" valid-from ="1900-01-31 23:59:59"
valid-to ="2100-01-31 23:59:59"
last-modified="2010-08-27 00:00:00">
<defaults>
<length unit="meter"/>
<angle unit="degree"/>
<reference-frame>
<!-- The z-axis is set parallel to and in the direction of the beam. the
y-axis points up and the coordinate system is right handed. -->
<along-beam axis="z"/>
<pointing-up axis="y"/>
<handedness val="right"/>
</reference-frame>
</defaults>
<!-- Muon default grouping files -->
<parameter name="Default grouping file - Transverse" type="string">
<value val="Grouping/MUSR_Detector_Grouping_TF_64.xml"/>
</parameter>
<parameter name="Default grouping file - Longitudinal" type="string">
<value val="Grouping/MUSR_Detector_Grouping_LF_64.xml"/>
</parameter>
<!-- LIST OF PHYSICAL COMPONENTS (which the instrument consists of) -->
<!-- dummy components added for visualisation purposes.
To easy spot what geometry the instrument is in -->
<component type="along z">
<location />
</component>
<type name="along z">
<cylinder id="A">
<centre-of-bottom-base x="0.0" y="0.0" z="0.0" />
<axis x="0.0" y="0" z="1" />
<radius val="0.002" />
<height val="0.10" />
</cylinder>
</type>
<component type="along x">
<location />
</component>
<type name="along x">
<cylinder id="B">
<centre-of-bottom-base x="0.0" y="0.0" z="0.0" />
<axis x="1.0" y="0" z="0" />
<radius val="0.002" />
<height val="0.10" />
</cylinder>
</type>
<component type="along y">
<location />
</component>
<type name="along y">
<cylinder id="C">
<centre-of-bottom-base x="0.0" y="0.0" z="0.0" />
<axis x="0.0" y="1" z="0" />
<radius val="0.002" />
<height val="0.10" />
</cylinder>
</type>
<!-- source and sample-position components -->
<component type="source">
<location z="-10.0" />
</component>
<type name="source" is="Source" />
<component type="some-sample-holder">
<location />
</component>
<type name="some-sample-holder" is="SamplePos" />
<!-- detector components -->
<component type="both rings" idlist="both rings">
<location />
<!-- Here link orientation of instrument to horizontal or vertical in Nexus file-->
<parameter name="roty">
<logfile id="fromNexus" extract-single-value-as="position 1"/>
</parameter>
</component>
<type name="both rings" >
<component type="ring-front" >
<location z="-0.145" name="front" /> <!-- -0.06 - 0.17/2 = -0.145 -->
</component>
<component type="ring-back" >
<location z="0.145" name="back" />
</component>
</type>
<type name="ring-front">
<component type="pixel">
<location r="0.14" t="90" p="309.375000" rot="309.375000" name="det33"/>
<location r="0.14" t="90" p="298.125000" rot="298.125000" name="det34"/>
<location r="0.14" t="90" p="286.875000" rot="286.875000" name="det35"/>
<location r="0.14" t="90" p="275.625000" rot="275.625000" name="det36"/>
<location r="0.14" t="90" p="264.375000" rot="264.375000" name="det37"/>
<location r="0.14" t="90" p="253.125000" rot="253.125000" name="det38"/>
<location r="0.14" t="90" p="241.875000" rot="241.875000" name="det39"/>
<location r="0.14" t="90" p="230.625000" rot="230.625000" name="det40"/>
<location r="0.14" t="90" p="219.375000" rot="219.375000" name="det41"/>
<location r="0.14" t="90" p="208.125000" rot="208.125000" name="det42"/>
<location r="0.14" t="90" p="196.875000" rot="196.875000" name="det43"/>
<location r="0.14" t="90" p="185.625000" rot="185.625000" name="det44"/>
<location r="0.14" t="90" p="174.375000" rot="174.375000" name="det45"/>
<location r="0.14" t="90" p="163.125000" rot="163.125000" name="det46"/>
<location r="0.14" t="90" p="151.875000" rot="151.875000" name="det47"/>
<location r="0.14" t="90" p="140.625000" rot="140.625000" name="det48"/>
<location r="0.14" t="90" p="129.375000" rot="129.375000" name="det49"/>
<location r="0.14" t="90" p="118.125000" rot="118.125000" name="det50"/>
<location r="0.14" t="90" p="106.875000" rot="106.875000" name="det51"/>
<location r="0.14" t="90" p="95.625000" rot="95.625000" name="det52"/>
<location r="0.14" t="90" p="84.375000" rot="84.375000" name="det53"/>
<location r="0.14" t="90" p="73.125000" rot="73.125000" name="det54"/>
<location r="0.14" t="90" p="61.875000" rot="61.875000" name="det55"/>
<location r="0.14" t="90" p="50.625000" rot="50.625000" name="det56"/>
<location r="0.14" t="90" p="39.375000" rot="39.375000" name="det57"/>
<location r="0.14" t="90" p="28.125000" rot="28.125000" name="det58"/>
<location r="0.14" t="90" p="16.875000" rot="16.875000" name="det59"/>
<location r="0.14" t="90" p="5.625000" rot="5.625000" name="det60"/>
<location r="0.14" t="90" p="354.375000" rot="354.375000" name="det61"/>
<location r="0.14" t="90" p="343.125000" rot="343.125000" name="det62"/>
<location r="0.14" t="90" p="331.875000" rot="331.875000" name="det63"/>
<location r="0.14" t="90" p="320.625000" rot="320.625000" name="det64"/>
</component>
</type>
<type name="ring-back">
<component type="pixel">
<location r="0.14" t="90" p="230.625000" rot="230.625000" name="det1"/>
<location r="0.14" t="90" p="241.875000" rot="241.875000" name="det2"/>
<location r="0.14" t="90" p="253.125000" rot="253.125000" name="det3"/>
<location r="0.14" t="90" p="264.375000" rot="264.375000" name="det4"/>
<location r="0.14" t="90" p="275.625000" rot="275.625000" name="det5"/>
<location r="0.14" t="90" p="286.875000" rot="286.875000" name="det6"/>
<location r="0.14" t="90" p="298.125000" rot="298.125000" name="det7"/>
<location r="0.14" t="90" p="309.375000" rot="309.375000" name="det8"/>
<location r="0.14" t="90" p="320.625000" rot="320.625000" name="det9"/>
<location r="0.14" t="90" p="331.875000" rot="331.875000" name="det10"/>
<location r="0.14" t="90" p="343.125000" rot="343.125000" name="det11"/>
<location r="0.14" t="90" p="354.375000" rot="354.375000" name="det12"/>
<location r="0.14" t="90" p="5.625000" rot="5.625000" name="det13"/>
<location r="0.14" t="90" p="16.875000" rot="16.875000" name="det14"/>
<location r="0.14" t="90" p="28.125000" rot="28.125000" name="det15"/>
<location r="0.14" t="90" p="39.375000" rot="39.375000" name="det16"/>
<location r="0.14" t="90" p="50.625000" rot="50.625000" name="det17"/>
<location r="0.14" t="90" p="61.875000" rot="61.875000" name="det18"/>
<location r="0.14" t="90" p="73.125000" rot="73.125000" name="det19"/>
<location r="0.14" t="90" p="84.375000" rot="84.375000" name="det20"/>
<location r="0.14" t="90" p="95.625000" rot="95.625000" name="det21"/>
<location r="0.14" t="90" p="106.875000" rot="106.875000" name="det22"/>
<location r="0.14" t="90" p="118.125000" rot="118.125000" name="det23"/>
<location r="0.14" t="90" p="129.375000" rot="129.375000" name="det24"/>
<location r="0.14" t="90" p="140.625000" rot="140.625000" name="det25"/>
<location r="0.14" t="90" p="151.875000" rot="151.875000" name="det26"/>
<location r="0.14" t="90" p="163.125000" rot="163.125000" name="det27"/>
<location r="0.14" t="90" p="174.375000" rot="174.375000" name="det28"/>
<location r="0.14" t="90" p="185.625000" rot="185.625000" name="det29"/>
<location r="0.14" t="90" p="196.875000" rot="196.875000" name="det30"/>
<location r="0.14" t="90" p="208.125000" rot="208.125000" name="det31"/>
<location r="0.14" t="90" p="219.375000" rot="219.375000" name="det32"/>
</component>
</type>
<type name="pixel" is="detector">
<!-- It is implicitely assumed here that the front y-z plane (looking down
the x-axis) is the surface that see the neutron beam. This surface is
5cm along y and 17cm along z and the dept along x is 1cm. -->
<cuboid id="shape">
<left-front-bottom-point x="0.0" y="-0.0125" z="-0.085" />
<left-front-top-point x="0.0" y="0.0125" z="-0.085" />
<left-back-bottom-point x="0.01" y="-0.0125" z="-0.085" />
<right-front-bottom-point x="0.0" y="-0.0125" z="0.085" />
</cuboid>
<algebra val="shape" />
</type>
<!-- DETECTOR ID LISTS -->
<idlist idname="both rings">
<id start="33" end="64" />
<id start="1" end="32" />
</idlist>
</instrument>