ATLAS Offline Software
Loading...
Searching...
No Matches
TruthDecoratorHelpers.h File Reference
Include dependency graph for TruthDecoratorHelpers.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  FlavorTagDiscriminants
namespace  FlavorTagDiscriminants::TruthDecoratorHelpers
namespace  FlavorTagDiscriminants::TruthDecoratorHelpers::TruthType
namespace  FlavorTagDiscriminants::TruthDecoratorHelpers::TruthSource

Enumerations

enum  FlavorTagDiscriminants::TruthDecoratorHelpers::TruthType::Label {
  FlavorTagDiscriminants::TruthDecoratorHelpers::TruthType::NoTruth = 0 , FlavorTagDiscriminants::TruthDecoratorHelpers::TruthType::Other = 1 , FlavorTagDiscriminants::TruthDecoratorHelpers::TruthType::Pion = 2 , FlavorTagDiscriminants::TruthDecoratorHelpers::TruthType::Kaon = 3 ,
  FlavorTagDiscriminants::TruthDecoratorHelpers::TruthType::Lambda = 4 , FlavorTagDiscriminants::TruthDecoratorHelpers::TruthType::Electron = 5 , FlavorTagDiscriminants::TruthDecoratorHelpers::TruthType::Muon = 6 , FlavorTagDiscriminants::TruthDecoratorHelpers::TruthType::Photon = 7
}
enum  FlavorTagDiscriminants::TruthDecoratorHelpers::TruthSource::Label {
  FlavorTagDiscriminants::TruthDecoratorHelpers::TruthSource::NoTruth = 0 , FlavorTagDiscriminants::TruthDecoratorHelpers::TruthSource::NotSecondary = 1 , FlavorTagDiscriminants::TruthDecoratorHelpers::TruthSource::HadronicInteraction = 2 , FlavorTagDiscriminants::TruthDecoratorHelpers::TruthSource::StrangeMesonDecay = 3 ,
  FlavorTagDiscriminants::TruthDecoratorHelpers::TruthSource::StrangeBaryonDecay = 4 , FlavorTagDiscriminants::TruthDecoratorHelpers::TruthSource::GammaConversion = 5 , FlavorTagDiscriminants::TruthDecoratorHelpers::TruthSource::Other = 6
}

Functions

bool FlavorTagDiscriminants::TruthDecoratorHelpers::sort_particles (const xAOD::IParticle *particle_A, const xAOD::IParticle *particle_B)
int FlavorTagDiscriminants::TruthDecoratorHelpers::get_truth_type (const xAOD::TruthParticle *truth_particle)
int FlavorTagDiscriminants::TruthDecoratorHelpers::get_source_type (const int origin)
bool FlavorTagDiscriminants::TruthDecoratorHelpers::is_bc_hadron (const xAOD::TruthParticle *truth_particle, int flavour)
bool FlavorTagDiscriminants::TruthDecoratorHelpers::is_weakly_decaying_hadron (const xAOD::TruthParticle *truth_particle)
bool FlavorTagDiscriminants::TruthDecoratorHelpers::is_weakly_decaying_hadron (const xAOD::TruthParticle *truth_particle, int flavour)
const xAOD::TruthParticleFlavorTagDiscriminants::TruthDecoratorHelpers::get_parent_hadron (const xAOD::TruthParticle *truth_particle, bool user_called=true, int depth=0)
const xAOD::TruthVertexFlavorTagDiscriminants::TruthDecoratorHelpers::get_truth_vertex (const xAOD::TruthParticle *truth)
float FlavorTagDiscriminants::TruthDecoratorHelpers::get_distance (const xAOD::TruthVertex *vertex_A, const xAOD::TruthVertex *vertex_B)
int FlavorTagDiscriminants::TruthDecoratorHelpers::get_vertex_index (const xAOD::TruthVertex *vertex, const xAOD::TruthVertex *truth_PV, std::vector< const xAOD::TruthVertex * > &seen_vertices, const float truthVertexMergeDistance)