Skip to content

TruthUtils: Bugfix for get_particle_history function

John Derek Chapman requested to merge jchapman/athena:TruthUtilsBugFix_main into main

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::TruthParticlecorresponding to a physical truth particle before any interactions.

Merge request reports

Loading