Hepmc3 nightly fixes 25112020 part 4
In this MR:
- use auto to assure HEpMC3 compatibility and avoid long type names
- use methods of STL containders for the case of HepMC3, e.g.
particles().size()instead ofparticles_size().
In this MR:
particles().size() instead of particles_size().