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

The Histogrammer Instrument

Takes MCPL eventfile input and applies Monitor_nD to generate histograms. Histograms can be chosen freely using the options string, see mcdoc Monitor_nD.comp

Identification

Description

Takes MCPL eventfile input and applies
Monitor_nD to generate user-selectable neutron histograms.

The 'options' parameter allows to customize the type of histogram to generate.
We suggest:
"sphere theta phi outgoing previous" (this is the default)
"previous, multiple, auto, x, y, z, vx, vy, vz, hdiv, vdiv, tof, lambda"
"previous, auto, x, y"
"previous, auto, tof, lambda"

Example: mcrun Histogrammer.instr filename="events.mcpl.gz" options="sphere theta phi outgoing previous"
- Reads an MCPL event file and applies a spherical PSD

Examples

(Test cases in bold)

Input parameters

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault
filenamestringInput MCPL event file0
optionsstringSpecifies the histogramming rules used by Monitor_nD. It MUST contain the 'previous' word - see mcdoc Monitor_nD"sphere theta phi outgoing previous"
xwidthmHorizontal width of detector, or diameter for banana,cylinder and sphere geometry0.1
yheightmVertical height of detector, for plate, cylinder, banana shape0.1

Links


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

Generated for mcstas 3.10.5