( Semi Analytical MUons -or taus- Propagation, backwards )
PUMAS performs the transport of relativistic μ or τ in both forward and backward Monte Carlo. The library is written in C99 with the Standard Library as sole dependency. PUMAS is thread safe by design. The library also allows to generate muons or taus energy loss tables in the PDG format. These tables, or those provided by the PDG, are needed as input for the Physics.
Building the library requires only the files pumas.h and pumas.c. On UNIX you might directly use the provided Makefile. Alternatively, or on other platforms, CMake can be used with the provided CMakeLists.txt. More detailed instructions can be found on the wiki.
A compilation of materials for PUMAS is hosted on GitHub as a separate project, pumas-materials. These tables have been generated with the PUMAS library. For muons one can also use the whole set of tabulations provided online by the PDG. Note however that those are less accurate than PUMAS ones above 100 TeV due to improvements on the photonuclear cross-section (see e.g. Sokalski et al.).
The API documentation can be found here. For tutorials one can check the wiki. You might also directly browse the provided examples.
Note that for the examples to work you need the corresponding MDF and energy loss tables. Those can be downloaded with git, as following:
git clone https://gitub.com/niess/pumas-materials materials
The PUMAS library is under the GNU LGPLv3 license. See the provided LICENSE and COPYING.LESSER files. The examples however have a separate public domain license allowing them to be copied without any restriction.