ParticleGun: Fix for HepMC2 compatibility.
GenEvent::set_units() is only for HepMC3.
GitLab Registry scheduled maintenance on Wednesday, October 09th 2024 as of 20:00h Geneva time for a period of 1 hour. Further information under https://cern.ch/otg0152540.
GenEvent::set_units() is only for HepMC3.