DataFormats
L1DTTrackFinder
src
L1Phase2MuDTExtPhDigi.cc
Go to the documentation of this file.
1
//-------------------------------------------------
2
//
3
// Class L1Phase2MuDTExtPhDigi.cc
4
//
5
// Description: trigger primtive data for the
6
// muon barrel Phase2 trigger
7
//
8
//
9
// Author List: Nicolo' Trevisani - Oviedo ICTEA
10
//
11
//
12
//--------------------------------------------------
13
14
//-----------------------
15
// This Class's Header --
16
//-----------------------
17
#include "
DataFormats/L1DTTrackFinder/interface/L1Phase2MuDTExtPhDigi.h
"
18
19
//-------------------------------
20
// Collaborating Class Headers --
21
//-------------------------------
22
23
//---------------
24
// C++ Headers --
25
//---------------
26
27
//-------------------
28
// Initializations --
29
//-------------------
30
31
//----------------
32
// Constructors --
33
//----------------
34
L1Phase2MuDTExtPhDigi::L1Phase2MuDTExtPhDigi
()
35
:
36
37
L1Phase2MuDTPhDigi
(),
38
39
m_xLocal(0),
40
m_tanPsi(0),
41
m_phiCMSSW(0),
42
m_phiBendCMSSW(0) {
43
for
(
int
i
= 0;
i
< 8;
i
++) {
44
m_pathWireId
[
i
] = -1;
45
m_pathTDC
[
i
] = -1;
46
m_pathLat
[
i
] = 2;
47
}
48
}
49
50
L1Phase2MuDTExtPhDigi::L1Phase2MuDTExtPhDigi
(
int
bx
,
51
int
wh,
52
int
sc,
53
int
st,
54
int
sl,
55
int
phi
,
56
int
phib,
57
int
qual,
58
int
idx
,
59
int
t0
,
60
int
chi2
,
61
int
x
,
62
int
tan
,
63
int
phi_cmssw,
64
int
phib_cmssw,
65
int
rpc
,
66
int
wireId[8],
67
int
tdc[8],
68
int
lat
[8])
69
:
70
71
L1Phase2MuDTPhDigi
(
bx
, wh, sc, st, sl,
phi
, phib, qual,
idx
,
t0
,
chi2
,
rpc
),
72
73
m_xLocal(
x
),
74
m_tanPsi(
tan
),
75
m_phiCMSSW(phi_cmssw),
76
m_phiBendCMSSW(phib_cmssw) {
77
for
(
int
i
= 0;
i
< 8;
i
++) {
78
m_pathWireId
[
i
] = wireId[
i
];
79
m_pathTDC
[
i
] = tdc[
i
];
80
m_pathLat
[
i
] =
lat
[
i
];
81
}
82
}
83
84
L1Phase2MuDTExtPhDigi::L1Phase2MuDTExtPhDigi
(
const
L1Phase2MuDTExtPhDigi
&digi)
85
:
86
87
L1Phase2MuDTPhDigi
(digi.bxNum(),
88
digi.whNum(),
89
digi.scNum(),
90
digi.stNum(),
91
digi.slNum(),
92
digi.
phi
(),
93
digi.phiBend(),
94
digi.
quality
(),
95
digi.
index
(),
96
digi.
t0
(),
97
digi.
chi2
(),
98
digi.rpcFlag()),
99
100
m_xLocal(digi.xLocal()),
101
m_tanPsi(digi.tanPsi()),
102
m_phiCMSSW(digi.phiCMSSW()),
103
m_phiBendCMSSW(digi.phiBendCMSSW()) {
104
for
(
int
i
= 0;
i
< 8;
i
++) {
105
m_pathWireId
[
i
] = digi.
pathWireId
(
i
);
106
m_pathTDC
[
i
] = digi.
pathTDC
(
i
);
107
m_pathLat
[
i
] = digi.
pathLat
(
i
);
108
}
109
}
110
111
//--------------
112
// Operations --
113
//--------------
114
115
int
L1Phase2MuDTExtPhDigi::xLocal
()
const
{
return
m_xLocal
; }
116
117
int
L1Phase2MuDTExtPhDigi::tanPsi
()
const
{
return
m_tanPsi
; }
118
119
int
L1Phase2MuDTExtPhDigi::phiCMSSW
()
const
{
return
m_phiCMSSW
; }
120
121
int
L1Phase2MuDTExtPhDigi::phiBendCMSSW
()
const
{
return
m_phiBendCMSSW
; }
122
123
int
L1Phase2MuDTExtPhDigi::pathWireId
(
int
i
)
const
{
return
m_pathWireId
[
i
]; }
124
125
int
L1Phase2MuDTExtPhDigi::pathTDC
(
int
i
)
const
{
return
m_pathTDC
[
i
]; }
126
127
int
L1Phase2MuDTExtPhDigi::pathLat
(
int
i
)
const
{
return
m_pathLat
[
i
]; }
FrontierCondition_GT_autoExpress_cfi.t0
t0
Definition:
FrontierCondition_GT_autoExpress_cfi.py:149
L1Phase2MuDTExtPhDigi::L1Phase2MuDTExtPhDigi
L1Phase2MuDTExtPhDigi()
Definition:
L1Phase2MuDTExtPhDigi.cc:34
L1Phase2MuDTExtPhDigi::m_pathWireId
int m_pathWireId[8]
Definition:
L1Phase2MuDTExtPhDigi.h:81
mps_fire.i
i
Definition:
mps_fire.py:429
L1Phase2MuDTExtPhDigi::tanPsi
int tanPsi() const
Definition:
L1Phase2MuDTExtPhDigi.cc:117
hltPixelTracks_cff.chi2
chi2
Definition:
hltPixelTracks_cff.py:25
PVValHelper::phi
Definition:
PVValidationHelpers.h:69
heavyIonCSV_trainingSettings.idx
idx
Definition:
heavyIonCSV_trainingSettings.py:5
omtf::DataWord64::rpc
Definition:
OmtfDataWord64.h:16
L1Phase2MuDTExtPhDigi::pathWireId
int pathWireId(int) const
Definition:
L1Phase2MuDTExtPhDigi.cc:123
L1Phase2MuDTExtPhDigi
Definition:
L1Phase2MuDTExtPhDigi.h:34
L1Phase2MuDTExtPhDigi::m_pathTDC
int m_pathTDC[8]
Definition:
L1Phase2MuDTExtPhDigi.h:82
lat
L1Phase2MuDTExtPhDigi::m_pathLat
int m_pathLat[8]
Definition:
L1Phase2MuDTExtPhDigi.h:83
L1Phase2MuDTExtPhDigi::xLocal
int xLocal() const
Definition:
L1Phase2MuDTExtPhDigi.cc:115
L1Phase2MuDTExtPhDigi::phiCMSSW
int phiCMSSW() const
Definition:
L1Phase2MuDTExtPhDigi.cc:119
simKBmtfDigis_cfi.bx
bx
Definition:
simKBmtfDigis_cfi.py:55
L1Phase2MuDTExtPhDigi::m_phiBendCMSSW
int m_phiBendCMSSW
Definition:
L1Phase2MuDTExtPhDigi.h:79
AlignmentPI::index
index
Definition:
AlignmentPayloadInspectorHelper.h:71
L1Phase2MuDTExtPhDigi::pathTDC
int pathTDC(int) const
Definition:
L1Phase2MuDTExtPhDigi.cc:125
funct::tan
Tan< T >::type tan(const T &t)
Definition:
Tan.h:22
L1Phase2MuDTPhDigi
Definition:
L1Phase2MuDTPhDigi.h:32
L1Phase2MuDTExtPhDigi::phiBendCMSSW
int phiBendCMSSW() const
Definition:
L1Phase2MuDTExtPhDigi.cc:121
L1Phase2MuDTExtPhDigi::pathLat
int pathLat(int) const
Definition:
L1Phase2MuDTExtPhDigi.cc:127
L1Phase2MuDTExtPhDigi::m_tanPsi
int m_tanPsi
Definition:
L1Phase2MuDTExtPhDigi.h:76
L1Phase2MuDTExtPhDigi.h
L1Phase2MuDTExtPhDigi::m_phiCMSSW
int m_phiCMSSW
Definition:
L1Phase2MuDTExtPhDigi.h:78
x
float x
Definition:
beamSpotDipStandalone.cc:55
quality
string quality
Definition:
beamSpotDipStandalone.cc:53
L1Phase2MuDTExtPhDigi::m_xLocal
int m_xLocal
Definition:
L1Phase2MuDTExtPhDigi.h:75
Generated for CMSSW Reference Manual by
1.8.14