Optimization of HepMC-related codes

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

Optimization of HepMC-related codes

  • use pass-by-const-reference
  • reduce the usage of barcodes

Tag @jchapman @christos

Merge request reports