TruthUtils: Hepmc2 fix
With hepmc2, particles get passed by pointer. If we try to pass by const reference, we can get thread-safety checker warnings. Fixes warning seen in MCTruth.
Please be advised that registry.cern.ch registry (Registry Service) will be unavailable next Monday, March 10th starting at 08:00h (Geneva time) for a short period of time. This may cause temporary disruptions to your workflows. Further information: OTG0154905
With hepmc2, particles get passed by pointer. If we try to pass by const reference, we can get thread-safety checker warnings. Fixes warning seen in MCTruth.