ATLAS Offline Software
Namespaces | Functions
EgammaTruthxAODHelpers.h File Reference
#include "xAODEgamma/EgammaFwd.h"
#include "xAODEgamma/ElectronFwd.h"
#include "xAODEgamma/PhotonFwd.h"
#include "xAODTracking/TrackParticleFwd.h"
#include "xAODTruth/TruthParticleContainer.h"
#include "xAODTruth/TruthParticle.h"
#include <cstddef>
#include <set>
Include dependency graph for EgammaTruthxAODHelpers.h:

Go to the source code of this file.

Namespaces

 xAOD
 ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
 
 xAOD::EgammaHelpers
 

Functions

const xAOD::ElectronxAOD::EgammaHelpers::getRecoElectron (const xAOD::TruthParticle *)
 return the reco electron associated to the given TruthParticle (if any) More...
 
const xAOD::PhotonxAOD::EgammaHelpers::getRecoPhoton (const xAOD::TruthParticle *particle)
 return the reco photon associated to the given TruthParticle (if any) More...
 
bool xAOD::EgammaHelpers::isTrueConvertedPhoton (const xAOD::Photon *ph, float maxRadius=800.)
 is the object matched to a true converted photon with R < maxRadius More...
 
bool xAOD::EgammaHelpers::isTrueConvertedPhoton (const xAOD::TruthParticle *truePh, float maxRadius=800.)
 is the true object a converted photon with R < maxRadius More...
 
std::vector< const xAOD::TruthParticle * > xAOD::EgammaHelpers::getBkgElectronLineage (const xAOD::TruthParticle *truthel, const bool allTheWayBack=true)
 Helper function for getting the truth lineage of an electron that is arising from material interactions in simulation (so called Bkg Electron) There are cases when an electron has a photon (or electron) mother, that in turn comes from another electron of photon. More...
 
const xAOD::TruthParticlexAOD::EgammaHelpers::getBkgElectronMother (const xAOD::Electron *el, const bool allTheWayBack=true)
 Helper wrapper function for calling the function above extracting the truth from a reco electron. More...
 
const xAOD::TruthParticlexAOD::EgammaHelpers::getBkgElectronMother (const xAOD::TruthParticle *truthel, const bool allTheWayBack=true)
 Helper function for getting the "Mother" electron for an existing electron. More...
 
std::vector< const xAOD::TruthParticle * > xAOD::EgammaHelpers::getBkgElectronLineage (const xAOD::Electron *el, const bool allTheWayBack=true)
 Helper wrapper function for calling the function below that accepts truth input. More...