Skip to content

For HepMC3, GenParticle barcodes can only be set once they are associated with a GenEvent

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.

Tagging @averbyts, @ewelina, @mgignac, @jkretz, @dhirsch, @tlari, @mbandier for the other changes.
Tagging @lmijovic for the ITruthIncident changes.

Edited by John Derek Chapman

Merge request reports