ATLAS Offline Software
Namespaces | Enumerations | Functions
TruthDecoratorHelpers.h File Reference
#include "xAODTruth/TruthVertex.h"
#include "xAODTruth/TruthParticle.h"
#include "InDetTrackSystematicsTools/InDetTrackTruthOriginDefs.h"
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

 FlavorTagDiscriminants
 This file contains "getter" functions used for accessing tagger inputs from the EDM.
 
 FlavorTagDiscriminants::TruthDecoratorHelpers
 
 FlavorTagDiscriminants::TruthDecoratorHelpers::TruthType
 
 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)