Skip to content
Snippets Groups Projects
INES_Definition.xml 4.24 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="INES" valid-from   ="1900-01-31 23:59:59"
                        valid-to     ="2100-01-31 23:59:59"
		        last-modified="2010-12-17 00:00:00">

<!-- First version generated by the ArielToMantidXML tool -->
<!-- Added additional monitors (A Scherillo) -->

<defaults>
  <length unit="meter" />
  <angle unit="degree" />
  <reference-frame>
    <along-beam axis="z" />
    <pointing-up axis="y" />
    <handedness val="right" />
  </reference-frame>
  <offsets spherical="delta" />
  <default-view view="cylindrical_y"/>
  <!-- Comment 'components-are-facing' out if you don't want the
  components defined in this file to face a position by default -->    
  <components-are-facing x="0.0" y="0.0" z="0.0" />  
</defaults>
<!--  source and sample-position components -->
<component type="undulator">
  <location z="-22.804" />
</component>
<component type="nickel-holder">
  <location />
</component>
<!--  DEFINITION OF TYPES -->
<!--  Source types -->
<type name="undulator" is="Source">
  <properties />
</type>
<!--  Sample-position types -->
<type name="nickel-holder" is="SamplePos">
  <properties />
</type>
<!-- LIST OF PHYSICAL COMPONENTS (which the instrument consists of) -->
<!-- detector components -->
<component type="monitors" idlist="monitors">
  <location />
</component>
<component type="bank" idlist="bank">
  <location  r="1" t="155.565" p="0" name="bank1A"> <facing val="none"/> </location>
  <location  r="1" t="137.565" p="0" name="bank2B"> <facing val="none"/> </location>
  <location  r="1" t="119.565" p="0" name="bank3C"> <facing val="none"/> </location>
  <location  r="1" t="101.565" p="0" name="bank4D"> <facing val="none"/> </location>
  <location  r="1" t="83.565" p="0" name="bank5E"> <facing val="none"/> </location>
  <location  r="1" t="65.565" p="0" name="bank6F"> <facing val="none"/> </location>
  <location  r="1" t="47.565" p="0" name="bank7G"> <facing val="none"/> </location>
  <location  r="1" t="29.565" p="0" name="bank8H"> <facing val="none"/> </location>
  <location  r="1" t="11.565" p="0" name="bank9I"> <facing val="none"/> </location>
</component>
<type name="monitors">
<component type="monitor" >
<location r="1.155" t="180" p="0" name="monitor_det"/>
<location r="1.215" t="0" p="0" name="monitor_transmission"/>
</component>
</type>
<type name="bank">
<properties />
<component type="tube">
  <location  r="0" t="15" p="0" name="Det1"/>
  <location  r="0" t="14" p="0" name="Det2"/>
  <location  r="0" t="13" p="0" name="Det3"/>
  <location  r="0" t="12" p="0" name="Det4"/>
  <location  r="0" t="11" p="0" name="Det5"/>
  <location  r="0" t="10" p="0" name="Det6"/>
  <location  r="0" t="9" p="0" name="Det7"/>
  <location  r="0" t="8" p="0" name="Det8"/>
  <location  r="0" t="7" p="0" name="Det9"/>
  <location  r="0" t="6" p="0" name="Det10"/>
  <location  r="0" t="5" p="0" name="Det11"/>
  <location  r="0" t="4" p="0" name="Det12"/>
  <location  r="0" t="3" p="0" name="Det13"/>
  <location  r="0" t="2" p="0" name="Det14"/>
  <location  r="0" t="1" p="0" name="Det15"/>
  <location  r="0" t="0" p="0" name="Det16"/>
</component>
</type>
<type name="monitor" is="monitor">
<properties/>
  <cylinder id="some-shape">
    <centre-of-bottom-base r="0.0" t="0.0" p="0.0" />
    <axis x="0.0" y="0.0" z="1.0" /> 
    <radius val="0.01" />
    <height val="0.03" />
  </cylinder> 
  <algebra val="some-shape" />    
</type>
<type name="tube" is="detector">
<properties />
  <cuboid id="tube-shape">
    <left-front-bottom-point x="0.007" y="-0.05" z="0.0"  />
    <left-front-top-point  x="0.007" y="-0.05" z="0.0001"  />
    <left-back-bottom-point  x="-0.007" y="-0.05" z="0.0"  />
    <right-front-bottom-point  x="0.007" y="0.05" z="0.0"  />
  </cuboid>
  <algebra val="tube-shape" />
</type>
<idlist idname="bank">
<id start="1" end="144"/>
</idlist>
<idlist idname="monitors">
<id start="145" end="145"/>
<id start="147" end="147"/>

</idlist>
</instrument>