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
L1Trigger
Phase2L1ParticleFlow
src
firmware
pfalgo_common.h
Go to the documentation of this file.
1
#ifndef L1Trigger_Phase2L1ParticleFlow_FIRMWARE_PFALGO_COMMON_H
2
#define L1Trigger_Phase2L1ParticleFlow_FIRMWARE_PFALGO_COMMON_H
3
4
#include "
data.h
"
5
6
inline
int
dr2_int
(
etaphi_t
eta1
,
etaphi_t
phi1,
etaphi_t
eta2
,
etaphi_t
phi2) {
7
ap_int<etaphi_t::width + 1> deta = (
eta1
-
eta2
);
8
ap_int<etaphi_t::width + 1> dphi = (phi1 - phi2);
9
return
deta * deta + dphi * dphi;
10
}
11
12
#ifndef CMSSW_GIT_HASH
13
#define PFALGO_DR2MAX_TK_MU 2101
14
#endif
15
16
#endif
HLT_FULL_cff.eta2
eta2
Definition:
HLT_FULL_cff.py:9542
etaphi_t
ap_int< 10 > etaphi_t
Definition:
data.h:7
HLT_FULL_cff.eta1
eta1
Definition:
HLT_FULL_cff.py:9541
dr2_int
int dr2_int(etaphi_t eta1, etaphi_t phi1, etaphi_t eta2, etaphi_t phi2)
Definition:
pfalgo_common.h:6
data.h
Generated for CMSSW Reference Manual by
1.8.16