Example instrument of Scatter_logger feature usage for detection of lost instensity
Author: Erik B Knudsen (email@example.com)
Origin: DTU Fysik
This instrument is an example of how to use thet newly developed (and experimental)
Scatter_logger family of components in McStas. In this example the neutrons deposited in the
guide wall of a LENGTH m long straight guide are monitored bytwo instances of Monitor_nD
The first (mnd1) stretches the full length of the guide and simply monitors the intensity lost in
the guide walls, the latter (mnd2) shows the lost intensity binned by neutron wavelength in the last
1m of guide.
Also include (but commented out) is a code-snippet that would dump the lost neutrons to stdout
Example: mcrun Test_Scatter_log_losses LENGTH=10
Parameters in boldface are required;
the others are optional.