McStas logo McStas - A neutron ray-trace simulation package ILL; PSI; ESS Niels Bohr Institute DTU Physics NEXMAP

McStas

About McStas
 Conditions of use
 Authors/Contacts
 Project funding

Download
 Components
 Other Downloads (share)

Mailing list

Search web/mailinglist

Documentation
 Wiki (GitHub)
 McStas manual
 Publications

Links

Report bugs (GitHub)

Code-repository (GitHub)


McStas: Test_Scatter_log_mvalues

[ Identification | Description | Input parameters | Links ]

The Test_Scatter_log_mvalues Instrument

Example instrument of Scatter_logger feature advanced usage

Identification

  • Site: Templates
  • Author: Erik B Knudsen (erkn@fysik.dtu.dk)
  • Origin: DTU Fysik
  • Date: Jan. 13st 2013

Description

This instrument is an example of how to use thet newly developed (and experimental)
Scatter_logger family of components in McStas.
In this example a set of Monitor_nD's are used to monitor the m-value needed to reflect neutrons.
This is done by binning the impinging intesity by m-value and z-coordinate along the length of the guide.
Furthermore reflections events are split among themonitors by their seuqential number: Only the first
reflection is considered by mnd1, the second by mnd2 etc. All reflection are bundled into mnttot

Also included (but commented out) is a code-snippet that would dump the lost neutrons to stdout

Example: Test_Scatter_log_mvalues LENGTH=10

Input parameters

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault

Links


[ Identification | Description | Input parameters | Links ]

Generated on 2024-01-03 11:47:43


Last Modified: Tuesday, 16-Apr-2024 20:05:21 CEST
Search website mailinglist archive GitHub repos