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