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
RecoTracker
TkHitPairs
src
HitPairGenerator.cc
Go to the documentation of this file.
1
#include "
RecoTracker/TkHitPairs/interface/HitPairGenerator.h
"
2
3
HitPairGenerator::HitPairGenerator
(
unsigned
int
nSize) : localRA(nSize) {}
4
5
const
OrderedHitPairs
&
HitPairGenerator::run
(
const
TrackingRegion
&
region
,
6
const
edm::Event
&
ev
,
7
const
edm::EventSetup
& es) {
8
assert
(
thePairs
.empty());
9
assert
(
thePairs
.capacity() == 0);
10
thePairs
.reserve(
localRA
.
upper
());
11
hitPairs
(
region
,
thePairs
,
ev
, es);
12
thePairs
.shrink_to_fit();
13
return
thePairs
;
14
}
15
16
void
HitPairGenerator::clear
() {
17
localRA
.
update
(
thePairs
.
size
());
18
thePairs
.clear();
19
thePairs
.shrink_to_fit();
20
}
makeMEIFBenchmarkPlots.ev
ev
Definition:
makeMEIFBenchmarkPlots.py:55
edm::RunningAverage::upper
int upper() const
Definition:
RunningAverage.h:30
HitPairGenerator::localRA
edm::RunningAverage localRA
Definition:
HitPairGenerator.h:41
cms::cuda::assert
assert(be >=bs)
OrderedHitPairs
Definition:
OrderedHitPairs.h:8
TrackingRegion
Definition:
TrackingRegion.h:40
HitPairGenerator::hitPairs
virtual void hitPairs(const TrackingRegion ®, OrderedHitPairs &prs, const edm::Event &ev, const edm::EventSetup &es)=0
HitPairGenerator::run
const OrderedHitPairs & run(const TrackingRegion ®ion, const edm::Event &ev, const edm::EventSetup &es) override
Definition:
HitPairGenerator.cc:5
HitPairGenerator::clear
void clear() final
Definition:
HitPairGenerator.cc:16
edm::EventSetup
Definition:
EventSetup.h:56
OrderedHitPairs::size
unsigned int size() const override
Definition:
OrderedHitPairs.h:12
HitPairGenerator::thePairs
OrderedHitPairs thePairs
Definition:
HitPairGenerator.h:40
HitPairGenerator::HitPairGenerator
HitPairGenerator(unsigned int size=4000)
Definition:
HitPairGenerator.cc:3
nano_mu_digi_cff.region
region
Definition:
nano_mu_digi_cff.py:43
HitPairGenerator.h
edm::Event
Definition:
Event.h:73
edm::RunningAverage::update
void update(unsigned int q)
Definition:
RunningAverage.h:35
Generated for CMSSW Reference Manual by
1.8.14