McXtrace logo

McXtrace - An X-ray ray-trace simulation package

Synchrotron SOLEIL DTU Physics

McXtrace

About McXtrace
 Publications
 Project Partners
 Project People
 Goal

Download
 Components

Mailing list

Search

Documentation
 Manual
 Commands
 Wiki (GitHub)
 Tutorial

Links

Report bugs (GitHub)

Code-repository (GitHub)


McXtrace: Test_MCPL_input

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

The Test_MCPL_input Instrument

A test instrument for MCPL_input

Identification

  • Site: Tests_MCPL_etc
  • Author: Erik B Knudsen
  • Origin: DTU
  • Date: Mar 2016

Description

This is a unit test for the MCPL_input component.

Examples

(Test cases in bold)
  • Test: -n1e3 repeat=1 MCPLFILE=voutput.mcpl.gz Detector: m1_I=7.9657e-08
  • Test: -n1e3 repeat=1 MCPLFILE=voutput_legacy.mcpl Detector: m1_I=7.9657e-08

Input parameters

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault
repeat1Repeat the contents of the inputfile this many times. NB: When using MPI you implicitly repeat by #mpi processes1
E_smear1When repeating, make Gaussian MC choice on particle energy with spread E_smear * particle energy0.1
pos_smearmWhen repeating, make uniform MC choice on sphere of radius pos_spear around particle position0.001
dir_smeardegWhen repeating, make Gaussian MC choice in cone of opening dir_smear around particle direction0.01
MCPLFILEstrInput MCPL file."voutput.mcpl"

Links


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

Generated for mcxtrace 3.10.2


Last Modified: Monday, 02-Nov-2026 22:21:09 CET
Search website mailinglist archive GitHub repos