Skip to content
Snippets Groups Projects
Commit 927e8aed authored by Zhou, Wenduo's avatar Zhou, Wenduo
Browse files

Added HB2A IDF file. Refs #10928.

On branch feature/10928_hb2a_idf
	new file:   HB2A_Definition.xml
parent ad482db0
No related branches found
No related tags found
No related merge requests found
<?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="HB2A" valid-from="1900-01-31 23:59:59" valid-to="2100-01-31 23:59:59" last-modified="2014-12-28 14:18:50">
<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 position -->
<component type="moderator">
<location z="-2.00000" />
</component>
<type name="moderator" 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" />
<!-- Detector list def -->
<idlist idname="detectors">
<id start="1" end="44" />
</idlist>
<component type="detectors" idlist="detectors">
<location />
</component>
<!-- Detector Banks -->
<type name="detectors">
<component type="bank_uniq">
<location>
<parameter name="r-position">
<value val="0"/>
</parameter>
<parameter name="t-position">
<logfile id="rotangle" eq="15.000000+value"/>
<!-- <value val="90"/> -->
</parameter>
<parameter name="p-position">
<value val="0"/>
</parameter>
<parameter name="rotx">
<value val="0"/>
</parameter>
<parameter name="roty">
<logfile id="rotangle" eq="0.0+value"/>
<!-- <value val="90"/> -->
</parameter>
<parameter name="rotz">
<value val="0"/>
</parameter>
</location>
</component>
</type>
<!-- Definition of the unique existent bank (made of tubes) -->
<type name="bank_uniq">
<component type="standard_tube">
<location r="2.000000" t="0.000000" name="tube_1" />
<location r="2.000000" t="2.642000" name="tube_2" />
<location r="2.000000" t="5.291000" name="tube_3" />
<location r="2.000000" t="8.049000" name="tube_4" />
<location r="2.000000" t="10.797000" name="tube_5" />
<location r="2.000000" t="13.507000" name="tube_6" />
<location r="2.000000" t="16.147000" name="tube_7" />
<location r="2.000000" t="18.835000" name="tube_8" />
<location r="2.000000" t="21.575000" name="tube_9" />
<location r="2.000000" t="24.258000" name="tube_10" />
<location r="2.000000" t="27.008000" name="tube_11" />
<location r="2.000000" t="29.636000" name="tube_12" />
<location r="2.000000" t="32.331000" name="tube_13" />
<location r="2.000000" t="34.980000" name="tube_14" />
<location r="2.000000" t="37.775000" name="tube_15" />
<location r="2.000000" t="40.424000" name="tube_16" />
<location r="2.000000" t="43.135000" name="tube_17" />
<location r="2.000000" t="45.865000" name="tube_18" />
<location r="2.000000" t="48.571000" name="tube_19" />
<location r="2.000000" t="51.236000" name="tube_20" />
<location r="2.000000" t="53.962000" name="tube_21" />
<location r="2.000000" t="56.649000" name="tube_22" />
<location r="2.000000" t="59.321000" name="tube_23" />
<location r="2.000000" t="62.026000" name="tube_24" />
<location r="2.000000" t="64.683000" name="tube_25" />
<location r="2.000000" t="67.382000" name="tube_26" />
<location r="2.000000" t="70.139000" name="tube_27" />
<location r="2.000000" t="72.794000" name="tube_28" />
<location r="2.000000" t="75.514000" name="tube_29" />
<location r="2.000000" t="78.223000" name="tube_30" />
<location r="2.000000" t="80.931000" name="tube_31" />
<location r="2.000000" t="83.571000" name="tube_32" />
<location r="2.000000" t="86.281000" name="tube_33" />
<location r="2.000000" t="88.931000" name="tube_34" />
<location r="2.000000" t="91.659000" name="tube_35" />
<location r="2.000000" t="94.324000" name="tube_36" />
<location r="2.000000" t="97.069000" name="tube_37" />
<location r="2.000000" t="99.779000" name="tube_38" />
<location r="2.000000" t="102.469000" name="tube_39" />
<location r="2.000000" t="105.149000" name="tube_40" />
<location r="2.000000" t="107.786000" name="tube_41" />
<location r="2.000000" t="110.511000" name="tube_42" />
<location r="2.000000" t="113.210000" name="tube_43" />
<location r="2.000000" t="115.835000" name="tube_44" />
</component>
</type>
<!-- Definition of standard_tube -->
<type name="standard_tube" outline="yes">
<component type="standard_pixel">
<location y="0.00" />
</component>
</type>
<type name="standard_pixel" is="detector">
<cylinder id="shape">
<centre-of-bottom-base x="0.0" y="0.0" z="0.0" />
<axis x="0.0" y="1.0" z="0.0" />
<radius val="0.00127" />
<height val=".0114341328125" />
</cylinder>
<algebra val="shape" />
</type>
</instrument>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment