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
DTTrackFinder
src
L1MuDTTrackSegEta.h
Go to the documentation of this file.
1
//-------------------------------------------------
2
//
11
//
12
//--------------------------------------------------
13
#ifndef L1MUDT_TRACK_SEG_ETA_H
14
#define L1MUDT_TRACK_SEG_ETA_H
15
16
//---------------
17
// C++ Headers --
18
//---------------
19
20
#include <iosfwd>
21
22
//----------------------
23
// Base Class Headers --
24
//----------------------
25
26
//------------------------------------
27
// Collaborating Class Declarations --
28
//------------------------------------
29
30
#include "
L1Trigger/DTTrackFinder/src/L1MuDTTrackSegLoc.h
"
31
32
// ---------------------
33
// -- Class Interface --
34
// ---------------------
35
36
class
L1MuDTTrackSegEta
{
37
public
:
39
L1MuDTTrackSegEta
();
40
42
L1MuDTTrackSegEta
(
int
wheel_id,
int
sector_id,
int
station_id,
int
position
= 0,
int
quality
= 0,
int
bx
= 17);
43
45
L1MuDTTrackSegEta
(
const
L1MuDTTrackSegLoc
&,
int
position
= 0,
int
quality
= 0,
int
bx
= 17);
46
48
L1MuDTTrackSegEta
(
const
L1MuDTTrackSegEta
&);
49
51
virtual
~L1MuDTTrackSegEta
();
52
54
void
reset
();
55
57
inline
int
wheel
()
const
{
return
m_location
.
wheel
(); }
58
60
inline
int
sector
()
const
{
return
m_location
.
sector
(); }
61
63
inline
int
station
()
const
{
return
m_location
.
station
(); }
64
66
inline
const
L1MuDTTrackSegLoc
&
where
()
const
{
return
m_location
; }
67
69
inline
unsigned
int
position
()
const
{
return
m_position
; }
70
72
inline
unsigned
int
quality
()
const
{
return
m_quality
; }
73
75
inline
int
bx
()
const
{
return
m_bx
; }
76
78
inline
bool
empty
()
const
{
return
m_position
== 0; }
79
81
L1MuDTTrackSegEta
&
operator=
(
const
L1MuDTTrackSegEta
&);
82
84
bool
operator==
(
const
L1MuDTTrackSegEta
&)
const
;
85
87
bool
operator!=
(
const
L1MuDTTrackSegEta
&)
const
;
88
90
friend
std::ostream&
operator<<
(std::ostream&,
const
L1MuDTTrackSegEta
&);
91
92
private
:
93
L1MuDTTrackSegLoc
m_location
;
// logical location of a TS
94
unsigned
int
m_position
;
// 7 bits
95
unsigned
int
m_quality
;
// 7 bits
96
int
m_bx
;
// bunch crossing identifier
97
};
98
99
#endif
L1MuDTTrackSegLoc
Definition:
L1MuDTTrackSegLoc.h:41
L1MuDTTrackSegEta::wheel
int wheel() const
return wheel
Definition:
L1MuDTTrackSegEta.h:57
L1MuDTTrackSegEta::operator==
bool operator==(const L1MuDTTrackSegEta &) const
equal operator
Definition:
L1MuDTTrackSegEta.cc:90
L1MuDTTrackSegEta::operator!=
bool operator!=(const L1MuDTTrackSegEta &) const
unequal operator
Definition:
L1MuDTTrackSegEta.cc:105
L1MuDTTrackSegEta::station
int station() const
return station
Definition:
L1MuDTTrackSegEta.h:63
L1MuDTTrackSegEta::m_bx
int m_bx
Definition:
L1MuDTTrackSegEta.h:96
L1MuDTTrackSegEta::reset
void reset()
reset eta track segment
Definition:
L1MuDTTrackSegEta.cc:68
L1MuDTTrackSegEta::quality
unsigned int quality() const
return quality code
Definition:
L1MuDTTrackSegEta.h:72
L1MuDTTrackSegEta
Definition:
L1MuDTTrackSegEta.h:36
L1MuDTTrackSegEta::operator<<
friend std::ostream & operator<<(std::ostream &, const L1MuDTTrackSegEta &)
output stream operator
L1MuDTTrackSegLoc::wheel
int wheel() const
return wheel
Definition:
L1MuDTTrackSegLoc.h:56
L1MuDTTrackSegLoc.h
L1MuDTTrackSegLoc::station
int station() const
return station
Definition:
L1MuDTTrackSegLoc.h:62
L1MuDTTrackSegEta::empty
bool empty() const
is it an empty eta track segment?
Definition:
L1MuDTTrackSegEta.h:78
L1MuDTTrackSegEta::bx
int bx() const
return bunch crossing
Definition:
L1MuDTTrackSegEta.h:75
L1MuDTTrackSegEta::m_position
unsigned int m_position
Definition:
L1MuDTTrackSegEta.h:94
L1MuDTTrackSegEta::m_location
L1MuDTTrackSegLoc m_location
Definition:
L1MuDTTrackSegEta.h:93
L1MuDTTrackSegEta::L1MuDTTrackSegEta
L1MuDTTrackSegEta()
default constructor
Definition:
L1MuDTTrackSegEta.cc:45
L1MuDTTrackSegEta::position
unsigned int position() const
return position
Definition:
L1MuDTTrackSegEta.h:69
L1MuDTTrackSegEta::m_quality
unsigned int m_quality
Definition:
L1MuDTTrackSegEta.h:95
L1MuDTTrackSegEta::operator=
L1MuDTTrackSegEta & operator=(const L1MuDTTrackSegEta &)
assignment operator
Definition:
L1MuDTTrackSegEta.cc:77
L1MuDTTrackSegLoc::sector
int sector() const
return sector (30 deg)
Definition:
L1MuDTTrackSegLoc.h:59
L1MuDTTrackSegEta::sector
int sector() const
return sector
Definition:
L1MuDTTrackSegEta.h:60
L1MuDTTrackSegEta::~L1MuDTTrackSegEta
virtual ~L1MuDTTrackSegEta()
destructor
Definition:
L1MuDTTrackSegEta.cc:59
L1MuDTTrackSegEta::where
const L1MuDTTrackSegLoc & where() const
return location of eta track segment
Definition:
L1MuDTTrackSegEta.h:66
Generated for CMSSW Reference Manual by
1.8.16