Skip to content

Commit

Permalink
Added choppers to MARI definition file. Re #6136.
Browse files Browse the repository at this point in the history
  • Loading branch information
mantid-roman committed Mar 5, 2013
1 parent dea7a30 commit 0d61d19
Showing 1 changed file with 66 additions and 0 deletions.
66 changes: 66 additions & 0 deletions Code/Mantid/instrument/MARI_Definition.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,72 @@
<type name="sample-position" is="SamplePos"></type>


<!-- CHOPPERS -->

<component type="fermi-chopper">
<location y="-0.1" z="-1.689" />
</component>
<type name="fermi-chopper" is="chopper">
<cylinder id="body">
<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.13" />
<height val="0.2" />
</cylinder>
</type>

<component type="disc-chopper">
<location y="-0.18" z="-3.0" />
</component>
<type name="disc-chopper" is="chopper">
<cylinder id="body">
<centre-of-bottom-base x="0.0" y="0.0" z="0.0" />
<axis x="0.0" y="0.0" z="1.0" />
<radius val="0.26" />
<height val="0.1" />
</cylinder>
<cuboid id="hole">
<left-front-bottom-point x="0.03" y="0.15" z="-0.1" />
<left-front-top-point x="0.03" y="0.15" z="0.1" />
<left-back-bottom-point x="-0.03" y="0.15" z="-0.1" />
<right-front-bottom-point x="0.03" y="0.21" z="-0.1" />
</cuboid>
<algebra val="body (# hole)" />
</type>

<component type="nimonic-chopper">
<location x="0.0" y="-0.2" z="-4.0" rot="90" axis-x="0" axis-y="1" axis-z="0" >
<rot val="30.0" axis-x="1.0" axis-y="0.0" axis-z="0.0" />
</location>
</component>
<type name="nimonic-chopper" is="chopper">
<cylinder id="cylinder">
<centre-of-bottom-base x="0.0" y="0.0" z="0.0" />
<axis x="1.0" y="0.0" z="0.0" />
<radius val="0.13" />
<height val="0.2" />
</cylinder>
<cuboid id="cuboid">
<left-front-bottom-point x="0.2" y="-0.03" z="-0.2" />
<left-front-top-point x="0.2" y="-0.03" z="0.2" />
<left-back-bottom-point x="0.0" y="-0.03" z="-0.2" />
<right-front-bottom-point x="0.2" y="0.03" z="-0.2" />
</cuboid>
<algebra val="cylinder : cuboid" />
</type>

<component type="moderator">
<location x="0.0" y="0.0" z="-11.739" rot="-70.0" axis-x="1.0" axis-y="0.0" axis-z="0.0" />
</component>
<type name="moderator" is="chopper">
<cuboid id="cuboid">
<left-front-bottom-point x="0.1" y="-0.05" z="-0.3" />
<left-front-top-point x="0.1" y="-0.05" z="0.3" />
<left-back-bottom-point x="-0.1" y="-0.05" z="-0.3" />
<right-front-bottom-point x="0.1" y="0.05" z="-0.3" />
</cuboid>
</type>

<!-- MONITORS -->

<component type="monitor" idlist="monitor">
Expand Down

0 comments on commit 0d61d19

Please sign in to comment.