Dedicated namespace for the helper functions. More...
Functions | |
const xAOD::TruthParticle * | getTruthParticle (const xAOD::IParticle &p) |
Return the truthParticle associated to the given IParticle (if any). | |
int | getParticleTruthType (const xAOD::IParticle &p) |
int | getParticleTruthOrigin (const xAOD::IParticle &p) |
Dedicated namespace for the helper functions.
int xAOD::TruthHelpers::getParticleTruthOrigin | ( | const xAOD::IParticle & | p | ) |
p | The particle that we want to find the truth origin of |
Return the particle's truth origin (as defined by the MC Truth Classifier)
A static accessor for the information
int xAOD::TruthHelpers::getParticleTruthType | ( | const xAOD::IParticle & | p | ) |
p | The particle that we want to find the truth type of |
Return the particle's truth type (as defined by the MC Truth Classifier)
A static accessor for the information
const TruthParticle * xAOD::TruthHelpers::getTruthParticle | ( | const xAOD::IParticle & | p | ) |
Return the truthParticle associated to the given IParticle (if any).
p | The particle that we find the associated truth particle for |
A convenience type declaration
A static accessor for the information