scikit-hep / pyhepmc

Easy-to-use Python bindings for HepMC3
https://scikit-hep.org/pyhepmc/
BSD 3-Clause "New" or "Revised" License
21 stars 11 forks source link

Adapt to zero based indices #69

Closed HDembinski closed 1 year ago

HDembinski commented 1 year ago

The method GenEvent.from_hepevt now has an additional argument fortran which allows one to define whether the input uses 1-based indices or 0-based indices.