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

McStas

About McStas
 Conditions of use
 Authors/Contacts
 Project funding

Download
 Components

Mailing list

Search web/mailinglist

Documentation
 Wiki (GitHub)
 McStas manual
 Publications

Links

Report bugs (GitHub)

Code-repository (GitHub)



McStas: TOF_monitor

[ Identification | Description | Input parameters | Links ]

The TOF_monitor Component

Rectangular Time-of-flight monitor.

Identification

  • Author: KN, M. Hagen
  • Origin: Risoe
  • Date: August 1998

Description

Rectangular monitor in the z=0 plane that histograms the time-of-flight
[us] in nt bins, from tmin to tmax, or, when tmax=0, in bins of width dt
starting at t=0.

Input parameters

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault
nt1Number of time bins20
filenamestringName of file in which to store the detector image0
xminmLower x bound of detector opening-0.05
xmaxmUpper x bound of detector opening0.05
yminmLower y bound of detector opening-0.05
ymaxmUpper y bound of detector opening0.05
xwidthmWidth of detector. Overrides xmin, xmax0
yheightmHeight of detector. Overrides ymin, ymax0
tminmu-sLower time limit0
tmaxmu-sUpper time limit0
dtmu-sLength of each time bin1.0
restore_neutron1If set, the monitor does not influence the neutron state0
nowritefile1If set, monitor will skip writing to disk0
AT ( , , ) RELATIVE
ROTATED ( , , ) RELATIVE

Links


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

Generated on mcstas 3.10.5


Last Modified: Wed Dec 2 00:25:28 2026
Search website mailinglist archive GitHub repos