|
ATLAS Offline Software
|
Go to the documentation of this file.
8 #ifndef XAOD_EGAMMAXAODHELPERS_H
9 #define XAOD_EGAMMAXAODHELPERS_H
30 namespace EgammaHelpers{
73 bool useBremAssoc =
true,
bool allParticles =
true);
80 bool useBremAssoc =
true,
bool allParticles =
true);
93 double&
e2,
double&
e3);
99 #endif // XAOD_EGAMMAXAODHELPERS_H
unsigned short 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 th...
float summaryValueFloat(const xAOD::TrackParticle &tp, const xAOD::SummaryType &info, float deflt=-999.)
return the summary value for a TrackParticle or default value (-999)
std::vector< const xAOD::CaloCluster * > getAssociatedTopoClusters(const xAOD::CaloCluster *cluster)
Return a vector of all the topo clusters associated with the egamma cluster.
std::vector< const xAOD::FlowElement * > 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)
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
std::set< const xAOD::TrackParticle * > 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.
std::vector< const xAOD::TrackParticle * > 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.
bool isBarrel(const xAOD::Egamma *eg)
return true if the cluster is in the barrel
Description of a calorimeter cluster.
SummaryType
Enumerates the different types of information stored in Summary.
bool isConvertedPhoton(const xAOD::Egamma *eg, bool excludeTRT=false)
is the object a converted photon
bool isElectron(const xAOD::Egamma *eg)
is the object an electron (not Fwd)
std::vector< ElementLink< xAOD::CaloClusterContainer > > getAssociatedTopoClustersLinks(const xAOD::CaloCluster *cluster)
Return a vector of all the elementlinks to the topo clusters associated with the egamma cluster.
bool isFwdElectron(const xAOD::Egamma *eg)
is the object a Fwd electron
int 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 whe...
bool isFCAL(const xAOD::CaloCluster *cluster)
return true if the cluster (or the majority of its energy) is in the FCAL0
std::vector< ElementLink< xAOD::FlowElementContainer > > getAssociatedFlowElementsLinks(const xAOD::Egamma *eg, bool neutral=true)
Return a vector of the elementlinks to the flow elements associated with the egamma cluster (neutral ...
double e2(const xAOD::CaloCluster &cluster)
return the uncorrected cluster energy in 2nd sampling
bool isPhoton(const xAOD::Egamma *eg)
is the object a photon
Class describing a TrackParticle.