Skip to content

mohamedelashri/hep-tools

v0.2.2MIT

Reusable HEP/Python development skills and generic read-only HEP MCP tools.

pyhepmc

Use when reading or writing HepMC3 event records in Python: opening HepMC2, HepMC3, LHEF, or HEPEVT files from a Monte Carlo generator, iterating over events, accessing truth particles and vertices, filtering by status code or PDG ID, traversing decay trees via particle parents/children, using the NumPy API for fast vectorized processing, visualizing events in Jupyter notebooks, or writing modified events back to a HepMC file.

Read SKILL.md at the source

Pinned to revision 0bc82bc909b9, so it is the text this page describes rather than whatever the author pushed since.

Files

Every link opens the file at its source, pinned to the revision this page describes.