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