Hepmc3 nightly fixes 18122020 part 1
In this MR:
- update the types for HepMC3 compatibility:
GenParticle*->GenParticlePtrand so on. - use
newGenParticlePtrwrapper - use c++11 loops
- use HepMC::barcode() free function
Edited by Andrii Verbytskyi
In this MR:
GenParticle* -> GenParticlePtr and so on.newGenParticlePtr wrapper