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: Cyl_monitor Component

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

The Cyl_monitor Component

A 2D Position-sensitive monitor. The shape is cylindrical with the axis vertical. The monitor covers the whole cylinder (360 degrees).


  • Author: Kim Lefmann
  • Origin: Risoe
  • Date: October 26, 2000
  • Version:(Unknown)


An (n times m) pixel PSD monitor with cylinder shape,
vertical axis, centered at (0,0,0).

Example: PSDcyl_monitor(nr=20, ny=20, filename="Output.cyl", yheight=0.2, radius=0.1)

Input parameters

Parameters in boldface are required; the others are optional.
Name Unit Description Default
nr 1 Number of pixel (radial) columns 20
filename string Name of file in which to store the detector image 0
yheight m Height of detector 10
radius m Radius of detector 1
restore_neutron 1 If set, the monitor does not influence the neutron state 0
thmin 0
thmax 360
nowritefile 1 If set, monitor will skip writing to disk 0


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

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

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