TruthUtils: Fix compilation with hepmc2.
Fix compilation in hepmc2 build.
GitLab Registry scheduled maintenance on Wednesday, October 09th 2024 as of 20:00h Geneva time for a period of 1 hour. Further information under https://cern.ch/otg0152540.
Fix compilation in hepmc2 build.