ATLAS Offline Software
Namespaces | Functions
EgammaxAODHelpers.h File Reference
#include "xAODEgamma/EgammaFwd.h"
#include "xAODPFlow/FlowElement.h"
#include "xAODPFlow/FlowElementContainer.h"
#include "xAODCaloEvent/CaloClusterFwd.h"
#include "xAODTracking/TrackParticle.h"
#include "xAODCaloEvent/CaloClusterContainer.h"
#include "xAODEgamma/ElectronxAODHelpers.h"
#include "xAODEgamma/PhotonxAODHelpers.h"
#include "xAODEgamma/EgammaTruthxAODHelpers.h"
#include <cstddef>
#include <set>
#include <vector>

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

bool xAOD::EgammaHelpers::isElectron (const xAOD::Egamma *eg)
 is the object an electron (not Fwd) More...
 
bool xAOD::EgammaHelpers::isFwdElectron (const xAOD::Egamma *eg)
 is the object a Fwd electron More...
 
bool xAOD::EgammaHelpers::isPhoton (const xAOD::Egamma *eg)
 is the object a photon More...
 
bool xAOD::EgammaHelpers::isConvertedPhoton (const xAOD::Egamma *eg, bool excludeTRT=false)
 is the object a converted photon More...
 
bool xAOD::EgammaHelpers::isBarrel (const xAOD::Egamma *eg)
 return true if the cluster is in the barrel More...
 
bool xAOD::EgammaHelpers::isBarrel (const xAOD::CaloCluster *cluster)
 return true if the cluster (or the majority of its energy) is in the barrel More...
 
bool xAOD::EgammaHelpers::isFCAL (const xAOD::CaloCluster *cluster)
 return true if the cluster (or the majority of its energy) is in the FCAL0 More...
 
std::vector< ElementLink< xAOD::CaloClusterContainer > > xAOD::EgammaHelpers::getAssociatedTopoClustersLinks (const xAOD::CaloCluster *cluster)
 Return a vector of all the elementlinks to the topo clusters associated with the egamma cluster. More...
 
std::vector< const xAOD::CaloCluster * > xAOD::EgammaHelpers::getAssociatedTopoClusters (const xAOD::CaloCluster *cluster)
 Return a vector of all the topo clusters associated with the egamma cluster. More...
 
std::vector< ElementLink< xAOD::FlowElementContainer > > xAOD::EgammaHelpers::getAssociatedFlowElementsLinks (const xAOD::Egamma *eg, bool neutral=true)
 Return a vector of the elementlinks to the flow elements associated with the egamma cluster (neutral for default) More...
 
std::vector< const xAOD::FlowElement * > xAOD::EgammaHelpers::getAssociatedFlowElements (const xAOD::Egamma *eg, bool neutral=true, bool charged=false)
 Return a vector of the flow elements associated with the egamma cluster (only neutral for default) More...
 
std::set< const xAOD::TrackParticle * > xAOD::EgammaHelpers::getTrackParticles (const xAOD::Egamma *eg, bool useBremAssoc=true, bool allParticles=true)
 Return a list of all or only the best TrackParticle associated to the object. More...
 
std::vector< const xAOD::TrackParticle * > xAOD::EgammaHelpers::getTrackParticlesVec (const xAOD::Egamma *eg, bool useBremAssoc=true, bool allParticles=true)
 Return a list of all or only the best TrackParticle associated to the object. More...
 
int xAOD::EgammaHelpers::summaryValueInt (const xAOD::TrackParticle &tp, const xAOD::SummaryType &info, int deflt=-999)
 return the summary value for a TrackParticle or default value (-999) (to be used mostly in python where uint8_t is converted to char and the Tracking does not provide unprotected methods) More...
 
float xAOD::EgammaHelpers::summaryValueFloat (const xAOD::TrackParticle &tp, const xAOD::SummaryType &info, float deflt=-999.)
 return the summary value for a TrackParticle or default value (-999) More...
 
unsigned short xAOD::EgammaHelpers::energyInMissingCells (const xAOD::Egamma &eg, double &e2, double &e3)
 Get the energies in sampling 2 and 3 that are in cells rejected by the topo-cluster timing cut but that would have been expected in a egamma cluster. More...