View on GitHub

MCPL

Monte Carlo Particle Lists

Download this project as a zip file Download this project as a tar.gz file

Using MCPL

Using MCPL typically implies using pre-existing plugins or converters to either create or read a list of particles from MCPL files via a given simulation tool, such as Geant4, McStas, McXtrace, MCNP, or PHITS. Additionally, most users will find it beneficial to use the generic mcpltool or pymcpltool commands from the command line, in order to inspect or perform operations on files, and some users with advanced use-cases might write C/C++ code or Python code in order to inspect or manipulate MCPL files (for instance, to create new plugins or converters for their tools).

Many more details can be found in the MCPL paper (section 2) and in the MCPL paper (section 3).