Optimization of GenEventBarcodes property filling
This merge request optimizes the filling of the GenEvent "barcodes" attribute to avoid unnecessary checks.
It also optimizes the fall back to querying the "barcode" attributes of individual GenParticle and GenVertex
objects in the case that the "barcodes" attribute is not available for some reason. It should not change
the output of any production step. NB The changes only affect HepMC3 builds, so the CI will not show any differences currently.
Tagging @averbyts
Edited by John Derek Chapman