Ticket #11010: DNS_Definition_PAonly_simplified.xml

File DNS_Definition_PAonly_simplified.xml, 2.3 KB (added by Anders Markvardsen, 6 years ago)
Line 
1<?xml version="1.0" encoding="utf-8"?>
2<!-- For help on the notation used to specify an Instrument Definition File see http://www.mantidproject.org/IDF -->
3<instrument name="DNS" valid-from="1900-01-31 23:59:59" valid-to="2100-01-31 23:59:59" last-modified="2015-01-22 09:17:17">
4  <!-- Author: m.ganeva@fz-juelich.de -->
5  <defaults>
6    <length unit="meter" />
7    <angle unit="degree" />
8    <reference-frame>
9      <!-- The z-axis is set parallel to and in the direction of the beam. the
10             y-axis points up and the coordinate system is right handed. -->
11      <along-beam axis="z" />
12      <pointing-up axis="y" />
13      <handedness val="right" />
14    </reference-frame>
15  </defaults>
16 
17  <component type="moderator">
18    <location z="-2.27" />
19  </component>
20  <type name="moderator" is="Source"></type>
21  <!-- Sample position -->
22  <component type="sample-position">
23    <location y="0.0" x="0.0" z="0.0" />
24  </component>
25  <type name="sample-position" is="SamplePos" />
26  <idlist idname="detectors">
27    <!--id start="1" end="24" -->
28    <id start="1" end="1" />
29  </idlist>
30  <!-- Detector list def -->
31  <component type="detectors" idlist="detectors">
32    <location />
33  </component>
34  <!-- Detector Banks -->
35  <type name="detectors">
36    <component type="bank0">
37      <location />
38    </component>
39  </type>
40  <!-- Definition of the PA detector bank (made of 24 tubes) -->
41  <type name="bank0">
42    <component type="standard_tube">
43      <location  />
44    </component>
45  </type>
46  <!-- Definition of standard_tube -->
47  <type name="standard_tube" outline="yes">
48  <!--<type name="standard_tube">-->
49    <component type="standard_pixel">
50      <location />
51    </component>
52  </type>
53 
54  <type name="standard_pixel" is="detector">
55    <cylinder id="shape">
56<!--      <centre-of-bottom-base x="0.0" y="-0.075" z="0.0" />
57      <axis x="0.0" y="1.0" z="0.0" />
58      <radius val="0.0127" />
59      <height val=".15" />
60    </cylinder>
61    -->
62
63  <centre-of-bottom-base r="0.0" t="0.0" p="0.0" />  <!-- here position specified using spherical coordinates -->
64  <axis x="0.0" y="0.0" z="1.0" />
65  <radius val="1" />
66  <height val="10.2" />
67</cylinder>   
68    <algebra val="shape" />
69
70   
71    </type>
72 
73
74 
75</instrument>