|
The software package McXtrace is a tool for carrying out highly complex Monte Carlo ray-tracing simulations of X-ray beamlines to high precision. The simulations can compute all aspects of the performance of instruments and can thus be used to optimize the use of existing equipment, design new instrumentation, and carry out virtual experiments for e.g. training, experimental planning or data analysis. McXtrace is based is based on a unique design, inhereted from its sister McStas, where an automatic compilation process translates high-level textual instrument descriptions into efficient ANSI-C code. This design makes it simple to set up typical simulations and also gives essentially unlimited freedom to handle more unusual cases. This report constitutes the component manual for McXtrace, and, together with the manual for the McXtrace system, it contains full documentation of all aspects of the program. It covers a description of all official components of the McXtrace package with some theoretical background. Selected test instruments and representative McXtrace simulations performed with these instruments are described in the User Manual.
|
This report documents the components for McXtrace version 3.8.6, released September, 2026.
The authors are:
Erik Bergbäck Knudsen
Physics Department, Techical Univerisity of Denmark, Kgs. Lyngby, Denmark
email: erkn@fysik.dtu.dkAndrea Prodi
Niels Bohr Institute, University of Copenhagen, Denmark
European Synchrotron Radiation Facility, Grenoble, France
email: aprodi@nbi.ku.dkPeter Kjær Willendrup
Physics Department, Techical Univerisity of Denmark, Kgs. Lyngby, Denmark
email: pkwi@fysik.dtu.dkKim Lefmann
Niels Bohr Institute, University of Copenhagen, Denmark
email: lefmann@fys.ku.dkEmmanuel Farhi
Synchrotron SOLEIL, Saint-Aubin, France
email: emmanuel.farhi@synchrotron-soleil.fr