PyDumper: Update event dumping for HepMC3.
Update event dumping to handle hepmc3.
GitLab jobs artifacts no longer stored forever as of Monday, November 4th 08:30h. Further information under https://cern.ch/otg0152576
Update event dumping to handle hepmc3.