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
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
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
DataFormats
Common
src
ThinnedAssociation.cc
Go to the documentation of this file.
1
#include "
DataFormats/Common/interface/ThinnedAssociation.h
"
2
3
#include <algorithm>
4
5
namespace
edm
{
6
7
ThinnedAssociation::ThinnedAssociation
() {}
8
9
std::optional<unsigned int>
ThinnedAssociation::getThinnedIndex
(
unsigned
int
parentIndex)
const
{
10
auto
iter =
std::lower_bound
(
indexesIntoParent_
.begin(),
indexesIntoParent_
.end(), parentIndex);
11
if
(iter !=
indexesIntoParent_
.end() && *iter == parentIndex) {
12
return
iter -
indexesIntoParent_
.begin();
13
}
14
return
std::nullopt;
15
}
16
}
// namespace edm
edm
HLT enums.
Definition:
AlignableModifier.h:19
edm::ThinnedAssociation::ThinnedAssociation
ThinnedAssociation()
Definition:
ThinnedAssociation.cc:7
edm::ThinnedAssociation::getThinnedIndex
std::optional< unsigned int > getThinnedIndex(unsigned int parentIndex) const
Definition:
ThinnedAssociation.cc:9
pfDeepBoostedJetPreprocessParams_cfi.lower_bound
lower_bound
Definition:
pfDeepBoostedJetPreprocessParams_cfi.py:15
edm::ThinnedAssociation::indexesIntoParent_
std::vector< unsigned int > indexesIntoParent_
Definition:
ThinnedAssociation.h:42
ThinnedAssociation.h
Generated for CMSSW Reference Manual by
1.8.16