Use const references in the loops over GenParticles/GenVertices where possible

Merged Andrii Verbytskyi requested to merge averbyts/athena:hepmc_optimization_23 into master

Use const references in the loops over GenParticles/GenVertices where possible

Tag @sroe @jchapman

Merge request reports