diff --git a/Code/Mantid/instrument/CNCS_Definition.xml b/Code/Mantid/instrument/CNCS_Definition.xml new file mode 100644 index 0000000000000000000000000000000000000000..121e749daa4bd3f81b51629d41ab06327f20fbfb --- /dev/null +++ b/Code/Mantid/instrument/CNCS_Definition.xml @@ -0,0 +1,729 @@ +<?xml version='1.0' encoding='ASCII'?> +<instrument valid-to="2100-01-31 23:59:59" name="CNCS" valid-from="2011-08-31 14:17:47.233794"> + <!--for runs after 35154--> + <defaults> + <length unit="metre"/> + <angle unit="degree"/> + <reference-frame> + <along-beam axis="z"/> + <pointing-up axis="y"/> + <handedness axis="right"/> + </reference-frame> + </defaults> + <!--SOURCE AND SAMPLE POSITION--> + <component type="moderator"> + <location z="-36.262"/> + </component> + <type is="Source" name="moderator"/> + <component type="sample-position"> + <location y="0.0" x="0.0" z="0.0"/> + </component> + <type is="SamplePos" name="sample-position"/> + <!--MONITORS--> + <component type="monitors" idlist="monitors"> + <location/> + </component> + <type name="monitors"> + <component mark-as="monitor" type="monitor"> + <location z="-29.949" name="monitor1"/> + <location z="-28.706" name="monitor2"/> + <location z="-1.426" name="monitor3"/> + </component> + </type> + <component type="detectors" idlist="detectors"> + <location/> + </component> + <type name="detectors"> + <component type="bank1"> + <location/> + </component> + <component type="bank2"> + <location/> + </component> + <component type="bank3"> + <location/> + </component> + <component type="bank4"> + <location/> + </component> + <component type="bank5"> + <location/> + </component> + <component type="bank6"> + <location/> + </component> + <component type="bank7"> + <location/> + </component> + <component type="bank8"> + <location/> + </component> + <component type="bank9"> + <location/> + </component> + <component type="bank10"> + <location/> + </component> + <component type="bank11"> + <location/> + </component> + <component type="bank12"> + <location/> + </component> + <component type="bank13"> + <location/> + </component> + <component type="bank14"> + <location/> + </component> + <component type="bank15"> + <location/> + </component> + <component type="bank16"> + <location/> + </component> + <component type="bank17"> + <location/> + </component> + <component type="bank18"> + <location/> + </component> + <component type="bank19"> + <location/> + </component> + <component type="bank20"> + <location/> + </component> + <component type="bank21"> + <location/> + </component> + <component type="bank22"> + <location/> + </component> + <component type="bank23"> + <location/> + </component> + <component type="bank24"> + <location/> + </component> + <component type="bank25"> + <location/> + </component> + <component type="bank26"> + <location/> + </component> + <component type="bank27"> + <location/> + </component> + <component type="bank28"> + <location/> + </component> + <component type="bank29"> + <location/> + </component> + <component type="bank30"> + <location/> + </component> + <component type="bank31"> + <location/> + </component> + <component type="bank32"> + <location/> + </component> + <component type="bank33"> + <location/> + </component> + <component type="bank34"> + <location/> + </component> + <component type="bank35"> + <location/> + </component> + <component type="bank36"> + <location/> + </component> + <component type="bank37"> + <location/> + </component> + <component type="bank38"> + <location/> + </component> + <component type="bank39"> + <location/> + </component> + <component type="bank40"> + <location/> + </component> + <component type="bank41"> + <location/> + </component> + <component type="bank42"> + <location/> + </component> + <component type="bank43"> + <location/> + </component> + <component type="bank44"> + <location/> + </component> + <component type="bank45"> + <location/> + </component> + <component type="bank46"> + <location/> + </component> + <component type="bank47"> + <location/> + </component> + <component type="bank48"> + <location/> + </component> + <component type="bank49"> + <location/> + </component> + <component type="bank50"> + <location/> + </component> + </type> + <type name="bank1"> + <component type="eightpack"> + <location y="2.6410451" x="0.0" z="131.035"> + <rot axis-z="0" axis-x="0" axis-y="1" val="177.7013402"/> + </location> + </component> + </type> + <type name="bank2"> + <component type="eightpack"> + <location y="2.7821302" x="0.0" z="127.445"> + <rot axis-z="0" axis-x="0" axis-y="1" val="177.8694365"/> + </location> + </component> + </type> + <type name="bank3"> + <component type="eightpack"> + <location y="2.9088881" x="0.0" z="123.855"> + <rot axis-z="0" axis-x="0" axis-y="1" val="178.0486226"/> + </location> + </component> + </type> + <type name="bank4"> + <component type="eightpack"> + <location y="3.0250821" x="0.0" z="120.265"> + <rot axis-z="0" axis-x="0" axis-y="1" val="178.2347629"/> + </location> + </component> + </type> + <type name="bank5"> + <component type="eightpack"> + <location y="3.1256554" x="0.0" z="116.675"> + <rot axis-z="0" axis-x="0" axis-y="1" val="178.4296674"/> + </location> + </component> + </type> + <type name="bank6"> + <component type="eightpack"> + <location y="3.2140048" x="0.0" z="113.085"> + <rot axis-z="0" axis-x="0" axis-y="1" val="178.6301053"/> + </location> + </component> + </type> + <type name="bank7"> + <component type="eightpack"> + <location y="3.2919261" x="0.0" z="109.495"> + <rot axis-z="0" axis-x="0" axis-y="1" val="178.8345909"/> + </location> + </component> + </type> + <type name="bank8"> + <component type="eightpack"> + <location y="3.3598924" x="0.0" z="105.905"> + <rot axis-z="0" axis-x="0" axis-y="1" val="179.04259253"/> + </location> + </component> + </type> + <type name="bank9"> + <component type="eightpack"> + <location y="3.4141438" x="0.0" z="102.315"> + <rot axis-z="0" axis-x="0" axis-y="1" val="179.25465971"/> + </location> + </component> + </type> + <type name="bank10"> + <component type="eightpack"> + <location y="3.45192" x="0.0" z="98.724998"> + <rot axis-z="0" axis-x="0" axis-y="1" val="179.47024053"/> + </location> + </component> + </type> + <type name="bank11"> + <component type="eightpack"> + <location y="3.4793224" x="0.0" z="95.135002"> + <rot axis-z="0" axis-x="0" axis-y="1" val="179.68733618"/> + </location> + </component> + </type> + <type name="bank12"> + <component type="eightpack"> + <location y="3.50038" x="0.0" z="91.544998"> + <rot axis-z="0" axis-x="0" axis-y="1" val="179.905588299"/> + </location> + </component> + </type> + <type name="bank13"> + <component type="eightpack"> + <location y="3.4995728" x="0.0" z="87.955002"> + <rot axis-z="0" axis-x="0" axis-y="1" val="180.12495965"/> + </location> + </component> + </type> + <type name="bank14"> + <component type="eightpack"> + <location y="3.4847367" x="0.0" z="84.364998"> + <rot axis-z="0" axis-x="0" axis-y="1" val="180.34383085"/> + </location> + </component> + </type> + <type name="bank15"> + <component type="eightpack"> + <location y="3.4534116" x="0.0" z="80.775002"> + <rot axis-z="0" axis-x="0" axis-y="1" val="180.56087703"/> + </location> + </component> + </type> + <type name="bank16"> + <component type="eightpack"> + <location y="3.4112184" x="0.0" z="77.184998"> + <rot axis-z="0" axis-x="0" axis-y="1" val="180.77594918"/> + </location> + </component> + </type> + <type name="bank17"> + <component type="eightpack"> + <location y="3.3555591" x="0.0" z="73.595001"> + <rot axis-z="0" axis-x="0" axis-y="1" val="180.98791289"/> + </location> + </component> + </type> + <type name="bank18"> + <component type="eightpack"> + <location y="3.290036" x="0.0" z="70.004997"> + <rot axis-z="0" axis-x="0" axis-y="1" val="181.1971502"/> + </location> + </component> + </type> + <type name="bank19"> + <component type="eightpack"> + <location y="3.2093821" x="0.0" z="66.415001"> + <rot axis-z="0" axis-x="0" axis-y="1" val="181.401144"/> + </location> + </component> + </type> + <type name="bank20"> + <component type="eightpack"> + <location y="3.1096022" x="0.0" z="62.825001"> + <rot axis-z="0" axis-x="0" axis-y="1" val="181.5964036"/> + </location> + </component> + </type> + <type name="bank21"> + <component type="eightpack"> + <location y="3.0007017" x="0.0" z="59.235001"> + <rot axis-z="0" axis-x="0" axis-y="1" val="181.7862937"/> + </location> + </component> + </type> + <type name="bank22"> + <component type="eightpack"> + <location y="2.8855627" x="0.0" z="55.645"> + <rot axis-z="0" axis-x="0" axis-y="1" val="181.972459"/> + </location> + </component> + </type> + <type name="bank23"> + <component type="eightpack"> + <location y="2.7585144" x="0.0" z="52.055"> + <rot axis-z="0" axis-x="0" axis-y="1" val="182.1509264"/> + </location> + </component> + </type> + <type name="bank24"> + <component type="eightpack"> + <location y="2.6161082" x="0.0" z="48.465"> + <rot axis-z="0" axis-x="0" axis-y="1" val="182.3173873"/> + </location> + </component> + </type> + <type name="bank25"> + <component type="eightpack"> + <location y="2.465589" x="0.0" z="44.875"> + <rot axis-z="0" axis-x="0" axis-y="1" val="182.4763708"/> + </location> + </component> + </type> + <type name="bank26"> + <component type="eightpack"> + <location y="2.3058538" x="0.0" z="41.285"> + <rot axis-z="0" axis-x="0" axis-y="1" val="182.6260846"/> + </location> + </component> + </type> + <type name="bank27"> + <component type="eightpack"> + <location y="2.1376679" x="0.0" z="37.695"> + <rot axis-z="0" axis-x="0" axis-y="1" val="182.7663181"/> + </location> + </component> + </type> + <type name="bank28"> + <component type="eightpack"> + <location y="1.9625739" x="0.0" z="34.105"> + <rot axis-z="0" axis-x="0" axis-y="1" val="182.8981647"/> + </location> + </component> + </type> + <type name="bank29"> + <component type="eightpack"> + <location y="1.7761558" x="0.0" z="30.514999"> + <rot axis-z="0" axis-x="0" axis-y="1" val="183.01351"/> + </location> + </component> + </type> + <type name="bank30"> + <component type="eightpack"> + <location y="1.5830072" x="0.0" z="26.924999"> + <rot axis-z="0" axis-x="0" axis-y="1" val="183.1169064"/> + </location> + </component> + </type> + <type name="bank31"> + <component type="eightpack"> + <location y="1.386438" x="0.0" z="23.334999"> + <rot axis-z="0" axis-x="0" axis-y="1" val="183.2138677"/> + </location> + </component> + </type> + <type name="bank32"> + <component type="eightpack"> + <location y="1.1804502" x="0.0" z="19.745001"> + <rot axis-z="0" axis-x="0" axis-y="1" val="183.2887285"/> + </location> + </component> + </type> + <type name="bank33"> + <component type="eightpack"> + <location y="0.97322243" x="0.0" z="16.155001"> + <rot axis-z="0" axis-x="0" axis-y="1" val="183.3597002"/> + </location> + </component> + </type> + <type name="bank34"> + <component type="eightpack"> + <location y="0.76074213" x="0.0" z="12.565"> + <rot axis-z="0" axis-x="0" axis-y="1" val="183.413157"/> + </location> + </component> + </type> + <type name="bank35"> + <component type="eightpack"> + <location y="0.54531002" x="0.0" z="8.9750004"> + <rot axis-z="0" axis-x="0" axis-y="1" val="183.4527016"/> + </location> + </component> + </type> + <type name="bank36"> + <component type="eightpack"> + <location y="0.32854658" x="0.0" z="5.3850002"> + <rot axis-z="0" axis-x="0" axis-y="1" val="183.4853985"/> + </location> + </component> + </type> + <type name="bank37"> + <component type="eightpack"> + <location y="-0.32842949" x="0.0" z="-5.3850002"> + <rot axis-z="0" axis-x="0" axis-y="1" val="183.4841566"/> + </location> + </component> + </type> + <type name="bank38"> + <component type="eightpack"> + <location y="-0.54453045" x="0.0" z="-8.9750004"> + <rot axis-z="0" axis-x="0" axis-y="1" val="183.4477658"/> + </location> + </component> + </type> + <type name="bank39"> + <component type="eightpack"> + <location y="-0.75960499" x="0.0" z="-12.565"> + <rot axis-z="0" axis-x="0" axis-y="1" val="183.4080551"/> + </location> + </component> + </type> + <type name="bank40"> + <component type="eightpack"> + <location y="-0.97227627" x="0.0" z="-16.155001"> + <rot axis-z="0" axis-x="0" axis-y="1" val="183.3564339"/> + </location> + </component> + </type> + <type name="bank41"> + <component type="eightpack"> + <location y="-1.1807525" x="0.0" z="-19.745001"> + <rot axis-z="0" axis-x="0" axis-y="1" val="183.2895706"/> + </location> + </component> + </type> + <type name="bank42"> + <component type="eightpack"> + <location y="-1.3834515" x="0.0" z="-23.334999"> + <rot axis-z="0" axis-x="0" axis-y="1" val="183.2069447"/> + </location> + </component> + </type> + <type name="bank43"> + <component type="eightpack"> + <location y="-1.5801291" x="0.0" z="-26.924999"> + <rot axis-z="0" axis-x="0" axis-y="1" val="183.1112394"/> + </location> + </component> + </type> + <type name="bank44"> + <component type="eightpack"> + <location y="-1.7674783" x="0.0" z="-30.514999"> + <rot axis-z="0" axis-x="0" axis-y="1" val="182.9987874"/> + </location> + </component> + </type> + <type name="bank45"> + <component type="eightpack"> + <location y="-1.9479059" x="0.0" z="-34.105"> + <rot axis-z="0" axis-x="0" axis-y="1" val="182.8765042"/> + </location> + </component> + </type> + <type name="bank46"> + <component type="eightpack"> + <location y="-2.121145" x="0.0" z="-37.695"> + <rot axis-z="0" axis-x="0" axis-y="1" val="182.7449362"/> + </location> + </component> + </type> + <type name="bank47"> + <component type="eightpack"> + <location y="-2.2870004" x="0.0" z="-41.285"> + <rot axis-z="0" axis-x="0" axis-y="1" val="182.6046128"/> + </location> + </component> + </type> + <type name="bank48"> + <component type="eightpack"> + <location y="-2.4434412" x="0.0" z="-44.875"> + <rot axis-z="0" axis-x="0" axis-y="1" val="182.4541261"/> + </location> + </component> + </type> + <type name="bank49"> + <component type="eightpack"> + <location y="-2.597842" x="0.0" z="-48.465"> + <rot axis-z="0" axis-x="0" axis-y="1" val="182.3012071"/> + </location> + </component> + </type> + <type name="bank50"> + <component type="eightpack"> + <location y="-2.7406297" x="0.0" z="-52.055"> + <rot axis-z="0" axis-x="0" axis-y="1" val="182.136981"/> + </location> + </component> + </type> + <!--STANDARD 8-PACK--> + <type name="eightpack"> + <properties/> + <component type="tube"> + <location x="-0.096012" name="tube1"/> + <location x="-0.06858" name="tube2"/> + <location x="-0.041148" name="tube3"/> + <location x="-0.013716" name="tube4"/> + <location x="0.013716" name="tube5"/> + <location x="0.041148" name="tube6"/> + <location x="0.06858" name="tube7"/> + <location x="0.096012" name="tube8"/> + </component> + </type> + <!--STANDARD 2m 128 PIXEL TUBE--> + <type name="tube" outline="yes"> + <properties/> + <component type="pixel"> + <location y="-0.9921875" name="pixel1"/> + <location y="-0.9765625" name="pixel2"/> + <location y="-0.9609375" name="pixel3"/> + <location y="-0.9453125" name="pixel4"/> + <location y="-0.9296875" name="pixel5"/> + <location y="-0.9140625" name="pixel6"/> + <location y="-0.8984375" name="pixel7"/> + <location y="-0.8828125" name="pixel8"/> + <location y="-0.8671875" name="pixel9"/> + <location y="-0.8515625" name="pixel10"/> + <location y="-0.8359375" name="pixel11"/> + <location y="-0.8203125" name="pixel12"/> + <location y="-0.8046875" name="pixel13"/> + <location y="-0.7890625" name="pixel14"/> + <location y="-0.7734375" name="pixel15"/> + <location y="-0.7578125" name="pixel16"/> + <location y="-0.7421875" name="pixel17"/> + <location y="-0.7265625" name="pixel18"/> + <location y="-0.7109375" name="pixel19"/> + <location y="-0.6953125" name="pixel20"/> + <location y="-0.6796875" name="pixel21"/> + <location y="-0.6640625" name="pixel22"/> + <location y="-0.6484375" name="pixel23"/> + <location y="-0.6328125" name="pixel24"/> + <location y="-0.6171875" name="pixel25"/> + <location y="-0.6015625" name="pixel26"/> + <location y="-0.5859375" name="pixel27"/> + <location y="-0.5703125" name="pixel28"/> + <location y="-0.5546875" name="pixel29"/> + <location y="-0.5390625" name="pixel30"/> + <location y="-0.5234375" name="pixel31"/> + <location y="-0.5078125" name="pixel32"/> + <location y="-0.4921875" name="pixel33"/> + <location y="-0.4765625" name="pixel34"/> + <location y="-0.4609375" name="pixel35"/> + <location y="-0.4453125" name="pixel36"/> + <location y="-0.4296875" name="pixel37"/> + <location y="-0.4140625" name="pixel38"/> + <location y="-0.3984375" name="pixel39"/> + <location y="-0.3828125" name="pixel40"/> + <location y="-0.3671875" name="pixel41"/> + <location y="-0.3515625" name="pixel42"/> + <location y="-0.3359375" name="pixel43"/> + <location y="-0.3203125" name="pixel44"/> + <location y="-0.3046875" name="pixel45"/> + <location y="-0.2890625" name="pixel46"/> + <location y="-0.2734375" name="pixel47"/> + <location y="-0.2578125" name="pixel48"/> + <location y="-0.2421875" name="pixel49"/> + <location y="-0.2265625" name="pixel50"/> + <location y="-0.2109375" name="pixel51"/> + <location y="-0.1953125" name="pixel52"/> + <location y="-0.1796875" name="pixel53"/> + <location y="-0.1640625" name="pixel54"/> + <location y="-0.1484375" name="pixel55"/> + <location y="-0.1328125" name="pixel56"/> + <location y="-0.1171875" name="pixel57"/> + <location y="-0.1015625" name="pixel58"/> + <location y="-0.0859375" name="pixel59"/> + <location y="-0.0703125" name="pixel60"/> + <location y="-0.0546875" name="pixel61"/> + <location y="-0.0390625" name="pixel62"/> + <location y="-0.0234375" name="pixel63"/> + <location y="-0.0078125" name="pixel64"/> + <location y="0.0078125" name="pixel65"/> + <location y="0.0234375" name="pixel66"/> + <location y="0.0390625" name="pixel67"/> + <location y="0.0546875" name="pixel68"/> + <location y="0.0703125" name="pixel69"/> + <location y="0.0859375" name="pixel70"/> + <location y="0.1015625" name="pixel71"/> + <location y="0.1171875" name="pixel72"/> + <location y="0.1328125" name="pixel73"/> + <location y="0.1484375" name="pixel74"/> + <location y="0.1640625" name="pixel75"/> + <location y="0.1796875" name="pixel76"/> + <location y="0.1953125" name="pixel77"/> + <location y="0.2109375" name="pixel78"/> + <location y="0.2265625" name="pixel79"/> + <location y="0.2421875" name="pixel80"/> + <location y="0.2578125" name="pixel81"/> + <location y="0.2734375" name="pixel82"/> + <location y="0.2890625" name="pixel83"/> + <location y="0.3046875" name="pixel84"/> + <location y="0.3203125" name="pixel85"/> + <location y="0.3359375" name="pixel86"/> + <location y="0.3515625" name="pixel87"/> + <location y="0.3671875" name="pixel88"/> + <location y="0.3828125" name="pixel89"/> + <location y="0.3984375" name="pixel90"/> + <location y="0.4140625" name="pixel91"/> + <location y="0.4296875" name="pixel92"/> + <location y="0.4453125" name="pixel93"/> + <location y="0.4609375" name="pixel94"/> + <location y="0.4765625" name="pixel95"/> + <location y="0.4921875" name="pixel96"/> + <location y="0.5078125" name="pixel97"/> + <location y="0.5234375" name="pixel98"/> + <location y="0.5390625" name="pixel99"/> + <location y="0.5546875" name="pixel100"/> + <location y="0.5703125" name="pixel101"/> + <location y="0.5859375" name="pixel102"/> + <location y="0.6015625" name="pixel103"/> + <location y="0.6171875" name="pixel104"/> + <location y="0.6328125" name="pixel105"/> + <location y="0.6484375" name="pixel106"/> + <location y="0.6640625" name="pixel107"/> + <location y="0.6796875" name="pixel108"/> + <location y="0.6953125" name="pixel109"/> + <location y="0.7109375" name="pixel110"/> + <location y="0.7265625" name="pixel111"/> + <location y="0.7421875" name="pixel112"/> + <location y="0.7578125" name="pixel113"/> + <location y="0.7734375" name="pixel114"/> + <location y="0.7890625" name="pixel115"/> + <location y="0.8046875" name="pixel116"/> + <location y="0.8203125" name="pixel117"/> + <location y="0.8359375" name="pixel118"/> + <location y="0.8515625" name="pixel119"/> + <location y="0.8671875" name="pixel120"/> + <location y="0.8828125" name="pixel121"/> + <location y="0.8984375" name="pixel122"/> + <location y="0.9140625" name="pixel123"/> + <location y="0.9296875" name="pixel124"/> + <location y="0.9453125" name="pixel125"/> + <location y="0.9609375" name="pixel126"/> + <location y="0.9765625" name="pixel127"/> + <location y="0.9921875" name="pixel128"/> + </component> + </type> + <!--PIXEL FOR STANDARD 2m 128 PIXEL TUBE--> + <type is="detector" name="pixel"> + <cylinder id="cyl-approx"> + <centre-of-bottom-base p="0.0" r="0.0" t="0.0"/> + <axis y="1.0" x="0.0" z="0.0"/> + <radius val="0.0127"/> + <height val="0.015625"/> + </cylinder> + <algebra val="cyl-approx"/> + </type> + <!--MONITOR SHAPE--> + <!--FIXME: Do something real here.--> + <type is="detector" 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 radius="0.01"/> + <height height="0.03"/> + </cylinder> + <algebra val="cyl-approx"/> + </type> + <!--DETECTOR IDs--> + <idlist idname="detectors"> + <id start="0" end="51199"/> + </idlist> + <!--MONITOR IDs--> + <idlist idname="monitors"> + <id val="-1"/> + <id val="-2"/> + <id val="-3"/> + </idlist> + <!--DETECTOR PARAMETERS--> + <component-link name="detectors"> + <parameter name="tube_pressure"> + <value units="atm" val="6.0"/> + </parameter> + <parameter name="tube_thickness"> + <value units="metre" val="0.0008"/> + </parameter> + <parameter name="tube_temperature"> + <value units="K" val="290.0"/> + </parameter> + </component-link> +</instrument>