Main Page
Namespaces
Classes
Package Documentation
DataFormats
L1DTTrackFinder
src
L1MuDTChambPhDigi.cc
Go to the documentation of this file.
1
//-------------------------------------------------
2
//
3
// Class L1MuDTChambPhDigi
4
//
5
// Description: input data for PHTF trigger
6
//
7
//
8
// Author List: Jorge Troconiz UAM Madrid
9
//
10
//
11
//--------------------------------------------------
12
13
//-----------------------
14
// This Class's Header --
15
//-----------------------
16
#include "
DataFormats/L1DTTrackFinder/interface/L1MuDTChambPhDigi.h
"
17
18
//-------------------------------
19
// Collaborating Class Headers --
20
//-------------------------------
21
22
23
//---------------
24
// C++ Headers --
25
//---------------
26
27
//-------------------
28
// Initializations --
29
//-------------------
30
31
32
//----------------
33
// Constructors --
34
//----------------
35
L1MuDTChambPhDigi::L1MuDTChambPhDigi
() {
36
37
bx
= -100;
38
wheel
= 0;
39
sector
= 0;
40
station
= 0;
41
radialAngle
= 0;
42
bendingAngle
= 0;
43
qualityCode
= 7;
44
Ts2TagCode
= 0;
45
BxCntCode
= 0;
46
rpcBit
= -10;
47
}
48
49
L1MuDTChambPhDigi::L1MuDTChambPhDigi
(
int
ubx,
int
uwh,
int
usc,
int
ust,
50
int
uphr,
int
uphb,
int
uqua,
int
utag,
int
ucnt,
int
urpc ) {
51
52
bx
= ubx;
53
wheel
= uwh;
54
sector
= usc;
55
station
= ust;
56
radialAngle
= uphr;
57
bendingAngle
= uphb;
58
qualityCode
= uqua;
59
Ts2TagCode
= utag;
60
BxCntCode
= ucnt;
61
rpcBit
= urpc;
62
}
63
64
65
66
//--------------
67
// Destructor --
68
//--------------
69
L1MuDTChambPhDigi::~L1MuDTChambPhDigi
() {
70
}
71
72
//--------------
73
// Operations --
74
//--------------
75
int
L1MuDTChambPhDigi::bxNum
()
const
{
76
return
bx
;
77
}
78
79
int
L1MuDTChambPhDigi::whNum
()
const
{
80
return
wheel
;
81
}
82
int
L1MuDTChambPhDigi::scNum
()
const
{
83
return
sector
;
84
}
85
int
L1MuDTChambPhDigi::stNum
()
const
{
86
return
station
;
87
}
88
89
int
L1MuDTChambPhDigi::phi
()
const
{
90
return
radialAngle
;
91
}
92
93
int
L1MuDTChambPhDigi::phiB
()
const
{
94
return
bendingAngle
;
95
}
96
97
int
L1MuDTChambPhDigi::code
()
const
{
98
return
qualityCode
;
99
}
100
101
int
L1MuDTChambPhDigi::Ts2Tag
()
const
{
102
return
Ts2TagCode
%2;
103
}
104
105
int
L1MuDTChambPhDigi::BxCnt
()
const
{
106
return
BxCntCode
;
107
}
108
109
int
L1MuDTChambPhDigi::RpcBit
()
const
{
110
return
rpcBit
;
111
}
112
113
int
L1MuDTChambPhDigi::UpDownTag
()
const
{
114
return
Ts2TagCode
/2 ;
115
}
L1MuDTChambPhDigi.h
L1MuDTChambPhDigi::sector
int sector
Definition:
L1MuDTChambPhDigi.h:64
L1MuDTChambPhDigi::code
int code() const
Definition:
L1MuDTChambPhDigi.cc:97
L1MuDTChambPhDigi::phiB
int phiB() const
Definition:
L1MuDTChambPhDigi.cc:93
L1MuDTChambPhDigi::stNum
int stNum() const
Definition:
L1MuDTChambPhDigi.cc:85
L1MuDTChambPhDigi::wheel
int wheel
Definition:
L1MuDTChambPhDigi.h:63
L1MuDTChambPhDigi::phi
int phi() const
Definition:
L1MuDTChambPhDigi.cc:89
L1MuDTChambPhDigi::station
int station
Definition:
L1MuDTChambPhDigi.h:65
L1MuDTChambPhDigi::BxCnt
int BxCnt() const
Definition:
L1MuDTChambPhDigi.cc:105
L1MuDTChambPhDigi::Ts2TagCode
int Ts2TagCode
Definition:
L1MuDTChambPhDigi.h:69
L1MuDTChambPhDigi::UpDownTag
int UpDownTag() const
Definition:
L1MuDTChambPhDigi.cc:113
L1MuDTChambPhDigi::rpcBit
int rpcBit
Definition:
L1MuDTChambPhDigi.h:71
L1MuDTChambPhDigi::whNum
int whNum() const
Definition:
L1MuDTChambPhDigi.cc:79
L1MuDTChambPhDigi::qualityCode
int qualityCode
Definition:
L1MuDTChambPhDigi.h:68
L1MuDTChambPhDigi::~L1MuDTChambPhDigi
~L1MuDTChambPhDigi()
Definition:
L1MuDTChambPhDigi.cc:69
L1MuDTChambPhDigi::scNum
int scNum() const
Definition:
L1MuDTChambPhDigi.cc:82
L1MuDTChambPhDigi::bxNum
int bxNum() const
Definition:
L1MuDTChambPhDigi.cc:75
L1MuDTChambPhDigi::bx
int bx
Definition:
L1MuDTChambPhDigi.h:62
L1MuDTChambPhDigi::Ts2Tag
int Ts2Tag() const
Definition:
L1MuDTChambPhDigi.cc:101
L1MuDTChambPhDigi::RpcBit
int RpcBit() const
Definition:
L1MuDTChambPhDigi.cc:109
L1MuDTChambPhDigi::radialAngle
int radialAngle
Definition:
L1MuDTChambPhDigi.h:66
L1MuDTChambPhDigi::BxCntCode
int BxCntCode
Definition:
L1MuDTChambPhDigi.h:70
L1MuDTChambPhDigi::L1MuDTChambPhDigi
L1MuDTChambPhDigi()
Definition:
L1MuDTChambPhDigi.cc:35
L1MuDTChambPhDigi::bendingAngle
int bendingAngle
Definition:
L1MuDTChambPhDigi.h:67
Generated for CMSSW Reference Manual by
1.8.11