Published September 14, 2022 | Version v1
Presentation Open

pyhepmc: a Pythonic interface to HepMC3

  • 1. TU Dortmund

Description

pyhepmc is a Pythonic frontend for the HepMC3 library and part of Scikit-HEP. It allows one to read/write HepMC3 records in various formats and to convert any other particle record to HepMC3. pyhepmc was originally proposed to become the official Python interface for HepMC3. HepMC3 eventually got an alternative Python interface which is an automatic translation of the C++ interface, while pyhepmc offers a hand-written interface with a Pythonic feel. Another advantage of pyhepmc is that it is listed on PyPI and can be easily installed with pip, thanks to Scikit-HEP releasing binary wheels for common platforms.

Files

PyHEP2022_HansPeterDembinski_pyhepmc.ipynb

Files (22.8 kB)

Name Size Download all
md5:8168f8d26873fcda2eeac7d68a9bfd3b
22.8 kB Preview Download