ATLAS Offline Software
Loading...
Searching...
No Matches
egammaRec.icc
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3*/
4
5inline
6egammaRec::egammaRec(const std::vector<ElementLink<xAOD::CaloClusterContainer>> &caloClusterLinks) : m_caloClusters(caloClusterLinks)
7{
8}
9
10inline size_t
11egammaRec::getNumberOfClusters() const
12{
13 return m_caloClusters.size();
14}
15inline void
16egammaRec::setCaloClusters(const std::vector<ElementLink<xAOD::CaloClusterContainer>>& links)
17{
18 m_caloClusters = links;
19}
20
21inline size_t
22egammaRec::getNumberOfTrackParticles() const
23{
24 return m_trackParticles.size();
25}
26inline void
27egammaRec::setTrackParticles(const std::vector<ElementLink<xAOD::TrackParticleContainer>>& links)
28{
29 m_trackParticles = links;
30}
31
32inline size_t
33egammaRec::getNumberOfVertices() const
34{
35 return m_vertices.size();
36}
37
38inline void
39egammaRec::setVertices(const std::vector<ElementLink<xAOD::VertexContainer>>& links)
40{
41 m_vertices = links;
42}
43
44inline const std::array<double, 4>&
45egammaRec::deltaEta() const
46{
47 return m_deltaEta;
48}
49
50inline const std::array<double, 4>&
51egammaRec::deltaPhi() const
52{
53 return m_deltaPhi;
54}
55
56inline const std::array<double, 4>&
57egammaRec::deltaPhiRescaled() const
58{
59 return m_deltaPhiRescaled;
60}
61
62inline double
63egammaRec::deltaPhiLast() const
64{
65 return m_deltaPhiLast;
66}
67
68inline void
69egammaRec::setDeltaEta(const std::array<double, 4>& value)
70{
71 m_deltaEta = value;
72}
73
74inline void
75egammaRec::setDeltaPhi(const std::array<double, 4>& value)
76{
77 m_deltaPhi = value;
78}
79
80inline void
81egammaRec::setDeltaPhiRescaled(std::array<double, 4>& value)
82{
83 m_deltaPhiRescaled = value;
84}
85
86inline void
87egammaRec::setDeltaPhiLast(double value)
88{
89 m_deltaPhiLast = value;
90}
91
92inline float
93egammaRec::deltaEtaVtx() const
94{
95 return m_deltaEtaVtx;
96}
97
98inline float
99egammaRec::deltaPhiVtx() const
100{
101 return m_deltaPhiVtx;
102}
103
104inline void
105egammaRec::setDeltaEtaVtx(float value)
106{
107 m_deltaEtaVtx = value;
108}
109
110inline void
111egammaRec::setDeltaPhiVtx(float value)
112{
113 m_deltaPhiVtx = value;
114}
115