DataFormats
L1TMuon
interface
L1MuKBMTCombinedStub.h
Go to the documentation of this file.
1
//-------------------------------------------------
2
//
11
//
12
//--------------------------------------------------
13
#ifndef L1MUKBM_COMBINED_STUB_H
14
#define L1MUKBM_COMBINED_STUB_H
15
16
//---------------
17
// C++ Headers --
18
//---------------
19
20
#include <iosfwd>
21
#include <vector>
22
23
//----------------------
24
// Base Class Headers --
25
//----------------------
26
27
//------------------------------------
28
// Collaborating Class Declarations --
29
//------------------------------------
30
31
#include "
DataFormats/L1TMuon/interface/BMTF/L1MuBMTrackSegLoc.h
"
32
#include "
DataFormats/L1Trigger/interface/BXVector.h
"
33
#include "
DataFormats/Common/interface/Ref.h
"
34
35
// ---------------------
36
// -- Class Interface --
37
// ---------------------
38
39
class
L1MuKBMTCombinedStub
;
40
41
typedef
std::vector<L1MuKBMTCombinedStub>
L1MuKBMTCombinedStubCollection
;
42
typedef
edm::Ref<L1MuKBMTCombinedStubCollection>
L1MuKBMTCombinedStubRef
;
43
typedef
std::vector<edm::Ref<L1MuKBMTCombinedStubCollection> >
L1MuKBMTCombinedStubRefVector
;
44
45
class
L1MuKBMTCombinedStub
{
46
public
:
48
L1MuKBMTCombinedStub
();
49
51
L1MuKBMTCombinedStub
(
int
wheel
,
52
int
sector,
53
int
station
,
54
int
phi
,
55
int
phiB
,
56
bool
tag
,
57
int
bx
,
58
int
quality
,
59
int
eta1
= 0,
60
int
eta2
= 0,
61
int
qeta1
= -1,
62
int
qeta2
= -1);
63
~L1MuKBMTCombinedStub
();
65
inline
int
whNum
()
const
{
return
whNum_
; }
67
inline
int
scNum
()
const
{
return
scNum_
; }
69
inline
int
stNum
()
const
{
return
stNum_
; }
71
inline
int
phi
()
const
{
return
phi_
; }
73
inline
int
phiB
()
const
{
return
phiB_
; }
75
inline
int
quality
()
const
{
return
quality_
; }
77
inline
int
tag
()
const
{
return
tag_
; }
79
inline
int
bxNum
()
const
{
return
bxNum_
; }
80
82
inline
int
eta1
()
const
{
return
eta1_
; }
84
inline
int
eta2
()
const
{
return
eta2_
; }
86
inline
int
qeta1
()
const
{
return
qeta1_
; }
88
inline
int
qeta2
()
const
{
return
qeta2_
; }
89
91
L1MuKBMTCombinedStub
&
operator=
(
const
L1MuKBMTCombinedStub
&);
93
bool
operator==
(
const
L1MuKBMTCombinedStub
&)
const
;
95
bool
operator!=
(
const
L1MuKBMTCombinedStub
&)
const
;
96
98
friend
std::ostream&
operator<<
(std::ostream&,
const
L1MuKBMTCombinedStub
&);
99
100
private
:
101
int
whNum_
;
102
int
scNum_
;
103
int
stNum_
;
104
int
phi_
;
// 12 bits
105
int
phiB_
;
// 10 bits
106
bool
tag_
;
// tag for second TS (of chamber)
107
int
quality_
;
// 3 bits
108
int
bxNum_
;
// bunch crossing identifier
109
int
eta1_
;
//fine eta 1
110
int
eta2_
;
//fine eta 2
111
int
qeta1_
;
//fine eta quality 1
112
int
qeta2_
;
//fine eta quality 2
113
};
114
115
#endif
L1MuKBMTCombinedStub::whNum_
int whNum_
Definition:
L1MuKBMTCombinedStub.h:101
L1MuKBMTCombinedStub::eta1_
int eta1_
Definition:
L1MuKBMTCombinedStub.h:109
L1MuKBMTCombinedStub::phiB_
int phiB_
Definition:
L1MuKBMTCombinedStub.h:105
L1MuKBMTCombinedStub::operator==
bool operator==(const L1MuKBMTCombinedStub &) const
equal operator
Definition:
L1MuKBMTCombinedStub.cc:49
L1MuKBMTCombinedStub::quality
int quality() const
return quality code
Definition:
L1MuKBMTCombinedStub.h:75
BXVector.h
L1MuKBMTCombinedStub::phi
int phi() const
return phi
Definition:
L1MuKBMTCombinedStub.h:71
L1MuKBMTCombinedStub::qeta2
int qeta2() const
return second eta quality
Definition:
L1MuKBMTCombinedStub.h:88
relativeConstraints.station
station
Definition:
relativeConstraints.py:67
L1MuKBMTCombinedStub::quality_
int quality_
Definition:
L1MuKBMTCombinedStub.h:107
L1MuKBMTCombinedStubCollection
std::vector< L1MuKBMTCombinedStub > L1MuKBMTCombinedStubCollection
Definition:
L1MuKBMTCombinedStub.h:39
L1MuKBMTCombinedStub::phiB
int phiB() const
return phib
Definition:
L1MuKBMTCombinedStub.h:73
l1GtPatternGenerator_cfi.bx
bx
Definition:
l1GtPatternGenerator_cfi.py:18
L1MuKBMTCombinedStub::operator=
L1MuKBMTCombinedStub & operator=(const L1MuKBMTCombinedStub &)
assignment operator
L1MuKBMTCombinedStub::scNum_
int scNum_
Definition:
L1MuKBMTCombinedStub.h:102
L1MuKBMTCombinedStub::tag_
bool tag_
Definition:
L1MuKBMTCombinedStub.h:106
L1MuKBMTCombinedStub::qeta2_
int qeta2_
Definition:
L1MuKBMTCombinedStub.h:112
edm::Ref
Definition:
AssociativeIterator.h:58
L1MuKBMTCombinedStub::eta1
int eta1() const
return first eta
Definition:
L1MuKBMTCombinedStub.h:82
L1MuKBMTCombinedStub::stNum_
int stNum_
Definition:
L1MuKBMTCombinedStub.h:103
L1MuKBMTCombinedStub::phi_
int phi_
Definition:
L1MuKBMTCombinedStub.h:104
L1MuBMTrackSegLoc.h
L1MuKBMTCombinedStub
Definition:
L1MuKBMTCombinedStub.h:45
L1MuKBMTCombinedStub::~L1MuKBMTCombinedStub
~L1MuKBMTCombinedStub()
Definition:
L1MuKBMTCombinedStub.cc:47
L1MuKBMTCombinedStub::qeta1
int qeta1() const
return first eta quality
Definition:
L1MuKBMTCombinedStub.h:86
L1MuKBMTCombinedStub::operator!=
bool operator!=(const L1MuKBMTCombinedStub &) const
unequal operator
L1MuKBMTCombinedStub::eta2
int eta2() const
return second eta
Definition:
L1MuKBMTCombinedStub.h:84
L1MuKBMTCombinedStub::whNum
int whNum() const
return wheel
Definition:
L1MuKBMTCombinedStub.h:65
makeMuonMisalignmentScenario.wheel
wheel
Definition:
makeMuonMisalignmentScenario.py:319
L1MuKBMTCombinedStub::stNum
int stNum() const
return station
Definition:
L1MuKBMTCombinedStub.h:69
L1MuKBMTCombinedStub::bxNum_
int bxNum_
Definition:
L1MuKBMTCombinedStub.h:108
L1MuKBMTCombinedStub::tag
int tag() const
return tag (second TS tag)
Definition:
L1MuKBMTCombinedStub.h:77
Ref.h
L1MuKBMTCombinedStub::scNum
int scNum() const
return sector
Definition:
L1MuKBMTCombinedStub.h:67
L1MuKBMTCombinedStub::L1MuKBMTCombinedStub
L1MuKBMTCombinedStub()
default constructor
Definition:
L1MuKBMTCombinedStub.cc:8
L1MuKBMTCombinedStub::bxNum
int bxNum() const
return bunch crossing
Definition:
L1MuKBMTCombinedStub.h:79
L1MuKBMTCombinedStub::eta2_
int eta2_
Definition:
L1MuKBMTCombinedStub.h:110
L1MuKBMTCombinedStub::qeta1_
int qeta1_
Definition:
L1MuKBMTCombinedStub.h:111
L1MuKBMTCombinedStubRef
edm::Ref< L1MuKBMTCombinedStubCollection > L1MuKBMTCombinedStubRef
Definition:
L1MuKBMTCombinedStub.h:42
L1MuKBMTCombinedStub::operator<<
friend std::ostream & operator<<(std::ostream &, const L1MuKBMTCombinedStub &)
overload output stream operator for phi track segments
L1MuKBMTCombinedStubRefVector
std::vector< edm::Ref< L1MuKBMTCombinedStubCollection > > L1MuKBMTCombinedStubRefVector
Definition:
L1MuKBMTCombinedStub.h:43
Generated for CMSSW Reference Manual by
1.8.16