|
ATLAS Offline Software
|
Go to the documentation of this file.
7 #ifndef XAOD_PHOTONXAODHELPERS_H
8 #define XAOD_PHOTONXAODHELPERS_H
21 namespace EgammaHelpers{
60 bool useBremAssoc =
true);
67 bool useBremAssoc =
true);
74 #endif // XAOD_PHOTONXAODHELPERS_H
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.
std::size_t numberOfSiTracks(const xAOD::Photon *eg)
return the number of Si tracks in the conversion
bool isConvertedPhoton(const xAOD::Egamma *eg, bool excludeTRT=false)
is the object a converted photon
Amg::Vector3D momentumAtVertex(const xAOD::Photon *, bool debug=false)
return the momentum at the vertex (which can be 0)
float conversionRadius(const xAOD::Vertex *vx)
return the conversion radius or 9999.
Eigen::Matrix< double, 3, 1 > Vector3D
Class describing a Vertex.
xAOD::EgammaParameters::ConversionType conversionType(const xAOD::Photon *ph)
return the photon conversion type (see EgammaEnums)