McXtrace logo

McXtrace - An X-ray ray-trace simulation package

Synchrotron SOLEIL Niels Bohr Institute DTU Physics

McXtrace

About McXtrace
 Publications
 Project Partners
 Project People
 Goal

Download
 Components

Documentation
 Wiki (GitHub)
 Commands
 Manual
 Tutorial

Mailing list

Links

Code-repository (GitHub)

Search


McXtrace: MCPL_input

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

The MCPL_input Component

Source-like component that reads photon state parameters from an mcpl-file.

Identification

  • Site:
  • Author: Erik B Knudsen
  • Origin: DTU Physics
  • Date: Aug 2016

Description

Source-like component that reads photon state parameters from a binary mcpl-file.

MCPL is short for Monte Carlo Particle List, and is a new format for sharing events
between e.g. MCNP(X), Geant4 and McXtrace .

When used with MPI, the --ncount given on the commandline is overwritten by
#MPI nodes x #events in the file.

%BUGS

Input parameters

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault
filenamestrName of photon mcpl file to read.0
polarisationuse If !=0 read polarisation vectors from file.1
verbose Print debugging information for first 10 particles read.1
EminkeVLower energy bound. Particles found in the MCPL-file below the limit are skipped.0
EmaxkeVUpper energy bound. Particles found in the MCPL-file above the limit are skipped.FLT_MAX
repeat_count1Repeat contents of the MCPL file this number of times. NB: When running MPI, repeating is implicit and is taken into account by integer division. Should be combined sith the _smear options!1
E_smear1When repeating events, make a Gaussian MC choice within E_smear*E around particle energy E0
pos_smearmWhen repeating events, make a flat MC choice of position within pos_smear around particle starting position0
dir_smeardegWhen repeating events, make a Gaussian MC choice of direction within dir_smear around particle direction0

Output parameters

Parameters in boldface are required; the others are optional.
NameUnitDescriptionDefault
inputfile
nparticles
read_photons
used_photons
inactive

Links


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

Generated on 2022-01-24 12:07:05


Last Modified: Monday, 24-Jan-2022 12:07:05 CET
Search website mailinglist archive GitHub repos