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
CondFormats
L1TObjects
interface
L1MuDTPhiLut.h
Go to the documentation of this file.
1
//-------------------------------------------------
2
//
13
//
14
//--------------------------------------------------
15
#ifndef L1MUDT_PHI_LUT_H
16
#define L1MUDT_PHI_LUT_H
17
18
//---------------
19
// C++ Headers --
20
//---------------
21
22
#include "
CondFormats/Serialization/interface/Serializable.h
"
23
24
#include <vector>
25
#include <map>
26
#include <utility>
27
28
//----------------------
29
// Base Class Headers --
30
//----------------------
31
32
//------------------------------------
33
// Collaborating Class Declarations --
34
//------------------------------------
35
36
// ---------------------
37
// -- Class Interface --
38
// ---------------------
39
40
class
L1MuDTPhiLut
{
41
public
:
43
L1MuDTPhiLut
();
44
46
virtual
~L1MuDTPhiLut
();
47
49
void
reset
();
50
52
int
load
();
53
55
void
print
()
const
;
56
58
int
getDeltaPhi
(
int
idx
,
int
address)
const
;
59
61
std::pair<unsigned short, unsigned short>
getPrecision
()
const
;
62
63
private
:
65
void
setPrecision
();
66
67
private
:
68
typedef
std::map<short, short, std::less<short> >
LUT
;
69
70
std::vector<LUT>
phi_lut
;
71
72
unsigned
short
int
nbit_phi
;
73
unsigned
short
int
nbit_phib
;
74
75
COND_SERIALIZABLE
;
76
};
77
78
#endif
L1MuDTPhiLut::print
void print() const
print phi-assignment look-up tables
Definition:
L1MuDTPhiLut.cc:159
COND_SERIALIZABLE
#define COND_SERIALIZABLE
Definition:
Serializable.h:39
heavyIonCSV_trainingSettings.idx
idx
Definition:
heavyIonCSV_trainingSettings.py:5
L1MuDTPhiLut::LUT
std::map< short, short, std::less< short > > LUT
Definition:
L1MuDTPhiLut.h:68
L1MuDTPhiLut::setPrecision
void setPrecision()
set precision for look-up tables
Definition:
L1MuDTPhiLut.cc:233
L1MuDTPhiLut::phi_lut
std::vector< LUT > phi_lut
Definition:
L1MuDTPhiLut.h:70
L1MuDTPhiLut::nbit_phib
unsigned short int nbit_phib
Definition:
L1MuDTPhiLut.h:73
L1MuDTPhiLut::load
int load()
load phi-assignment look-up tables
Definition:
L1MuDTPhiLut.cc:86
Serializable.h
L1MuDTPhiLut::L1MuDTPhiLut
L1MuDTPhiLut()
constructor
Definition:
L1MuDTPhiLut.cc:51
L1MuDTPhiLut::getDeltaPhi
int getDeltaPhi(int idx, int address) const
get delta-phi for a given address (bend-angle)
Definition:
L1MuDTPhiLut.cc:220
L1MuDTPhiLut::reset
void reset()
reset phi-assignment look-up tables
Definition:
L1MuDTPhiLut.cc:81
L1MuDTPhiLut::~L1MuDTPhiLut
virtual ~L1MuDTPhiLut()
destructor
Definition:
L1MuDTPhiLut.cc:65
L1MuDTPhiLut
Definition:
L1MuDTPhiLut.h:40
L1MuDTPhiLut::nbit_phi
unsigned short int nbit_phi
Definition:
L1MuDTPhiLut.h:72
L1MuDTPhiLut::getPrecision
std::pair< unsigned short, unsigned short > getPrecision() const
get precision for look-up tables
Definition:
L1MuDTPhiLut.cc:241
Generated for CMSSW Reference Manual by
1.8.16