xAOD::TruthHelpers Namespace Reference

Dedicated namespace for the helper functions. More...

Functions

const xAOD::TruthParticlegetTruthParticle (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)

Detailed Description

Dedicated namespace for the helper functions.


Function Documentation

int xAOD::TruthHelpers::getParticleTruthOrigin ( const xAOD::IParticle p  ) 
Parameters:
p The particle that we want to find the truth origin of
Returns:
0 if the truth origin is not available, or the truth origin determined by MCTruthClassifier, if it is

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  ) 
Parameters:
p The particle that we want to find the truth type of
Returns:
0 if the truth type is not available, or the truth type determined by MCTruthClassifier, if it is

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).

Parameters:
p The particle that we find the associated truth particle for
Returns:
A pointer to the associated truth particle if available, or a null pointer if not

A convenience type declaration

A static accessor for the information

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 1 Dec 2017 for RootCore Packages by  doxygen 1.6.1