/********************************************************************
*
* Instrument: ILL_H16_IN5_Mantid
*
* %Identification
* Written by: E. Farhi, J. Ollivier, Celia Castan Guerrero
* Date: Jan 2004-2009
* Origin: Mantid
* %INSTRUMENT_SITE: Mantid
*
* The full ILL IN5B ToF spectrometer adapted for use with Mantid-friendly NeXus output.
*
* %Description
*
*   The full ILL IN5B: H16 guide & chopper system + sample + PSD and tof detector, adapted for
*   use with Mantid-friendly NeXus output. To compile and run, use these steps:
*
*   <ol>
*     <li>Compile the instrument with NeXus support - zero neutrons:
*     <ul>
*       <li>export MCSTAS_CFLAGS="-g -lm -O2 -DUSE_NEXUS -lNeXus"
*       <li>mcrun -c -n0 --format=NeXus ILL_H16_IN5_Mantid.instr --no-output-files
*     </ul>
*     <li>Generate the IDF in XML format using the (Perl) mcdisplay tool:
*     <ul>
*       <li>mcdisplay ILL_H16_IN5_Mantid.instr -n0 --format=Mantid
*     </ul>
*     <li>Run a simulation with NeXus output
*     <ul>
*       <li>mcrun ILL_H16_IN5_Mantid.instr --format=NeXus
*     </ul>
*   </ol>
*
*  The IN5@ILL TOF spectrometer from cold source to final detector, with sample.
*  The detector model includes Fe housing and tube cross talk absorbing masks
*  with angle restriction (neutrons that scatter in Fe in front of a tube and
*  enter a different tube are absorbed).
*
* %Example: lambda=4.5 Detector: Det_sample_t_I=3.4043e+07
* %Example: lambda=4.5 Detector: Det_PSD_I=1.1e6
* %Example: lambda=4.5 --format=NeXus Detector: Det_sample_t_I=3.4043e+07
* %Example: lambda=4.5 --format=NeXus Detector: Det_PSD_I=1.1e6
*
* %Parameters
* lambda: [AA]   mean incident wavelength
* dlambda: [AA]  wavelength half width. Use e.g. 0.8*lambda for white beam.
*
* %Link
* The <a href="http://www.ill.eu/in5">IN5@ILL</a> cold time of flight instrument
*
* %E
************************************************************************/
DEFINE INSTRUMENT ILL_H16_IN5_Mantid(lambda=4.5, dlambda=0.09)
DEPENDENCY " @NEXUSFLAGS@ "

TRACE

%include "ILL/ILL_H16_Mantid/ILL_H16_Mantid.instr"
%include "ILL/ILL_IN5_Mantid/ILL_IN5_Mantid.instr"

END
