#include <GNNR3_Geometry.h>
Definition at line 16 of file GNNR3_Geometry.h.
◆ TrigFTF_GNNR3_Layer()
| TrigFTF_GNNR3_Layer::TrigFTF_GNNR3_Layer |
( |
const TrigInDetSiLayer & | ls, |
|
|
float | ew, |
|
|
int | bin0 ) |
Definition at line 13 of file GNNR3_Geometry.cxx.
14
20 }
21 else {
26 }
27
29 float eta1 = -std::log(std::sqrt(1+t1*t1)-t1);
30
31
33 float eta2 = -std::log(std::sqrt(1+t2*t2)-t2);
34
37
41 }
42
45
47
48 int binCounter = bin0;
49
52 m_bins.push_back(binCounter++);
59 }
60 else {
65 }
66 }
67 else {
71
73
75 m_bins.push_back(binCounter++);
81 }
82 else {
87 }
88 }
89 else {
90
92
94
95 m_bins.push_back(binCounter++);
96
99
103 float z1 =
m_layer.m_refCoord*std::sinh(e1);
105 float z2 =
m_layer.m_refCoord*std::sinh(e2);
107 }
108 else {
109 float r =
m_layer.m_refCoord/std::sinh(e1);
112 r =
m_layer.m_refCoord/std::sinh(e2);
115
116 }
117
119 }
120 }
121 }
122}
Scalar eta() const
pseudorapidity method
const TrigInDetSiLayer & m_layer
std::vector< float > m_maxRadius
std::vector< int > m_bins
std::vector< float > m_maxBinCoord
std::vector< float > m_minRadius
std::vector< float > m_minBinCoord
std::vector< ALFA_RawDataContainer_p1 > t2
std::vector< ALFA_RawDataCollection_p1 > t1
double deltaEta(const I4Momentum &p1, const I4Momentum &p2)
Computes efficiently .
double e2(const xAOD::CaloCluster &cluster)
return the uncorrected cluster energy in 2nd sampling
double e1(const xAOD::CaloCluster &cluster)
return the uncorrected cluster energy in 1st sampling
setEt setPhi setE277 setWeta2 eta1
◆ ~TrigFTF_GNNR3_Layer()
| TrigFTF_GNNR3_Layer::~TrigFTF_GNNR3_Layer |
( |
| ) |
|
◆ getEtaBin()
| int TrigFTF_GNNR3_Layer::getEtaBin |
( |
float | zh, |
|
|
float | rh ) const |
Definition at line 184 of file GNNR3_Geometry.cxx.
184 {
185
187
189 float eta = -std::log(std::sqrt(1+t1*t1)-t1);
190
191
193
194
196 if(idx >=
static_cast<int>(
m_bins.size()))
idx =
static_cast<int>(
m_bins.size())-1;
197
199}
◆ getMaxBinRadius()
| float TrigFTF_GNNR3_Layer::getMaxBinRadius |
( |
int | idx | ) |
const |
◆ getMinBinRadius()
| float TrigFTF_GNNR3_Layer::getMinBinRadius |
( |
int | idx | ) |
const |
◆ num_bins()
| int TrigFTF_GNNR3_Layer::num_bins |
( |
| ) |
const |
|
inline |
◆ verifyBin()
| bool TrigFTF_GNNR3_Layer::verifyBin |
( |
const TrigFTF_GNNR3_Layer * | pL, |
|
|
int | b1, |
|
|
int | b2, |
|
|
float | min_z0, |
|
|
float | max_z0 ) const |
Definition at line 124 of file GNNR3_Geometry.cxx.
124 {
125
129
131
132 const float tol = 5.0;
133
136
138
141
142 float z0_min = z1min*
A - max_b2*
B;
143 float z0_max = z1max*
A - min_b2*
B;
144
145 if(z0_max < min_z0-tol || z0_min > max_z0+tol) return false;
146
147 return true;
148 }
149
151
152 const float tol = 10.0;
153
157
158 if(r2max <= r1) return false;
159
160 if(r2min <= r1) {
162 }
163
164 float z0_max = 0.0;
165 float z0_min = 0.0;
166
167 if(z2 > 0) {
168 z0_max = (z1max*r2max - z2*
r1)/(r2max-r1);
169 z0_min = (z1min*r2min - z2*
r1)/(r2min-r1);
170 }
171 else {
172 z0_max = (z1max*r2min - z2*
r1)/(r2min-r1);
173 z0_min = (z1min*r2max - z2*
r1)/(r2max-r1);
174 }
175
176 if(z0_max < min_z0-tol || z0_min > max_z0+tol) return false;
177 return true;
178 }
179
180 return true;
181}
◆ m_bins
| std::vector<int> TrigFTF_GNNR3_Layer::m_bins |
◆ m_etaBin
| float TrigFTF_GNNR3_Layer::m_etaBin |
◆ m_etaBinWidth
| float TrigFTF_GNNR3_Layer::m_etaBinWidth |
|
protected |
◆ m_layer
◆ m_maxBinCoord
| std::vector<float> TrigFTF_GNNR3_Layer::m_maxBinCoord |
◆ m_maxEta
| float TrigFTF_GNNR3_Layer::m_maxEta |
◆ m_maxRadius
| std::vector<float> TrigFTF_GNNR3_Layer::m_maxRadius |
◆ m_minBinCoord
| std::vector<float> TrigFTF_GNNR3_Layer::m_minBinCoord |
◆ m_minEta
| float TrigFTF_GNNR3_Layer::m_minEta |
◆ m_minRadius
| std::vector<float> TrigFTF_GNNR3_Layer::m_minRadius |
◆ m_nBins
| int TrigFTF_GNNR3_Layer::m_nBins |
|
protected |
◆ m_r1
| float TrigFTF_GNNR3_Layer::m_r1 |
|
protected |
◆ m_r2
| float TrigFTF_GNNR3_Layer::m_r2 |
|
protected |
◆ m_z1
| float TrigFTF_GNNR3_Layer::m_z1 |
|
protected |
◆ m_z2
| float TrigFTF_GNNR3_Layer::m_z2 |
|
protected |
The documentation for this class was generated from the following files: