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
L1Trigger
L1TTrackMatch
interface
L1TkElectronEtComparator.h
Go to the documentation of this file.
1
#ifndef L1Trigger_L1TTrackMatch_L1TkElectronEtComparator_HH
2
#define L1Trigger_L1TTrackMatch_L1TkElectronEtComparator_HH
3
#include "
DataFormats/L1Trigger/interface/EGamma.h
"
4
5
namespace
L1TkElectron
{
6
class
EtComparator
{
7
public
:
8
bool
operator()
(
const
l1t::EGamma
&
a
,
const
l1t::EGamma
&
b
)
const
{
9
double
et_a = 0.0;
10
double
et_b = 0.0;
11
double
cosh_a_eta = cosh(
a
.eta());
12
double
cosh_b_eta = cosh(
b
.eta());
13
14
if
(cosh_a_eta > 0.0)
15
et_a =
a
.energy() / cosh_a_eta;
16
if
(cosh_b_eta > 0.0)
17
et_b =
b
.energy() / cosh_b_eta;
18
19
return
et_a > et_b;
20
}
21
};
22
}
// namespace L1TkElectron
23
#endif
EGamma.h
L1TkElectron::EtComparator::operator()
bool operator()(const l1t::EGamma &a, const l1t::EGamma &b) const
Definition:
L1TkElectronEtComparator.h:8
l1t::EGamma
Definition:
EGamma.h:20
L1TkElectron::EtComparator
Definition:
L1TkElectronEtComparator.h:6
b
double b
Definition:
hdecay.h:118
L1TkElectron
Definition:
L1TkElectronEtComparator.h:5
a
double a
Definition:
hdecay.h:119
Generated for CMSSW Reference Manual by
1.8.14