Assure Hepmc3 compatibility for mcvtxfilter test
In this MR:
- Assure Hepmc3 compatibility for mcvtxfilter test
The explicit call to new replaced with a function that returns new Genparticle
for HepMC2 and std::shared_ptr<GenParticle>
for HepMC3.
For both cases the arguments are explicitly HepMC::FourVEctor
Same for GenVertex
Tag @jchapman
Edited by Andrii Verbytskyi