ATLAS Offline Software
|
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) More... | |
const xAOD::TruthParticle * | getFinalCopy (const xAOD::TruthParticle &particle) |
Return the final copy of the truth particle (or same particle if no copies done) More... | |
int | getParticleTruthType (const xAOD::IParticle &p) |
Return the particle's truth type (as defined by the MC Truth Classifier) More... | |
int | getParticleTruthOrigin (const xAOD::IParticle &p) |
Return the particle's truth origin (as defined by the MC Truth Classifier) More... | |
Dedicated namespace for the helper functions.
const TruthParticle * xAOD::TruthHelpers::getFinalCopy | ( | const xAOD::TruthParticle & | particle | ) |
Return the final copy of the truth particle (or same particle if no copies done)
particle | The truth particle we want to get the final copy of |
Definition at line 69 of file xAODTruthHelpers.cxx.
int xAOD::TruthHelpers::getParticleTruthOrigin | ( | const xAOD::IParticle & | p | ) |
Return the particle's truth origin (as defined by the MC Truth Classifier)
p | The particle that we want to find the truth origin of |
A static accessor for the information
Definition at line 109 of file xAODTruthHelpers.cxx.
int xAOD::TruthHelpers::getParticleTruthType | ( | const xAOD::IParticle & | p | ) |
Return the particle's truth type (as defined by the MC Truth Classifier)
p | The particle that we want to find the truth type of |
A static accessor for the information
Definition at line 91 of file xAODTruthHelpers.cxx.
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
Alternative name - this may work in case of TRUTH3 / small truth collections
Definition at line 25 of file xAODTruthHelpers.cxx.