PoS - Proceedings of Science
Volume 444 - 38th International Cosmic Ray Conference (ICRC2023) - Cosmic-Ray Physics (Indirect, CRI)
Chromo: An event generator frontend for particle and astroparticle physics
H. Dembinski*, A. Fedynitch and A. Prosekin
Full text: pdf
Pre-published on: July 25, 2023
Published on:
Abstract
Chromo (formerly known as IMPY) is a Python frontend that provides a unified interface to popular generators of hadronic interactions, such as EPOS, DPMJet, QGSJet, Sibyll, and Pythia, which are used to simulate air showers or minimum bias events at colliders. Chromo is a thin wrapper on top of these codes, which are written in Fortran or C++, and does not impose a notable performance penalty. As a Python library, Chromo runs in Jupyter notebooks or Python scripts and also comes with a command-line mode similar to the program CRMC. Events can be written to HepMC and ROOT files or exposed as Numpy arrays. These can be inspected and transformed with Python code, directly accumulated as histograms, and saved to disk even after modifications. Chromo’s source code is distributed via GitHub and is automatically tested and built by a continuous integration service. The installation process is extremely simple, since the software package is distributed as a binary wheel via PyPI for Linux, macOS, and Windows. Therefore, it can be readily used in education, for new projects, or as a drop-in replacement for CRMC. Chromo is the central tool for the computing of secondary particle distributions in the MCEq cascade solver, and has been extensively used for the development and testing of the DPMJet and Sibyll event generators.
DOI: https://doi.org/10.22323/1.444.0189
How to cite

Metadata are provided both in "article" format (very similar to INSPIRE) as this helps creating very compact bibliographies which can be beneficial to authors and readers, and in "proceeding" format which is more detailed and complete.

Open Access
Creative Commons LicenseCopyright owned by the author(s) under the term of the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.