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
CommonTools
UtilAlgos
interface
MatchByDEta.h
Go to the documentation of this file.
1
#ifndef MatchByDEta_h_
2
#define MatchByDEta_h_
3
7
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
8
9
#include <cmath>
10
11
namespace
reco
{
12
template
<
typename
T1,
typename
T2>
13
class
MatchByDEta
{
14
public
:
15
MatchByDEta
(
const
edm::ParameterSet
&
cfg
) :
maxDEta_
(
cfg
.getParameter<double>(
"maxDeltaEta"
)) {}
16
bool
operator()
(
const
T1&
t1
,
const
T2&
t2
)
const
{
return
std::abs
(
t1
.eta() -
t2
.eta()) <
maxDEta_
; }
17
18
private
:
19
double
maxDEta_
;
20
};
21
}
// namespace reco
22
23
#endif
reco::MatchByDEta::operator()
bool operator()(const T1 &t1, const T2 &t2) const
Definition:
MatchByDEta.h:16
reco::MatchByDEta::MatchByDEta
MatchByDEta(const edm::ParameterSet &cfg)
Definition:
MatchByDEta.h:15
ParameterSet.h
reco::MatchByDEta::maxDEta_
double maxDEta_
Definition:
MatchByDEta.h:19
RandomServiceHelper.t1
t1
Definition:
RandomServiceHelper.py:256
funct::abs
Abs< T >::type abs(const T &t)
Definition:
Abs.h:22
looper.cfg
cfg
Definition:
looper.py:296
reco::MatchByDEta
Definition:
MatchByDEta.h:13
reco
fixed size matrix
Definition:
AlignmentAlgorithmBase.h:46
edm::ParameterSet
Definition:
ParameterSet.h:48
RandomServiceHelper.t2
t2
Definition:
RandomServiceHelper.py:257
Generated for CMSSW Reference Manual by
1.8.14