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