ATLAS Offline Software
Loading...
Searching...
No Matches
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:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

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

Functions

const xAOD::ElectronxAOD::EgammaHelpers::getRecoElectron (const xAOD::TruthParticle *)
 return the reco electron associated to the given TruthParticle (if any)
const xAOD::PhotonxAOD::EgammaHelpers::getRecoPhoton (const xAOD::TruthParticle *particle)
 return the reco photon associated to the given TruthParticle (if any)
bool xAOD::EgammaHelpers::isTrueConvertedPhoton (const xAOD::Photon *ph, float maxRadius=800.)
 is the object matched to a true converted photon with R < maxRadius
bool xAOD::EgammaHelpers::isTrueConvertedPhoton (const xAOD::TruthParticle *truePh, float maxRadius=800.)
 is the true object a converted photon with R < maxRadius
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.
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.
const xAOD::TruthParticlexAOD::EgammaHelpers::getBkgElectronMother (const xAOD::TruthParticle *truthel, const bool allTheWayBack=true)
 Helper function for getting the "Mother" electron for an existing electron.
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.