From c75086dd8aea8e90161637c9fcee9326990a19ce Mon Sep 17 00:00:00 2001
From: Andrei Savici <saviciat@ornl.gov>
Date: Fri, 12 Feb 2016 16:53:34 -0500
Subject: [PATCH] Refs #15305. New CNCS geometry

---
 instrument/CNCS_Definition.xml                | 102 +--
 .../CNCS_Definition_20150801-20160211.xml     | 729 ++++++++++++++++++
 2 files changed, 780 insertions(+), 51 deletions(-)
 create mode 100644 instrument/CNCS_Definition_20150801-20160211.xml

diff --git a/instrument/CNCS_Definition.xml b/instrument/CNCS_Definition.xml
index 51927d54be9..af82350682f 100644
--- a/instrument/CNCS_Definition.xml
+++ b/instrument/CNCS_Definition.xml
@@ -1,5 +1,5 @@
 <?xml version='1.0' encoding='ASCII'?>
-<instrument xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.mantidproject.org/IDF/1.0" last-modified="2015-08-17 14:50:39.469748" name="CNCS" valid-from="2015-08-01 00:00:00" valid-to="2100-01-31 23:59:59" xsi:schemaLocation="http://www.mantidproject.org/IDF/1.0 http://schema.mantidproject.org/IDF/1.0/IDFSchema.xsd">
+<instrument xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.mantidproject.org/IDF/1.0" last-modified="2016-02-12 16:44:43.011103" name="CNCS" valid-from="2016-02-12 00:00:00" valid-to="2100-01-31 23:59:59" xsi:schemaLocation="http://www.mantidproject.org/IDF/1.0 http://schema.mantidproject.org/IDF/1.0/IDFSchema.xsd">
   <!--Created by Michael Reuter-->
   <defaults>
     <length unit="metre"/>
@@ -187,350 +187,350 @@
   </type>
   <type name="bank1">
     <component type="eightpack">
-      <location x="2.63849" y="0.0" z="-2.29644">
+      <location x="2.64047" y="0.0" z="-2.29816">
         <rot axis-x="0" axis-y="1" axis-z="0" val="311.035"/>
       </location>
     </component>
   </type>
   <type name="bank2">
     <component type="eightpack">
-      <location x="2.77661" y="0.0" z="-2.12633">
+      <location x="2.77937" y="0.0" z="-2.12845">
         <rot axis-x="0" axis-y="1" axis-z="0" val="307.445"/>
       </location>
     </component>
   </type>
   <type name="bank3">
     <component type="eightpack">
-      <location x="2.90095" y="0.0" z="-1.94605">
+      <location x="2.90342" y="0.0" z="-1.94771">
         <rot axis-x="0" axis-y="1" axis-z="0" val="303.855"/>
       </location>
     </component>
   </type>
   <type name="bank4">
     <component type="eightpack">
-      <location x="3.02106" y="0.0" z="-1.76289">
+      <location x="3.02281" y="0.0" z="-1.76391">
         <rot axis-x="0" axis-y="1" axis-z="0" val="300.265"/>
       </location>
     </component>
   </type>
   <type name="bank5">
     <component type="eightpack">
-      <location x="3.12465" y="0.0" z="-1.56983">
+      <location x="3.12638" y="0.0" z="-1.5707">
         <rot axis-x="0" axis-y="1" axis-z="0" val="296.675"/>
       </location>
     </component>
   </type>
   <type name="bank6">
     <component type="eightpack">
-      <location x="3.2183" y="0.0" z="-1.37173">
+      <location x="3.22037" y="0.0" z="-1.37261">
         <rot axis-x="0" axis-y="1" axis-z="0" val="293.085"/>
       </location>
     </component>
   </type>
   <type name="bank7">
     <component type="eightpack">
-      <location x="3.29715" y="0.0" z="-1.16726">
+      <location x="3.2989" y="0.0" z="-1.16788">
         <rot axis-x="0" axis-y="1" axis-z="0" val="289.495"/>
       </location>
     </component>
   </type>
   <type name="bank8">
     <component type="eightpack">
-      <location x="3.36295" y="0.0" z="-0.95828">
+      <location x="3.36444" y="0.0" z="-0.9587">
         <rot axis-x="0" axis-y="1" axis-z="0" val="285.905"/>
       </location>
     </component>
   </type>
   <type name="bank9">
     <component type="eightpack">
-      <location x="3.41642" y="0.0" z="-0.74584">
+      <location x="3.41786" y="0.0" z="-0.74615">
         <rot axis-x="0" axis-y="1" axis-z="0" val="282.315"/>
       </location>
     </component>
   </type>
   <type name="bank10">
     <component type="eightpack">
-      <location x="3.45681" y="0.0" z="-0.53051">
+      <location x="3.45857" y="0.0" z="-0.53078">
         <rot axis-x="0" axis-y="1" axis-z="0" val="278.725"/>
       </location>
     </component>
   </type>
   <type name="bank11">
     <component type="eightpack">
-      <location x="3.47705" y="0.0" z="-0.31246">
+      <location x="3.47846" y="0.0" z="-0.31259">
         <rot axis-x="0" axis-y="1" axis-z="0" val="275.135"/>
       </location>
     </component>
   </type>
   <type name="bank12">
     <component type="eightpack">
-      <location x="3.49549" y="0.0" z="-0.09428">
+      <location x="3.4967" y="0.0" z="-0.09431">
         <rot axis-x="0" axis-y="1" axis-z="0" val="271.545"/>
       </location>
     </component>
   </type>
   <type name="bank13">
     <component type="eightpack">
-      <location x="3.49601" y="0.0" z="0.12483">
+      <location x="3.49724" y="0.0" z="0.12488">
         <rot axis-x="0" axis-y="1" axis-z="0" val="267.955"/>
       </location>
     </component>
   </type>
   <type name="bank14">
     <component type="eightpack">
-      <location x="3.48266" y="0.0" z="0.34363">
+      <location x="3.48337" y="0.0" z="0.3437">
         <rot axis-x="0" axis-y="1" axis-z="0" val="264.365"/>
       </location>
     </component>
   </type>
   <type name="bank15">
     <component type="eightpack">
-      <location x="3.45253" y="0.0" z="0.56073">
+      <location x="3.45338" y="0.0" z="0.56087">
         <rot axis-x="0" axis-y="1" axis-z="0" val="260.775"/>
       </location>
     </component>
   </type>
   <type name="bank16">
     <component type="eightpack">
-      <location x="3.41025" y="0.0" z="0.77573">
+      <location x="3.41094" y="0.0" z="0.77589">
         <rot axis-x="0" axis-y="1" axis-z="0" val="257.185"/>
       </location>
     </component>
   </type>
   <type name="bank17">
     <component type="eightpack">
-      <location x="3.35477" y="0.0" z="0.98768">
+      <location x="3.355" y="0.0" z="0.98775">
         <rot axis-x="0" axis-y="1" axis-z="0" val="253.595"/>
       </location>
     </component>
   </type>
   <type name="bank18">
     <component type="eightpack">
-      <location x="3.28769" y="0.0" z="1.1963">
+      <location x="3.28771" y="0.0" z="1.19631">
         <rot axis-x="0" axis-y="1" axis-z="0" val="250.005"/>
       </location>
     </component>
   </type>
   <type name="bank19">
     <component type="eightpack">
-      <location x="3.20685" y="0.0" z="1.40004">
+      <location x="3.20618" y="0.0" z="1.39975">
         <rot axis-x="0" axis-y="1" axis-z="0" val="246.415"/>
       </location>
     </component>
   </type>
   <type name="bank20">
     <component type="eightpack">
-      <location x="3.11124" y="0.0" z="1.59725">
+      <location x="3.11136" y="0.0" z="1.59731">
         <rot axis-x="0" axis-y="1" axis-z="0" val="242.825"/>
       </location>
     </component>
   </type>
   <type name="bank21">
     <component type="eightpack">
-      <location x="3.00392" y="0.0" z="1.78821">
+      <location x="3.00379" y="0.0" z="1.78813">
         <rot axis-x="0" axis-y="1" axis-z="0" val="239.235"/>
       </location>
     </component>
   </type>
   <type name="bank22">
     <component type="eightpack">
-      <location x="2.888" y="0.0" z="1.97413">
+      <location x="2.88802" y="0.0" z="1.97414">
         <rot axis-x="0" axis-y="1" axis-z="0" val="235.645"/>
       </location>
     </component>
   </type>
   <type name="bank23">
     <component type="eightpack">
-      <location x="2.75727" y="0.0" z="2.14996">
+      <location x="2.75717" y="0.0" z="2.14988">
         <rot axis-x="0" axis-y="1" axis-z="0" val="232.055"/>
       </location>
     </component>
   </type>
   <type name="bank24">
     <component type="eightpack">
-      <location x="2.61572" y="0.0" z="2.31704">
+      <location x="2.61698" y="0.0" z="2.31816">
         <rot axis-x="0" axis-y="1" axis-z="0" val="228.465"/>
       </location>
     </component>
   </type>
   <type name="bank25">
     <component type="eightpack">
-      <location x="2.46566" y="0.0" z="2.47644">
+      <location x="2.46621" y="0.0" z="2.477">
         <rot axis-x="0" axis-y="1" axis-z="0" val="224.875"/>
       </location>
     </component>
   </type>
   <type name="bank26">
     <component type="eightpack">
-      <location x="2.30853" y="0.0" z="2.62914">
+      <location x="2.30858" y="0.0" z="2.62918">
         <rot axis-x="0" axis-y="1" axis-z="0" val="221.285"/>
       </location>
     </component>
   </type>
   <type name="bank27">
     <component type="eightpack">
-      <location x="2.13857" y="0.0" z="2.76748">
+      <location x="2.13814" y="0.0" z="2.76693">
         <rot axis-x="0" axis-y="1" axis-z="0" val="217.695"/>
       </location>
     </component>
   </type>
   <type name="bank28">
     <component type="eightpack">
-      <location x="1.96178" y="0.0" z="2.89699">
+      <location x="1.96173" y="0.0" z="2.89692">
         <rot axis-x="0" axis-y="1" axis-z="0" val="214.105"/>
       </location>
     </component>
   </type>
   <type name="bank29">
     <component type="eightpack">
-      <location x="1.77444" y="0.0" z="3.0106">
+      <location x="1.77418" y="0.0" z="3.01016">
         <rot axis-x="0" axis-y="1" axis-z="0" val="210.515"/>
       </location>
     </component>
   </type>
   <type name="bank30">
     <component type="eightpack">
-      <location x="1.58334" y="0.0" z="3.11756">
+      <location x="1.58325" y="0.0" z="3.11738">
         <rot axis-x="0" axis-y="1" axis-z="0" val="206.925"/>
       </location>
     </component>
   </type>
   <type name="bank31">
     <component type="eightpack">
-      <location x="1.38489" y="0.0" z="3.21028">
+      <location x="1.38498" y="0.0" z="3.21048">
         <rot axis-x="0" axis-y="1" axis-z="0" val="203.335"/>
       </location>
     </component>
   </type>
   <type name="bank32">
     <component type="eightpack">
-      <location x="1.18075" y="0.0" z="3.28955">
+      <location x="1.18077" y="0.0" z="3.28963">
         <rot axis-x="0" axis-y="1" axis-z="0" val="199.745"/>
       </location>
     </component>
   </type>
   <type name="bank33">
     <component type="eightpack">
-      <location x="0.97224" y="0.0" z="3.35632">
+      <location x="0.97229" y="0.0" z="3.35648">
         <rot axis-x="0" axis-y="1" axis-z="0" val="196.155"/>
       </location>
     </component>
   </type>
   <type name="bank34">
     <component type="eightpack">
-      <location x="0.76027" y="0.0" z="3.41104">
+      <location x="0.7604" y="0.0" z="3.41162">
         <rot axis-x="0" axis-y="1" axis-z="0" val="192.565"/>
       </location>
     </component>
   </type>
   <type name="bank35">
     <component type="eightpack">
-      <location x="0.54487" y="0.0" z="3.44994">
+      <location x="0.54484" y="0.0" z="3.44972">
         <rot axis-x="0" axis-y="1" axis-z="0" val="188.975"/>
       </location>
     </component>
   </type>
   <type name="bank36">
     <component type="eightpack">
-      <location x="0.328" y="0.0" z="3.47956">
+      <location x="0.328" y="0.0" z="3.47958">
         <rot axis-x="0" axis-y="1" axis-z="0" val="185.385"/>
       </location>
     </component>
   </type>
   <type name="bank37">
     <component type="eightpack">
-      <location x="-0.32802" y="0.0" z="3.47979">
+      <location x="-0.32798" y="0.0" z="3.47939">
         <rot axis-x="0" axis-y="1" axis-z="0" val="174.615"/>
       </location>
     </component>
   </type>
   <type name="bank38">
     <component type="eightpack">
-      <location x="-0.54538" y="0.0" z="3.45312">
+      <location x="-0.54533" y="0.0" z="3.45286">
         <rot axis-x="0" axis-y="1" axis-z="0" val="171.025"/>
       </location>
     </component>
   </type>
   <type name="bank39">
     <component type="eightpack">
-      <location x="-0.76055" y="0.0" z="3.41229">
+      <location x="-0.76062" y="0.0" z="3.41263">
         <rot axis-x="0" axis-y="1" axis-z="0" val="167.435"/>
       </location>
     </component>
   </type>
   <type name="bank40">
     <component type="eightpack">
-      <location x="-0.97256" y="0.0" z="3.3574">
+      <location x="-0.97258" y="0.0" z="3.35747">
         <rot axis-x="0" axis-y="1" axis-z="0" val="163.845"/>
       </location>
     </component>
   </type>
   <type name="bank41">
     <component type="eightpack">
-      <location x="-1.18094" y="0.0" z="3.29009">
+      <location x="-1.18118" y="0.0" z="3.29077">
         <rot axis-x="0" axis-y="1" axis-z="0" val="160.255"/>
       </location>
     </component>
   </type>
   <type name="bank42">
     <component type="eightpack">
-      <location x="-1.38525" y="0.0" z="3.21111">
+      <location x="-1.38533" y="0.0" z="3.21131">
         <rot axis-x="0" axis-y="1" axis-z="0" val="156.665"/>
       </location>
     </component>
   </type>
   <type name="bank43">
     <component type="eightpack">
-      <location x="-1.58218" y="0.0" z="3.11528">
+      <location x="-1.58266" y="0.0" z="3.11622">
         <rot axis-x="0" axis-y="1" axis-z="0" val="153.075"/>
       </location>
     </component>
   </type>
   <type name="bank44">
     <component type="eightpack">
-      <location x="-1.77593" y="0.0" z="3.01313">
+      <location x="-1.77604" y="0.0" z="3.01331">
         <rot axis-x="0" axis-y="1" axis-z="0" val="149.485"/>
       </location>
     </component>
   </type>
   <type name="bank45">
     <component type="eightpack">
-      <location x="-1.9561" y="0.0" z="2.8886">
+      <location x="-1.96038" y="0.0" z="2.89492">
         <rot axis-x="0" axis-y="1" axis-z="0" val="145.895"/>
       </location>
     </component>
   </type>
   <type name="bank46">
     <component type="eightpack">
-      <location x="-2.12942" y="0.0" z="2.75565">
+      <location x="-2.13202" y="0.0" z="2.75901">
         <rot axis-x="0" axis-y="1" axis-z="0" val="142.305"/>
       </location>
     </component>
   </type>
   <type name="bank47">
     <component type="eightpack">
-      <location x="-2.29762" y="0.0" z="2.61671">
+      <location x="-2.29837" y="0.0" z="2.61756">
         <rot axis-x="0" axis-y="1" axis-z="0" val="138.715"/>
       </location>
     </component>
   </type>
   <type name="bank48">
     <component type="eightpack">
-      <location x="-2.45607" y="0.0" z="2.46681">
+      <location x="-2.45911" y="0.0" z="2.46986">
         <rot axis-x="0" axis-y="1" axis-z="0" val="135.125"/>
       </location>
     </component>
   </type>
   <type name="bank49">
     <component type="eightpack">
-      <location x="-2.59826" y="0.0" z="2.30157">
+      <location x="-2.59965" y="0.0" z="2.3028">
         <rot axis-x="0" axis-y="1" axis-z="0" val="131.535"/>
       </location>
     </component>
   </type>
   <type name="bank50">
     <component type="eightpack">
-      <location x="-2.74021" y="0.0" z="2.13666">
+      <location x="-2.74212" y="0.0" z="2.13814">
         <rot axis-x="0" axis-y="1" axis-z="0" val="127.945"/>
       </location>
     </component>
diff --git a/instrument/CNCS_Definition_20150801-20160211.xml b/instrument/CNCS_Definition_20150801-20160211.xml
new file mode 100644
index 00000000000..1584c2d9b08
--- /dev/null
+++ b/instrument/CNCS_Definition_20150801-20160211.xml
@@ -0,0 +1,729 @@
+<?xml version='1.0' encoding='ASCII'?>
+<instrument xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.mantidproject.org/IDF/1.0" last-modified="2015-08-17 14:50:39.469748" name="CNCS" valid-from="2015-08-01 00:00:00" valid-to="2016-02-11 23:59:59" xsi:schemaLocation="http://www.mantidproject.org/IDF/1.0 http://schema.mantidproject.org/IDF/1.0/IDFSchema.xsd">
+  <!--Created by Michael Reuter-->
+  <defaults>
+    <length unit="metre"/>
+    <angle unit="degree"/>
+    <reference-frame>
+      <along-beam axis="z"/>
+      <pointing-up axis="y"/>
+      <handedness val="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 x="0.0" y="0.0" z="0.0"/>
+  </component>
+  <type is="SamplePos" name="sample-position"/>
+  <!--MONITORS-->
+  <component idlist="monitors" type="monitors">
+    <location/>
+  </component>
+  <type name="monitors">
+    <component type="monitor">
+      <location name="monitor1" z="-29.949"/>
+      <location name="monitor2" z="-28.706"/>
+      <location name="monitor3" z="-1.416"/>
+    </component>
+  </type>
+  <component idlist="detectors" type="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 x="2.63849" y="0.0" z="-2.29644">
+        <rot axis-x="0" axis-y="1" axis-z="0" val="311.035"/>
+      </location>
+    </component>
+  </type>
+  <type name="bank2">
+    <component type="eightpack">
+      <location x="2.77661" y="0.0" z="-2.12633">
+        <rot axis-x="0" axis-y="1" axis-z="0" val="307.445"/>
+      </location>
+    </component>
+  </type>
+  <type name="bank3">
+    <component type="eightpack">
+      <location x="2.90095" y="0.0" z="-1.94605">
+        <rot axis-x="0" axis-y="1" axis-z="0" val="303.855"/>
+      </location>
+    </component>
+  </type>
+  <type name="bank4">
+    <component type="eightpack">
+      <location x="3.02106" y="0.0" z="-1.76289">
+        <rot axis-x="0" axis-y="1" axis-z="0" val="300.265"/>
+      </location>
+    </component>
+  </type>
+  <type name="bank5">
+    <component type="eightpack">
+      <location x="3.12465" y="0.0" z="-1.56983">
+        <rot axis-x="0" axis-y="1" axis-z="0" val="296.675"/>
+      </location>
+    </component>
+  </type>
+  <type name="bank6">
+    <component type="eightpack">
+      <location x="3.2183" y="0.0" z="-1.37173">
+        <rot axis-x="0" axis-y="1" axis-z="0" val="293.085"/>
+      </location>
+    </component>
+  </type>
+  <type name="bank7">
+    <component type="eightpack">
+      <location x="3.29715" y="0.0" z="-1.16726">
+        <rot axis-x="0" axis-y="1" axis-z="0" val="289.495"/>
+      </location>
+    </component>
+  </type>
+  <type name="bank8">
+    <component type="eightpack">
+      <location x="3.36295" y="0.0" z="-0.95828">
+        <rot axis-x="0" axis-y="1" axis-z="0" val="285.905"/>
+      </location>
+    </component>
+  </type>
+  <type name="bank9">
+    <component type="eightpack">
+      <location x="3.41642" y="0.0" z="-0.74584">
+        <rot axis-x="0" axis-y="1" axis-z="0" val="282.315"/>
+      </location>
+    </component>
+  </type>
+  <type name="bank10">
+    <component type="eightpack">
+      <location x="3.45681" y="0.0" z="-0.53051">
+        <rot axis-x="0" axis-y="1" axis-z="0" val="278.725"/>
+      </location>
+    </component>
+  </type>
+  <type name="bank11">
+    <component type="eightpack">
+      <location x="3.47705" y="0.0" z="-0.31246">
+        <rot axis-x="0" axis-y="1" axis-z="0" val="275.135"/>
+      </location>
+    </component>
+  </type>
+  <type name="bank12">
+    <component type="eightpack">
+      <location x="3.49549" y="0.0" z="-0.09428">
+        <rot axis-x="0" axis-y="1" axis-z="0" val="271.545"/>
+      </location>
+    </component>
+  </type>
+  <type name="bank13">
+    <component type="eightpack">
+      <location x="3.49601" y="0.0" z="0.12483">
+        <rot axis-x="0" axis-y="1" axis-z="0" val="267.955"/>
+      </location>
+    </component>
+  </type>
+  <type name="bank14">
+    <component type="eightpack">
+      <location x="3.48266" y="0.0" z="0.34363">
+        <rot axis-x="0" axis-y="1" axis-z="0" val="264.365"/>
+      </location>
+    </component>
+  </type>
+  <type name="bank15">
+    <component type="eightpack">
+      <location x="3.45253" y="0.0" z="0.56073">
+        <rot axis-x="0" axis-y="1" axis-z="0" val="260.775"/>
+      </location>
+    </component>
+  </type>
+  <type name="bank16">
+    <component type="eightpack">
+      <location x="3.41025" y="0.0" z="0.77573">
+        <rot axis-x="0" axis-y="1" axis-z="0" val="257.185"/>
+      </location>
+    </component>
+  </type>
+  <type name="bank17">
+    <component type="eightpack">
+      <location x="3.35477" y="0.0" z="0.98768">
+        <rot axis-x="0" axis-y="1" axis-z="0" val="253.595"/>
+      </location>
+    </component>
+  </type>
+  <type name="bank18">
+    <component type="eightpack">
+      <location x="3.28769" y="0.0" z="1.1963">
+        <rot axis-x="0" axis-y="1" axis-z="0" val="250.005"/>
+      </location>
+    </component>
+  </type>
+  <type name="bank19">
+    <component type="eightpack">
+      <location x="3.20685" y="0.0" z="1.40004">
+        <rot axis-x="0" axis-y="1" axis-z="0" val="246.415"/>
+      </location>
+    </component>
+  </type>
+  <type name="bank20">
+    <component type="eightpack">
+      <location x="3.11124" y="0.0" z="1.59725">
+        <rot axis-x="0" axis-y="1" axis-z="0" val="242.825"/>
+      </location>
+    </component>
+  </type>
+  <type name="bank21">
+    <component type="eightpack">
+      <location x="3.00392" y="0.0" z="1.78821">
+        <rot axis-x="0" axis-y="1" axis-z="0" val="239.235"/>
+      </location>
+    </component>
+  </type>
+  <type name="bank22">
+    <component type="eightpack">
+      <location x="2.888" y="0.0" z="1.97413">
+        <rot axis-x="0" axis-y="1" axis-z="0" val="235.645"/>
+      </location>
+    </component>
+  </type>
+  <type name="bank23">
+    <component type="eightpack">
+      <location x="2.75727" y="0.0" z="2.14996">
+        <rot axis-x="0" axis-y="1" axis-z="0" val="232.055"/>
+      </location>
+    </component>
+  </type>
+  <type name="bank24">
+    <component type="eightpack">
+      <location x="2.61572" y="0.0" z="2.31704">
+        <rot axis-x="0" axis-y="1" axis-z="0" val="228.465"/>
+      </location>
+    </component>
+  </type>
+  <type name="bank25">
+    <component type="eightpack">
+      <location x="2.46566" y="0.0" z="2.47644">
+        <rot axis-x="0" axis-y="1" axis-z="0" val="224.875"/>
+      </location>
+    </component>
+  </type>
+  <type name="bank26">
+    <component type="eightpack">
+      <location x="2.30853" y="0.0" z="2.62914">
+        <rot axis-x="0" axis-y="1" axis-z="0" val="221.285"/>
+      </location>
+    </component>
+  </type>
+  <type name="bank27">
+    <component type="eightpack">
+      <location x="2.13857" y="0.0" z="2.76748">
+        <rot axis-x="0" axis-y="1" axis-z="0" val="217.695"/>
+      </location>
+    </component>
+  </type>
+  <type name="bank28">
+    <component type="eightpack">
+      <location x="1.96178" y="0.0" z="2.89699">
+        <rot axis-x="0" axis-y="1" axis-z="0" val="214.105"/>
+      </location>
+    </component>
+  </type>
+  <type name="bank29">
+    <component type="eightpack">
+      <location x="1.77444" y="0.0" z="3.0106">
+        <rot axis-x="0" axis-y="1" axis-z="0" val="210.515"/>
+      </location>
+    </component>
+  </type>
+  <type name="bank30">
+    <component type="eightpack">
+      <location x="1.58334" y="0.0" z="3.11756">
+        <rot axis-x="0" axis-y="1" axis-z="0" val="206.925"/>
+      </location>
+    </component>
+  </type>
+  <type name="bank31">
+    <component type="eightpack">
+      <location x="1.38489" y="0.0" z="3.21028">
+        <rot axis-x="0" axis-y="1" axis-z="0" val="203.335"/>
+      </location>
+    </component>
+  </type>
+  <type name="bank32">
+    <component type="eightpack">
+      <location x="1.18075" y="0.0" z="3.28955">
+        <rot axis-x="0" axis-y="1" axis-z="0" val="199.745"/>
+      </location>
+    </component>
+  </type>
+  <type name="bank33">
+    <component type="eightpack">
+      <location x="0.97224" y="0.0" z="3.35632">
+        <rot axis-x="0" axis-y="1" axis-z="0" val="196.155"/>
+      </location>
+    </component>
+  </type>
+  <type name="bank34">
+    <component type="eightpack">
+      <location x="0.76027" y="0.0" z="3.41104">
+        <rot axis-x="0" axis-y="1" axis-z="0" val="192.565"/>
+      </location>
+    </component>
+  </type>
+  <type name="bank35">
+    <component type="eightpack">
+      <location x="0.54487" y="0.0" z="3.44994">
+        <rot axis-x="0" axis-y="1" axis-z="0" val="188.975"/>
+      </location>
+    </component>
+  </type>
+  <type name="bank36">
+    <component type="eightpack">
+      <location x="0.328" y="0.0" z="3.47956">
+        <rot axis-x="0" axis-y="1" axis-z="0" val="185.385"/>
+      </location>
+    </component>
+  </type>
+  <type name="bank37">
+    <component type="eightpack">
+      <location x="-0.32802" y="0.0" z="3.47979">
+        <rot axis-x="0" axis-y="1" axis-z="0" val="174.615"/>
+      </location>
+    </component>
+  </type>
+  <type name="bank38">
+    <component type="eightpack">
+      <location x="-0.54538" y="0.0" z="3.45312">
+        <rot axis-x="0" axis-y="1" axis-z="0" val="171.025"/>
+      </location>
+    </component>
+  </type>
+  <type name="bank39">
+    <component type="eightpack">
+      <location x="-0.76055" y="0.0" z="3.41229">
+        <rot axis-x="0" axis-y="1" axis-z="0" val="167.435"/>
+      </location>
+    </component>
+  </type>
+  <type name="bank40">
+    <component type="eightpack">
+      <location x="-0.97256" y="0.0" z="3.3574">
+        <rot axis-x="0" axis-y="1" axis-z="0" val="163.845"/>
+      </location>
+    </component>
+  </type>
+  <type name="bank41">
+    <component type="eightpack">
+      <location x="-1.18094" y="0.0" z="3.29009">
+        <rot axis-x="0" axis-y="1" axis-z="0" val="160.255"/>
+      </location>
+    </component>
+  </type>
+  <type name="bank42">
+    <component type="eightpack">
+      <location x="-1.38525" y="0.0" z="3.21111">
+        <rot axis-x="0" axis-y="1" axis-z="0" val="156.665"/>
+      </location>
+    </component>
+  </type>
+  <type name="bank43">
+    <component type="eightpack">
+      <location x="-1.58218" y="0.0" z="3.11528">
+        <rot axis-x="0" axis-y="1" axis-z="0" val="153.075"/>
+      </location>
+    </component>
+  </type>
+  <type name="bank44">
+    <component type="eightpack">
+      <location x="-1.77593" y="0.0" z="3.01313">
+        <rot axis-x="0" axis-y="1" axis-z="0" val="149.485"/>
+      </location>
+    </component>
+  </type>
+  <type name="bank45">
+    <component type="eightpack">
+      <location x="-1.9561" y="0.0" z="2.8886">
+        <rot axis-x="0" axis-y="1" axis-z="0" val="145.895"/>
+      </location>
+    </component>
+  </type>
+  <type name="bank46">
+    <component type="eightpack">
+      <location x="-2.12942" y="0.0" z="2.75565">
+        <rot axis-x="0" axis-y="1" axis-z="0" val="142.305"/>
+      </location>
+    </component>
+  </type>
+  <type name="bank47">
+    <component type="eightpack">
+      <location x="-2.29762" y="0.0" z="2.61671">
+        <rot axis-x="0" axis-y="1" axis-z="0" val="138.715"/>
+      </location>
+    </component>
+  </type>
+  <type name="bank48">
+    <component type="eightpack">
+      <location x="-2.45607" y="0.0" z="2.46681">
+        <rot axis-x="0" axis-y="1" axis-z="0" val="135.125"/>
+      </location>
+    </component>
+  </type>
+  <type name="bank49">
+    <component type="eightpack">
+      <location x="-2.59826" y="0.0" z="2.30157">
+        <rot axis-x="0" axis-y="1" axis-z="0" val="131.535"/>
+      </location>
+    </component>
+  </type>
+  <type name="bank50">
+    <component type="eightpack">
+      <location x="-2.74021" y="0.0" z="2.13666">
+        <rot axis-x="0" axis-y="1" axis-z="0" val="127.945"/>
+      </location>
+    </component>
+  </type>
+  <!--STANDARD 8-PACK-->
+  <type name="eightpack">
+    <properties/>
+    <component type="tube">
+      <location name="tube1" x="-0.096012"/>
+      <location name="tube2" x="-0.06858"/>
+      <location name="tube3" x="-0.041148"/>
+      <location name="tube4" x="-0.013716"/>
+      <location name="tube5" x="0.013716"/>
+      <location name="tube6" x="0.041148"/>
+      <location name="tube7" x="0.06858"/>
+      <location name="tube8" x="0.096012"/>
+    </component>
+  </type>
+  <!--STANDARD 2m 128 PIXEL TUBE-->
+  <type name="tube" outline="yes">
+    <properties/>
+    <component type="pixel">
+      <location name="pixel1" y="-0.9921875"/>
+      <location name="pixel2" y="-0.9765625"/>
+      <location name="pixel3" y="-0.9609375"/>
+      <location name="pixel4" y="-0.9453125"/>
+      <location name="pixel5" y="-0.9296875"/>
+      <location name="pixel6" y="-0.9140625"/>
+      <location name="pixel7" y="-0.8984375"/>
+      <location name="pixel8" y="-0.8828125"/>
+      <location name="pixel9" y="-0.8671875"/>
+      <location name="pixel10" y="-0.8515625"/>
+      <location name="pixel11" y="-0.8359375"/>
+      <location name="pixel12" y="-0.8203125"/>
+      <location name="pixel13" y="-0.8046875"/>
+      <location name="pixel14" y="-0.7890625"/>
+      <location name="pixel15" y="-0.7734375"/>
+      <location name="pixel16" y="-0.7578125"/>
+      <location name="pixel17" y="-0.7421875"/>
+      <location name="pixel18" y="-0.7265625"/>
+      <location name="pixel19" y="-0.7109375"/>
+      <location name="pixel20" y="-0.6953125"/>
+      <location name="pixel21" y="-0.6796875"/>
+      <location name="pixel22" y="-0.6640625"/>
+      <location name="pixel23" y="-0.6484375"/>
+      <location name="pixel24" y="-0.6328125"/>
+      <location name="pixel25" y="-0.6171875"/>
+      <location name="pixel26" y="-0.6015625"/>
+      <location name="pixel27" y="-0.5859375"/>
+      <location name="pixel28" y="-0.5703125"/>
+      <location name="pixel29" y="-0.5546875"/>
+      <location name="pixel30" y="-0.5390625"/>
+      <location name="pixel31" y="-0.5234375"/>
+      <location name="pixel32" y="-0.5078125"/>
+      <location name="pixel33" y="-0.4921875"/>
+      <location name="pixel34" y="-0.4765625"/>
+      <location name="pixel35" y="-0.4609375"/>
+      <location name="pixel36" y="-0.4453125"/>
+      <location name="pixel37" y="-0.4296875"/>
+      <location name="pixel38" y="-0.4140625"/>
+      <location name="pixel39" y="-0.3984375"/>
+      <location name="pixel40" y="-0.3828125"/>
+      <location name="pixel41" y="-0.3671875"/>
+      <location name="pixel42" y="-0.3515625"/>
+      <location name="pixel43" y="-0.3359375"/>
+      <location name="pixel44" y="-0.3203125"/>
+      <location name="pixel45" y="-0.3046875"/>
+      <location name="pixel46" y="-0.2890625"/>
+      <location name="pixel47" y="-0.2734375"/>
+      <location name="pixel48" y="-0.2578125"/>
+      <location name="pixel49" y="-0.2421875"/>
+      <location name="pixel50" y="-0.2265625"/>
+      <location name="pixel51" y="-0.2109375"/>
+      <location name="pixel52" y="-0.1953125"/>
+      <location name="pixel53" y="-0.1796875"/>
+      <location name="pixel54" y="-0.1640625"/>
+      <location name="pixel55" y="-0.1484375"/>
+      <location name="pixel56" y="-0.1328125"/>
+      <location name="pixel57" y="-0.1171875"/>
+      <location name="pixel58" y="-0.1015625"/>
+      <location name="pixel59" y="-0.0859375"/>
+      <location name="pixel60" y="-0.0703125"/>
+      <location name="pixel61" y="-0.0546875"/>
+      <location name="pixel62" y="-0.0390625"/>
+      <location name="pixel63" y="-0.0234375"/>
+      <location name="pixel64" y="-0.0078125"/>
+      <location name="pixel65" y="0.0078125"/>
+      <location name="pixel66" y="0.0234375"/>
+      <location name="pixel67" y="0.0390625"/>
+      <location name="pixel68" y="0.0546875"/>
+      <location name="pixel69" y="0.0703125"/>
+      <location name="pixel70" y="0.0859375"/>
+      <location name="pixel71" y="0.1015625"/>
+      <location name="pixel72" y="0.1171875"/>
+      <location name="pixel73" y="0.1328125"/>
+      <location name="pixel74" y="0.1484375"/>
+      <location name="pixel75" y="0.1640625"/>
+      <location name="pixel76" y="0.1796875"/>
+      <location name="pixel77" y="0.1953125"/>
+      <location name="pixel78" y="0.2109375"/>
+      <location name="pixel79" y="0.2265625"/>
+      <location name="pixel80" y="0.2421875"/>
+      <location name="pixel81" y="0.2578125"/>
+      <location name="pixel82" y="0.2734375"/>
+      <location name="pixel83" y="0.2890625"/>
+      <location name="pixel84" y="0.3046875"/>
+      <location name="pixel85" y="0.3203125"/>
+      <location name="pixel86" y="0.3359375"/>
+      <location name="pixel87" y="0.3515625"/>
+      <location name="pixel88" y="0.3671875"/>
+      <location name="pixel89" y="0.3828125"/>
+      <location name="pixel90" y="0.3984375"/>
+      <location name="pixel91" y="0.4140625"/>
+      <location name="pixel92" y="0.4296875"/>
+      <location name="pixel93" y="0.4453125"/>
+      <location name="pixel94" y="0.4609375"/>
+      <location name="pixel95" y="0.4765625"/>
+      <location name="pixel96" y="0.4921875"/>
+      <location name="pixel97" y="0.5078125"/>
+      <location name="pixel98" y="0.5234375"/>
+      <location name="pixel99" y="0.5390625"/>
+      <location name="pixel100" y="0.5546875"/>
+      <location name="pixel101" y="0.5703125"/>
+      <location name="pixel102" y="0.5859375"/>
+      <location name="pixel103" y="0.6015625"/>
+      <location name="pixel104" y="0.6171875"/>
+      <location name="pixel105" y="0.6328125"/>
+      <location name="pixel106" y="0.6484375"/>
+      <location name="pixel107" y="0.6640625"/>
+      <location name="pixel108" y="0.6796875"/>
+      <location name="pixel109" y="0.6953125"/>
+      <location name="pixel110" y="0.7109375"/>
+      <location name="pixel111" y="0.7265625"/>
+      <location name="pixel112" y="0.7421875"/>
+      <location name="pixel113" y="0.7578125"/>
+      <location name="pixel114" y="0.7734375"/>
+      <location name="pixel115" y="0.7890625"/>
+      <location name="pixel116" y="0.8046875"/>
+      <location name="pixel117" y="0.8203125"/>
+      <location name="pixel118" y="0.8359375"/>
+      <location name="pixel119" y="0.8515625"/>
+      <location name="pixel120" y="0.8671875"/>
+      <location name="pixel121" y="0.8828125"/>
+      <location name="pixel122" y="0.8984375"/>
+      <location name="pixel123" y="0.9140625"/>
+      <location name="pixel124" y="0.9296875"/>
+      <location name="pixel125" y="0.9453125"/>
+      <location name="pixel126" y="0.9609375"/>
+      <location name="pixel127" y="0.9765625"/>
+      <location name="pixel128" y="0.9921875"/>
+    </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 x="0.0" y="1.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="monitor" name="monitor">
+    <cylinder id="cyl-approx">
+      <centre-of-bottom-base p="0.0" r="0.0" t="0.0"/>
+      <axis x="0.0" y="0.0" z="1.0"/>
+      <radius val="0.01"/>
+      <height val="0.03"/>
+    </cylinder>
+    <algebra val="cyl-approx"/>
+  </type>
+  <!--DETECTOR IDs-->
+  <idlist idname="detectors">
+    <id end="51199" start="0"/>
+  </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>
-- 
GitLab