Main Page
+
Namespaces
Namespace List
+
Namespace Members
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
+
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
+
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Properties
_
a
c
d
e
f
l
m
o
p
s
t
u
v
+
Related Functions
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Package Documentation
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
src
L1Trigger
L1THGCal
src
backend
HGCalTowerMap3DImpl.cc
Go to the documentation of this file.
1
8
#include "
L1Trigger/L1THGCal/interface/backend/HGCalTowerMap3DImpl.h
"
9
10
HGCalTowerMap3DImpl::HGCalTowerMap3DImpl
() {}
11
12
void
HGCalTowerMap3DImpl::buildTowerMap3D
(
const
std::vector
<
edm::Ptr<l1t::HGCalTowerMap>
>& towerMapsPtrs,
13
l1t::HGCalTowerBxCollection
&
towers
) {
14
l1t::HGCalTowerMap
towerMap;
15
16
for
(
const
auto
&
map
: towerMapsPtrs) {
17
if
(towerMap.
layer
() == 0)
18
towerMap = (*
map
);
19
else
20
towerMap += (*map);
21
}
22
23
for
(
const
auto
&
tower
: towerMap.
towers
()) {
24
// FIXME: make this threshold configurable
25
if
(
tower
.second.pt() > 0)
26
towers
.push_back(0,
tower
.second);
27
}
28
}
HGCalTowerMap3DImpl::HGCalTowerMap3DImpl
HGCalTowerMap3DImpl()
Definition:
HGCalTowerMap3DImpl.cc:10
l1t::HGCalTowerMap::layer
int layer() const
Definition:
HGCalTowerMap.h:21
edm::Ptr
Definition:
AssociationVector.h:31
HGCalTowerMap3DImpl::buildTowerMap3D
void buildTowerMap3D(const std::vector< edm::Ptr< l1t::HGCalTowerMap >> &towerMaps2D, l1t::HGCalTowerBxCollection &towerMap)
Definition:
HGCalTowerMap3DImpl.cc:12
l1t::HGCalTowerMap
Definition:
HGCalTowerMap.h:15
HLT_2023v12_cff.towers
towers
Definition:
HLT_2023v12_cff.py:28343
genParticles_cff.map
map
Definition:
genParticles_cff.py:11
trackerHitRTTI::vector
Definition:
trackerHitRTTI.h:21
BXVector< HGCalTower >
HGCalTowerMap3DImpl.h
l1t::HGCalTowerMap::towers
const std::unordered_map< unsigned short, l1t::HGCalTower > & towers() const
Definition:
HGCalTowerMap.h:28
l1tHGCalTowerProducer_cfi.tower
tower
Definition:
l1tHGCalTowerProducer_cfi.py:4
Generated for CMSSW Reference Manual by
1.8.14