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: TOF2Q_cylPSD_monitor

[ Identification | Description | Input parameters | Links ]

The TOF2Q_cylPSD_monitor Component

Cylindrical (2pi) Time-of-flight to Q monitor.

Identification

  • Author: Anette Vickery, derived from Lefmann TOF_cylPSD
  • Origin: Risoe
  • Date: October 2000

Description

Calculates Q from TOF and known nominal grazing angle theta:
$E = \mathrm{VS2E}\left(\frac{L_\mathrm{flight}}{t-T_\mathrm{zero}}\right)^2, \quad Q = 2\sqrt{E/2.072}\,\sin\theta$

Input parameters

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault
nQ1Number of Q bins
ny1Number of y bins
filenamestringName of file in which to store the detector image0
nowritefile1If set, monitor will skip writing to disk0
radiusmCylinder radius
yheightmCylinder height
QminAA^-1Beginning of Q-range
QmaxAA^-1End of Q-range
yminmMinimum value of y monitored0
ymaxmMaximum value of y monitored0
T_zerosBeginning of time window
L_flightmNominal flightpath moderator--detector
restore_neutron1If set, the monitor does not influence the neutron state0
thetaradNominal grazing angle
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