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


About McStas
 Conditions of use
 Project funding

 Other Downloads (share)

Mailing list

Search web/mailinglist

 Wiki (GitHub)
 McStas manual


Report bugs (GitHub)

Code-repository (GitHub)

McStas: Test_Scatter_log_srw_mcnp

[ Identification | Description | Input parameters | Links ]

The Test_Scatter_log_srw_mcnp Instrument

Example instrument of Scatter_logger feature usage for lost neutron transfer to MCNP via the ssr/ssw mechanism.


  • Site: Tests_MCPL_etc
  • Author: Esben Klinkby (, Peter Willendrup (
  • Origin: DTU Nutech
  • Date: 2013


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 straight guide are transferred to an MCNP SSW file, for later processing in MCNP
(for estimating gamma-production etc.)

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

Input parameters

Parameters in boldface are required; the others are optional.


[ 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