|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef EGAMMARECEVENT_EGAMMA_H
6 #define EGAMMARECEVENT_EGAMMA_H
14 #include "AthLinks/ElementLink.h"
egammaRec(const std::vector< ElementLink< xAOD::CaloClusterContainer >> &caloClusterLinks)
Constructor which adds cluster links.
void setCaloClusters(const std::vector< ElementLink< xAOD::CaloClusterContainer >> &links)
set Pointer to the xAOD::CaloCluster
const std::array< double, 4 > & deltaPhiRescaled() const
deltaPhi for rescaled momentum extrapolation from the perigee.
void pushFrontVertex(const ElementLink< xAOD::VertexContainer > &vertexElementLink)
Push front another vertex.
void setDeltaPhiLast(double value)
set deltaPhi at sampling 2 from Last track Measurement
ElementLink< xAOD::VertexContainer > vertexElementLink(size_t index=0) const
ElementLink to the xAOD::vertex/es that match the electron candidate.
size_t getNumberOfVertices() const
Return the number xAOD::Vertex/vertices that match the photon candidate.
void setDeltaPhi(const std::array< double, 4 > &deltaPhis)
set Phi of track extrapolated at pre sampler(0) -> 3rd sampling(3)
ElementLink< xAOD::CaloClusterContainer > caloClusterElementLink(size_t index=0) const
ElementLink to the xAOD::CaloCluster/s that match the electron candidate.
void setDeltaEta(const std::array< double, 4 > &deltaEtas)
set deltaEta at pre sampler(0) -> 3rd sampling(3)
egammaRec & operator=(egammaRec &&)=default
const xAOD::CaloCluster * caloCluster(size_t index=0) const
Pointer to the xAOD::CaloCluster/s that define the electron candidate.
const std::vector< ElementLink< xAOD::TrackParticleContainer > > & trackParticleElementLinks() const
Get a reference to the track particle links.
const std::array< double, 4 > & deltaEta() const
deltaEta at pre sampler(0) -> 3rd sampling(3)
std::vector< ElementLink< xAOD::VertexContainer > > m_vertices
std::vector< ElementLink< xAOD::CaloClusterContainer > > m_caloClusters
size_t getNumberOfClusters() const
Return the number of xAOD::CaloClusters that define the electron candidate.
Description of a calorimeter cluster.
const std::array< double, 4 > & deltaPhi() const
deltaPhi at pre sampler(0) -> 3rd sampling(3)
void setDeltaPhiVtx(float value)
set deltaPhiVtx
double deltaPhiLast() const
deltaPhi from Last measurement
const std::vector< ElementLink< xAOD::CaloClusterContainer > > & caloClusterElementLinks() const
Get a reference to the calo cluster links.
std::array< double, 4 > m_deltaEta
void pushBackVertex(const ElementLink< xAOD::VertexContainer > &vertexElementLink)
Push back another vertex.
void setTrackParticles(const std::vector< ElementLink< xAOD::TrackParticleContainer >> &links)
Set the ElementLinks to the xAOD::TrackParticle/s that match the electron candidate.
ElementLink< xAOD::TrackParticleContainer > trackParticleElementLink(size_t index=0) const
ElementLink to the xAOD::TrackParticle/s that match the electron candidate.
float deltaPhiVtx() const
deltaPhiVtx
void setVertices(const std::vector< ElementLink< xAOD::VertexContainer >> &links)
set Pointer to the xAOD::vertex/vertices that match the photon candidate
size_t getNumberOfTrackParticles() const
Return the number xAOD::TrackParticles that match the electron candidate.
const xAOD::TrackParticle * trackParticle(size_t index=0) const
Pointer to the xAOD::TrackParticle/s that match the electron candidate.
void setDeltaEtaVtx(float value)
set deltaEtaVtx
ElementLink implementation for ROOT usage.
std::vector< ElementLink< xAOD::TrackParticleContainer > > m_trackParticles
const std::vector< ElementLink< xAOD::VertexContainer > > & vertexElementLinks() const
Get a reference to the vertix links.
egammaRec(const egammaRec &)=default
Default copy/move ctor/assignment dtor.
egammaRec()=default
Default constructor implemented.
Class describing a Vertex.
const xAOD::Vertex * vertex(size_t index=0) const
Pointer to the xAOD::Vertex/es that match the photon candidate.
void setDeltaPhiRescaled(std::array< double, 4 > &deltaPhis)
set deltaPhi at sampling for rescaled momentum extrapolation from the perigee.
egammaRec(egammaRec &&)=default
egammaRec & operator=(const egammaRec &)=default
Class describing a TrackParticle.
std::array< double, 4 > m_deltaPhi
std::array< double, 4 > m_deltaPhiRescaled
float deltaEtaVtx() const
deltaEtaVtx