TruthUtils: Bugfix for get_particle_history function
In ATLPHYSVAL-1192 it was observed that jobs using the new (barcode-less) xAOD::TruthParticle EDM were failing in the get_particle_history
helper function. This was traced to a missing check for nullptr
. This does not appear in jobs using the current barcode-based EDM as in that case get_particle_history
is not used to find the initial xAOD::TruthParticle
corresponding to a physical truth particle before any interactions.