Skip to content
Snippets Groups Projects
D17_Definition.xml 2.88 KiB
Newer Older
<?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="D17" valid-from="1900-01-31 23:59:59"
valid-to="2100-01-31 23:59:59" last-modified="2014-05-26 14:06:31">
  <!-- Author: ricardo.leal@ill.fr -->
  <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>
  <!-- Source -->
  <component type="chopper1">
    <location z="-4.16610003" />
  </component>
  <type name="chopper1" is="Source"></type>
  <!-- Sample position -->
  <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="0.0181" name="monitor1" />
      <location z="-0.5" name="monitor2" />
    </component>
  </type>
  <!--MONITOR SHAPE-->
  <!--FIXME: Do something real here.-->
  <type is="monitor" name="monitor">
    <cylinder id="cyl-approx">
      <centre-of-bottom-base y="0.0" x="0.0" z="0.0" />
      <axis y="0.0" x="0.0" z="1.0" />
      <radius val="0.01" />
      <height val="0.03" />
    </cylinder>
    <algebra val="cyl-approx" />
  </type>
  <!--MONITOR IDs-->
  <idlist idname="monitors">
    <id start="0" end="1" />
  </idlist>
  <component type="detectors">
    <location />
  </component>
  <!-- Detector Panels -->
  <type name="detectors">
    <component type="uniq_detector" idstart="257" idfillbyfirst="x" idstep="-1" idstepbyrow="256" name="uniq_detector">
      <location z="1.000" />
    </component>
  </type>
  <!-- Definition of the detector -->
  <type name="uniq_detector" is="rectangular_detector" type="pixel"
       xpixels="256" xstart="-0.153600" xstep="0.001200"
       ypixels="1"   ystart="-0.003350" ystep="0.006700">
    <properties />
  </type>
  <!-- Pixel size = tubePixelSize * tubeWidth-->
  <type is="detector" name="pixel">
    <cuboid id="pixel-shape">
      <left-front-bottom-point y="-0.005700" x="-0.000900" z="0.0" />
      <left-front-top-point y="0.005700" x="-0.000900" z="0.0" />
      <left-back-bottom-point y="-0.005700" x="-0.000900" z="-0.0001" />
      <right-front-bottom-point y="-0.005700" x="0.000900" z="0.0" />
    </cuboid>
    <algebra val="pixel-shape" />
  </type>
</instrument>