The changes in this merge request a a fix for simulation in HepMC3-based builds. Most changes are protected behind preprocessor checks, so would not be seen in HepMC2-based builds.
In order to be able to do this consistently with the HepMC2 implementation, it was
necessary to extend the
ITruthIncident interface to be able to retrieve a child particle
barcode set by the simulator.