<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Hy neutron-mc users,
<p>I here annonce the Monitor_nD version 0.15 for McStas.
<p>New features are now (from 0.14):
<ul>
<li>
The '<b>log</b>' option enables to monitor in log scale (to see small signals).
The total monitor counts is affected, and is wrong. To get real counts
compute (sum(exp(data*log910)))</li>
<li>
The '<b>parrallel</b>' option enables to use a Monitor_nD component in
simulation in parallel with other components (typically a multidetector,
which was not possible previously because McStas propagated the netron
to the detector, and the neutron could not then reach the parallel component)</li>
<li>
The geometrical dimensions of the Monitor can be entered as <b>xwidth yheigth
zthick</b> and/or <b>xmin xmax ymin ymax zmin zmax</b> values</li>
<li>
A <b>bug</b> concerning the initialization of memory arrays to 0 is now
corrected (may have caused some crashes (SIGFPE) depending on the Unix
system)</li>
<li>
The monitor can now also be a '<b>box'</b> (added to shapes sphere, cylinder,
disk, square)</li>
<li>
A bug caused the <b>cylinder</b> to always act as a <b>3He</b> detector,
now corrected.</li>
</ul>
<p><br>Here follows a usage example (to detect with high resolution some
spots on a big cylindrical detector):
<p>/* Center part of the detector */
<br><tt>COMPONENT PSD_Vivaldi = Monitor_nD(</tt>
<br><tt> xwidth=0.16,</tt>
<br><tt> ymin = -0.1, ymax = 0.1,</tt>
<br><tt> options="theta limits=[-23 23], phi limits=[-23 23], all
bins=180, cylinder, log, parallel")</tt>
<br><tt>AT (0,0,0.0011) RELATIVE I3Start ROTATED (0, 0,0) RELATIVE I3Start</tt><tt></tt>
<p><tt>/* direct beam only, in parallel */</tt>
<br><tt>COMPONENT PSD_direct = Monitor_nD(</tt>
<br><tt> xwidth=0.16,</tt>
<br><tt> ymin = -0.1, ymax = 0.1,</tt>
<br><tt> options="theta limits=[-1 1], phi limits=[-1 1], all bins=80,
cylinder, parallel")</tt>
<br><tt>AT (0,0,0.0011) RELATIVE I3Start ROTATED (0, 0,0) RELATIVE I3Start</tt><tt></tt>
<p><tt>/* one the the spots to monitor */</tt>
<br><tt>COMPONENT PSD_111d = Monitor_nD(</tt>
<br><tt> xwidth=0.16,</tt>
<br><tt> ymin = -0.2, ymax = 0.2,</tt>
<br><tt> options="theta limits=[18.5 20], phi limits=[-20 -18.5],
all bins=50, cylinder")</tt>
<br><tt>AT (0,0,0.0011) RELATIVE I3Start ROTATED (0, 0,0) RELATIVE I3Start</tt>
<p>Hope you enjoy it. Cheers.
<br>EF.
<pre>--
What's up Doc ?
--------------------------------------------
Emmanuel FARHI, <A HREF="http://www.ill.fr/tas/people/Farhi.html">http://www.ill.fr/tas/people/Farhi.html</A> \|/ ____ \|/
CS-Group ILL4/156, Institut Laue-Langevin (ILL) Grenoble ~@-/ oO \-@~
6 rue J. Horowitz, BP 156, 38042 Grenoble Cedex 9,France /_( \__/ )_\
Work :Tel (33/0) 4 76 20 71 35. Fax (33/0) 4 76 48 39 06 \__U_/</pre>
</html>