McXtrace is a general Monte Carlo ray-tracing software for simulation X-ray beamlines and experiments, distributed under the open source license of GPL.

It is a collaborative effort between DTU Physics, European Synchrotron radiation Facility, Niels Bohr Insitute. Initial funding came from a grant under the NaBiIT program of the Danish Strategic Research Council DSF and from SAXSLAB ApS, in addition to the above parties.

It is built upon the code base of the proven and succesful neutron ray-tracing package McStas and today McXtrace and McStas share a central code repository.

A substantial amount of work has gone inot creating thsi software package. If you enjoy it, and use it for your work please use this reference: