Fix FPGATrackSimSGInput compilation in main--HepMC2 nightly (ATLASSIM-7297)
This change should be transparent for the main nightlies and the CI, but when HepMC2 (rather than HepMC3) is used this change allows the call to fallback to barcode()
rather than id()
.