ATLAS Offline Software
|
#include <egammaRec.h>
Public Member Functions | |
egammaRec ()=default | |
Default constructor implemented. More... | |
egammaRec (const std::vector< ElementLink< xAOD::CaloClusterContainer >> &caloClusterLinks) | |
Constructor which adds cluster links. More... | |
egammaRec (const egammaRec &)=default | |
Default copy/move ctor/assignment dtor. More... | |
egammaRec (egammaRec &&)=default | |
egammaRec & | operator= (const egammaRec &)=default |
egammaRec & | operator= (egammaRec &&)=default |
~egammaRec ()=default | |
size_t | getNumberOfClusters () const |
Return the number of xAOD::CaloClusters that define the electron candidate. More... | |
const xAOD::CaloCluster * | caloCluster (size_t index=0) const |
Pointer to the xAOD::CaloCluster/s that define the electron candidate. More... | |
ElementLink< xAOD::CaloClusterContainer > | caloClusterElementLink (size_t index=0) const |
ElementLink to the xAOD::CaloCluster/s that match the electron candidate. More... | |
void | setCaloClusters (const std::vector< ElementLink< xAOD::CaloClusterContainer >> &links) |
set Pointer to the xAOD::CaloCluster More... | |
const std::vector< ElementLink< xAOD::CaloClusterContainer > > & | caloClusterElementLinks () const |
Get a reference to the calo cluster links. More... | |
size_t | getNumberOfTrackParticles () const |
Return the number xAOD::TrackParticles that match the electron candidate. More... | |
const xAOD::TrackParticle * | trackParticle (size_t index=0) const |
Pointer to the xAOD::TrackParticle/s that match the electron candidate. More... | |
ElementLink< xAOD::TrackParticleContainer > | trackParticleElementLink (size_t index=0) const |
ElementLink to the xAOD::TrackParticle/s that match the electron candidate. More... | |
void | setTrackParticles (const std::vector< ElementLink< xAOD::TrackParticleContainer >> &links) |
Set the ElementLinks to the xAOD::TrackParticle/s that match the electron candidate. More... | |
const std::vector< ElementLink< xAOD::TrackParticleContainer > > & | trackParticleElementLinks () const |
Get a reference to the track particle links. More... | |
size_t | getNumberOfVertices () const |
Return the number xAOD::Vertex/vertices that match the photon candidate. More... | |
const xAOD::Vertex * | vertex (size_t index=0) const |
Pointer to the xAOD::Vertex/es that match the photon candidate. More... | |
ElementLink< xAOD::VertexContainer > | vertexElementLink (size_t index=0) const |
ElementLink to the xAOD::vertex/es that match the electron candidate. More... | |
void | setVertices (const std::vector< ElementLink< xAOD::VertexContainer >> &links) |
set Pointer to the xAOD::vertex/vertices that match the photon candidate More... | |
const std::vector< ElementLink< xAOD::VertexContainer > > & | vertexElementLinks () const |
Get a reference to the vertix links. More... | |
void | pushBackVertex (const ElementLink< xAOD::VertexContainer > &vertexElementLink) |
Push back another vertex. More... | |
void | pushFrontVertex (const ElementLink< xAOD::VertexContainer > &vertexElementLink) |
Push front another vertex. More... | |
matching variables for the best match track | |
const std::array< double, 4 > & | deltaEta () const |
deltaEta at pre sampler(0) -> 3rd sampling(3) More... | |
const std::array< double, 4 > & | deltaPhi () const |
deltaPhi at pre sampler(0) -> 3rd sampling(3) More... | |
const std::array< double, 4 > & | deltaPhiRescaled () const |
deltaPhi for rescaled momentum extrapolation from the perigee. More... | |
double | deltaPhiLast () const |
deltaPhi from Last measurement More... | |
void | setDeltaEta (const std::array< double, 4 > &deltaEtas) |
set deltaEta at pre sampler(0) -> 3rd sampling(3) More... | |
void | setDeltaPhi (const std::array< double, 4 > &deltaPhis) |
set Phi of track extrapolated at pre sampler(0) -> 3rd sampling(3) More... | |
void | setDeltaPhiRescaled (std::array< double, 4 > &deltaPhis) |
set deltaPhi at sampling for rescaled momentum extrapolation from the perigee. More... | |
void | setDeltaPhiLast (double value) |
set deltaPhi at sampling 2 from Last track Measurement More... | |
matching variables for the best match vertex | |
float | deltaEtaVtx () const |
deltaEtaVtx More... | |
float | deltaPhiVtx () const |
deltaPhiVtx More... | |
void | setDeltaEtaVtx (float value) |
set deltaEtaVtx More... | |
void | setDeltaPhiVtx (float value) |
set deltaPhiVtx More... | |
Private Attributes | |
std::vector< ElementLink< xAOD::CaloClusterContainer > > | m_caloClusters |
std::vector< ElementLink< xAOD::TrackParticleContainer > > | m_trackParticles |
std::vector< ElementLink< xAOD::VertexContainer > > | m_vertices |
std::array< double, 4 > | m_deltaEta {-999, -999, -999, -999} |
std::array< double, 4 > | m_deltaPhi {-999, -999, -999, -999} |
std::array< double, 4 > | m_deltaPhiRescaled {-999, -999, -999, -999} |
double | m_deltaPhiLast = -999 |
float | m_deltaEtaVtx = -999 |
float | m_deltaPhiVtx = -999 |
Represent an egamma object for internal egamma usage during reconstruction
Definition at line 30 of file egammaRec.h.
|
default |
Default constructor implemented.
egammaRec::egammaRec | ( | const std::vector< ElementLink< xAOD::CaloClusterContainer >> & | caloClusterLinks | ) |
Constructor which adds cluster links.
|
default |
|
default |
const xAOD::CaloCluster * egammaRec::caloCluster | ( | size_t | index = 0 | ) | const |
Pointer to the xAOD::CaloCluster/s that define the electron candidate.
Definition at line 8 of file egammaRec.cxx.
ElementLink< xAOD::CaloClusterContainer > egammaRec::caloClusterElementLink | ( | size_t | index = 0 | ) | const |
ElementLink to the xAOD::CaloCluster/s that match the electron candidate.
Definition at line 17 of file egammaRec.cxx.
const std::vector< ElementLink< xAOD::CaloClusterContainer > > & egammaRec::caloClusterElementLinks | ( | ) | const |
Get a reference to the calo cluster links.
Definition at line 26 of file egammaRec.cxx.
const std::array<double,4>& egammaRec::deltaEta | ( | ) | const |
deltaEta at pre sampler(0) -> 3rd sampling(3)
float egammaRec::deltaEtaVtx | ( | ) | const |
deltaEtaVtx
const std::array<double,4>& egammaRec::deltaPhi | ( | ) | const |
deltaPhi at pre sampler(0) -> 3rd sampling(3)
double egammaRec::deltaPhiLast | ( | ) | const |
deltaPhi from Last measurement
const std::array<double,4>& egammaRec::deltaPhiRescaled | ( | ) | const |
deltaPhi for rescaled momentum extrapolation from the perigee.
float egammaRec::deltaPhiVtx | ( | ) | const |
deltaPhiVtx
size_t egammaRec::getNumberOfClusters | ( | ) | const |
Return the number of xAOD::CaloClusters that define the electron candidate.
size_t egammaRec::getNumberOfTrackParticles | ( | ) | const |
Return the number xAOD::TrackParticles that match the electron candidate.
size_t egammaRec::getNumberOfVertices | ( | ) | const |
Return the number xAOD::Vertex/vertices that match the photon candidate.
void egammaRec::pushBackVertex | ( | const ElementLink< xAOD::VertexContainer > & | vertexElementLink | ) |
Push back another vertex.
Definition at line 76 of file egammaRec.cxx.
void egammaRec::pushFrontVertex | ( | const ElementLink< xAOD::VertexContainer > & | vertexElementLink | ) |
Push front another vertex.
Definition at line 82 of file egammaRec.cxx.
void egammaRec::setCaloClusters | ( | const std::vector< ElementLink< xAOD::CaloClusterContainer >> & | links | ) |
set Pointer to the xAOD::CaloCluster
void egammaRec::setDeltaEta | ( | const std::array< double, 4 > & | deltaEtas | ) |
set deltaEta at pre sampler(0) -> 3rd sampling(3)
void egammaRec::setDeltaEtaVtx | ( | float | value | ) |
set deltaEtaVtx
void egammaRec::setDeltaPhi | ( | const std::array< double, 4 > & | deltaPhis | ) |
set Phi of track extrapolated at pre sampler(0) -> 3rd sampling(3)
void egammaRec::setDeltaPhiLast | ( | double | value | ) |
set deltaPhi at sampling 2 from Last track Measurement
void egammaRec::setDeltaPhiRescaled | ( | std::array< double, 4 > & | deltaPhis | ) |
set deltaPhi at sampling for rescaled momentum extrapolation from the perigee.
void egammaRec::setDeltaPhiVtx | ( | float | value | ) |
set deltaPhiVtx
void egammaRec::setTrackParticles | ( | const std::vector< ElementLink< xAOD::TrackParticleContainer >> & | links | ) |
Set the ElementLinks to the xAOD::TrackParticle/s that match the electron candidate.
void egammaRec::setVertices | ( | const std::vector< ElementLink< xAOD::VertexContainer >> & | links | ) |
set Pointer to the xAOD::vertex/vertices that match the photon candidate
const xAOD::TrackParticle * egammaRec::trackParticle | ( | size_t | index = 0 | ) | const |
Pointer to the xAOD::TrackParticle/s that match the electron candidate.
Definition at line 31 of file egammaRec.cxx.
ElementLink< xAOD::TrackParticleContainer > egammaRec::trackParticleElementLink | ( | size_t | index = 0 | ) | const |
ElementLink to the xAOD::TrackParticle/s that match the electron candidate.
Definition at line 40 of file egammaRec.cxx.
const std::vector< ElementLink< xAOD::TrackParticleContainer > > & egammaRec::trackParticleElementLinks | ( | ) | const |
Get a reference to the track particle links.
Definition at line 49 of file egammaRec.cxx.
const xAOD::Vertex * egammaRec::vertex | ( | size_t | index = 0 | ) | const |
Pointer to the xAOD::Vertex/es that match the photon candidate.
Definition at line 54 of file egammaRec.cxx.
ElementLink< xAOD::VertexContainer > egammaRec::vertexElementLink | ( | size_t | index = 0 | ) | const |
ElementLink to the xAOD::vertex/es that match the electron candidate.
Definition at line 63 of file egammaRec.cxx.
const std::vector< ElementLink< xAOD::VertexContainer > > & egammaRec::vertexElementLinks | ( | ) | const |
Get a reference to the vertix links.
Definition at line 71 of file egammaRec.cxx.
|
private |
Definition at line 146 of file egammaRec.h.
|
private |
Definition at line 150 of file egammaRec.h.
|
private |
Definition at line 155 of file egammaRec.h.
|
private |
Definition at line 151 of file egammaRec.h.
|
private |
Definition at line 154 of file egammaRec.h.
|
private |
Definition at line 152 of file egammaRec.h.
|
private |
Definition at line 156 of file egammaRec.h.
|
private |
Definition at line 147 of file egammaRec.h.
|
private |
Definition at line 148 of file egammaRec.h.