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
// C++ Headers --
24
//---------------
25
26
//-------------------
27
// Initializations --
28
//-------------------
29
30
//----------------
31
// Constructors --
32
//----------------
33
L1MuDTChambPhDigi::L1MuDTChambPhDigi
() {
34
bx
= -100;
35
wheel
= 0;
36
sector
= 0;
37
station
= 0;
38
radialAngle
= 0;
39
bendingAngle
= 0;
40
qualityCode
= 7;
41
Ts2TagCode
= 0;
42
BxCntCode
= 0;
43
rpcBit
= -10;
44
}
45
46
L1MuDTChambPhDigi::L1MuDTChambPhDigi
(
47
int
ubx,
int
uwh,
int
usc,
int
ust,
int
uphr,
int
uphb,
int
uqua,
int
utag,
int
ucnt,
int
urpc) {
48
bx
= ubx;
49
wheel
= uwh;
50
sector
= usc;
51
station
= ust;
52
radialAngle
= uphr;
53
bendingAngle
= uphb;
54
qualityCode
= uqua;
55
Ts2TagCode
= utag;
56
BxCntCode
= ucnt;
57
rpcBit
= urpc;
58
}
59
60
//--------------
61
// Destructor --
62
//--------------
63
L1MuDTChambPhDigi::~L1MuDTChambPhDigi
() {}
64
65
//--------------
66
// Operations --
67
//--------------
68
int
L1MuDTChambPhDigi::bxNum
()
const
{
return
bx
; }
69
70
int
L1MuDTChambPhDigi::whNum
()
const
{
return
wheel
; }
71
int
L1MuDTChambPhDigi::scNum
()
const
{
return
sector
; }
72
int
L1MuDTChambPhDigi::stNum
()
const
{
return
station
; }
73
74
int
L1MuDTChambPhDigi::phi
()
const
{
return
radialAngle
; }
75
76
int
L1MuDTChambPhDigi::phiB
()
const
{
return
bendingAngle
; }
77
78
int
L1MuDTChambPhDigi::code
()
const
{
return
qualityCode
; }
79
80
int
L1MuDTChambPhDigi::Ts2Tag
()
const
{
return
Ts2TagCode
% 2; }
81
82
int
L1MuDTChambPhDigi::BxCnt
()
const
{
return
BxCntCode
; }
83
84
int
L1MuDTChambPhDigi::RpcBit
()
const
{
return
rpcBit
; }
85
86
int
L1MuDTChambPhDigi::UpDownTag
()
const
{
return
Ts2TagCode
/ 2; }
L1MuDTChambPhDigi::BxCntCode
int BxCntCode
Definition:
L1MuDTChambPhDigi.h:64
L1MuDTChambPhDigi.h
L1MuDTChambPhDigi::stNum
int stNum() const
Definition:
L1MuDTChambPhDigi.cc:72
L1MuDTChambPhDigi::RpcBit
int RpcBit() const
Definition:
L1MuDTChambPhDigi.cc:84
L1MuDTChambPhDigi::whNum
int whNum() const
Definition:
L1MuDTChambPhDigi.cc:70
L1MuDTChambPhDigi::phiB
int phiB() const
Definition:
L1MuDTChambPhDigi.cc:76
L1MuDTChambPhDigi::UpDownTag
int UpDownTag() const
Definition:
L1MuDTChambPhDigi.cc:86
L1MuDTChambPhDigi::wheel
int wheel
Definition:
L1MuDTChambPhDigi.h:57
L1MuDTChambPhDigi::station
int station
Definition:
L1MuDTChambPhDigi.h:59
L1MuDTChambPhDigi::BxCnt
int BxCnt() const
Definition:
L1MuDTChambPhDigi.cc:82
L1MuDTChambPhDigi::phi
int phi() const
Definition:
L1MuDTChambPhDigi.cc:74
L1MuDTChambPhDigi::qualityCode
int qualityCode
Definition:
L1MuDTChambPhDigi.h:62
L1MuDTChambPhDigi::Ts2TagCode
int Ts2TagCode
Definition:
L1MuDTChambPhDigi.h:63
L1MuDTChambPhDigi::rpcBit
int rpcBit
Definition:
L1MuDTChambPhDigi.h:65
L1MuDTChambPhDigi::~L1MuDTChambPhDigi
~L1MuDTChambPhDigi()
Definition:
L1MuDTChambPhDigi.cc:63
L1MuDTChambPhDigi::bxNum
int bxNum() const
Definition:
L1MuDTChambPhDigi.cc:68
L1MuDTChambPhDigi::scNum
int scNum() const
Definition:
L1MuDTChambPhDigi.cc:71
L1MuDTChambPhDigi::radialAngle
int radialAngle
Definition:
L1MuDTChambPhDigi.h:60
L1MuDTChambPhDigi::bx
int bx
Definition:
L1MuDTChambPhDigi.h:56
L1MuDTChambPhDigi::Ts2Tag
int Ts2Tag() const
Definition:
L1MuDTChambPhDigi.cc:80
L1MuDTChambPhDigi::sector
int sector
Definition:
L1MuDTChambPhDigi.h:58
L1MuDTChambPhDigi::code
int code() const
Definition:
L1MuDTChambPhDigi.cc:78
L1MuDTChambPhDigi::bendingAngle
int bendingAngle
Definition:
L1MuDTChambPhDigi.h:61
L1MuDTChambPhDigi::L1MuDTChambPhDigi
L1MuDTChambPhDigi()
Definition:
L1MuDTChambPhDigi.cc:33
Generated for CMSSW Reference Manual by
1.8.16