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 Instrument at Tests_MCPL_etc

[ Identification | Description | Input parameters | Output 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
  • Version:(Unknown)


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



[ Identification | Description | Input parameters | Output parameters | Links ]

Generated automatically by McDoc, Peter Willendrup <> / Wed Jan 12 15:13:32 2022

Last Modified: Wednesday, 12-Jan-2022 16:13:32 CET
Search website mailinglist archive GitHub repos