McXtrace logo

McXtrace - An X-ray ray-trace simulation package

ESRF; SAXSLAB Niels Bohr Institute DTU Physics

McXtrace

Download
 Components
 Linux Installation (deb/rpm)
 Mac OSX Installation
 Unix Install (src code)
 Windows Installation

Project Status
 Project Partners
 Project People
 Goal

Mailing list

Links

Publications

Minutes of Meetings

McXtrace Art

About McXtrace

Documentation
 Commands
 Tutorial

Search


McXtrace: MCPL_input Component

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

The MCPL_input Component

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

Identification

  • Author: Erik B Knudsen
  • Origin: DTU Physics
  • Date: Aug 2016
  • Version: $Revision$

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), Geant-4 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.
Name Unit Description Default
filename str Name 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
Emin keV Lower energy bound. Particles found in the MCPL-file below the limit are skipped. 0
Emax keV Upper energy bound. Particles found in the MCPL-file above the limit are skipped. FLT_MAX

Output parameters

Name Unit Description Default
inputfile  
nparticles  
read_photons  
used_photons  

Links


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

Generated automatically by McDoc, Peter Willendrup <peter.willendrup@risoe.dk> / Tue Nov 26 12:17:24 2019


Last Modified: Tuesday, 26-Nov-2019 13:17:24 CET
Search website mailinglist archive SVN repos McCode Trac