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

McStas
site 2

About McStas
 Conditions of use
 Authors/Contacts
 Project funding

Download
 Components
 Other Downloads (share)

Mailing list

Search web/mailinglist

Documentation
 Wiki (GitHub)
 McStas manual
 Publications

Links

Report bugs (GitHub)

Code-repository (GitHub)


McStas: MCPL2hist

[ Identification | Description | Input parameters | Links ]

The MCPL2hist Instrument

Flexible histogramming instrument file for processing MCPL input files using Monitor_nD

Identification

  • Site: Tools
  • Author: Peter Willendrup
  • Origin: DTU
  • Date: 2017-04

Description

Flexible histogramming instrument file for processing MCPL input files using Monitor_nD.

Example1: Multiple 1D histograms of position, velocity, divergence, time and wavelength, use
NDoptions=1 defines options="previous, multiple, auto, x, y, z, vx, vy, vz, hdiv, vdiv, tof, lambda"

Example2: 2D x-y plot of beam cross section:
NDoptions=2 defines options="previous, auto, x, y"

Example3: 2D TOF-lambda plot of beam:
NDoptions=3 defines options="previous, auto, tof, lambda"

Input parameters

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault
MCPLfilestrDefines the MCPL input file to process"my.mcpl.gz"
NDoptionsintDefines what Monitor_nD measures, see example list1

Links


[ Identification | Description | Input parameters | Links ]

Generated on 2024-01-03 11:47:43


Last Modified: Tuesday, 17-Sep-2024 05:31:14 CEST
Search website mailinglist archive GitHub repos