src
DataFormats
L1DTTrackFinder
src
L1Phase2MuDTExtThDigi.cc
Go to the documentation of this file.
1
//-------------------------------------------------
2
//
3
// Class L1Phase2MuDTExtThDigi.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/L1Phase2MuDTExtThDigi.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
L1Phase2MuDTExtThDigi::L1Phase2MuDTExtThDigi
()
35
:
36
37
L1Phase2MuDTThDigi
(),
38
39
m_yLocal(0),
40
m_zCMSSW(0),
41
m_kCMSSW(0) {
42
for
(
int
i
= 0;
i
< 4;
i
++) {
43
m_pathWireId
[
i
] = -1;
44
m_pathTDC
[
i
] = -1;
45
m_pathLat
[
i
] = 2;
46
}
47
}
48
49
L1Phase2MuDTExtThDigi::L1Phase2MuDTExtThDigi
(
int
bx
,
50
int
wh,
51
int
sc,
52
int
st,
53
int
z
,
54
int
k
,
55
int
qual,
56
int
idx
,
57
int
t0
,
58
int
chi2
,
59
int
y
,
60
int
z_cmssw,
61
int
k_cmssw,
62
int
rpc
,
63
int
wireId[4],
64
int
tdc[4],
65
int
lat
[4])
66
:
67
68
L1Phase2MuDTThDigi
(
bx
, wh, sc, st,
z
,
k
, qual,
idx
,
t0
,
chi2
,
rpc
),
69
70
m_yLocal(
y
),
71
m_zCMSSW(z_cmssw),
72
m_kCMSSW(k_cmssw) {
73
for
(
int
i
= 0;
i
< 4;
i
++) {
74
m_pathWireId
[
i
] = wireId[
i
];
75
m_pathTDC
[
i
] = tdc[
i
];
76
m_pathLat
[
i
] =
lat
[
i
];
77
}
78
}
79
80
L1Phase2MuDTExtThDigi::L1Phase2MuDTExtThDigi
(
const
L1Phase2MuDTExtThDigi
&digi)
81
:
82
83
L1Phase2MuDTThDigi
(digi.bxNum(),
84
digi.whNum(),
85
digi.scNum(),
86
digi.stNum(),
87
digi.
z
(),
88
digi.
k
(),
89
digi.
quality
(),
90
digi.
index
(),
91
digi.
t0
(),
92
digi.
chi2
(),
93
digi.rpcFlag()),
94
95
m_yLocal(digi.yLocal()),
96
m_zCMSSW(digi.zCMSSW()),
97
m_kCMSSW(digi.kCMSSW()) {
98
for
(
int
i
= 0;
i
< 4;
i
++) {
99
m_pathWireId
[
i
] = digi.
pathWireId
(
i
);
100
m_pathTDC
[
i
] = digi.
pathTDC
(
i
);
101
m_pathLat
[
i
] = digi.
pathLat
(
i
);
102
}
103
}
104
105
//--------------
106
// Operations --
107
//--------------
108
109
int
L1Phase2MuDTExtThDigi::yLocal
()
const
{
return
m_yLocal
; }
110
111
int
L1Phase2MuDTExtThDigi::zCMSSW
()
const
{
return
m_zCMSSW
; }
112
113
int
L1Phase2MuDTExtThDigi::kCMSSW
()
const
{
return
m_kCMSSW
; }
114
115
int
L1Phase2MuDTExtThDigi::pathWireId
(
int
i
)
const
{
return
m_pathWireId
[
i
]; }
116
117
int
L1Phase2MuDTExtThDigi::pathTDC
(
int
i
)
const
{
return
m_pathTDC
[
i
]; }
118
119
int
L1Phase2MuDTExtThDigi::pathLat
(
int
i
)
const
{
return
m_pathLat
[
i
]; }
FrontierCondition_GT_autoExpress_cfi.t0
t0
Definition:
FrontierCondition_GT_autoExpress_cfi.py:149
mps_fire.i
i
Definition:
mps_fire.py:429
L1Phase2MuDTExtThDigi::kCMSSW
int kCMSSW() const
Definition:
L1Phase2MuDTExtThDigi.cc:113
L1Phase2MuDTThDigi
Definition:
L1Phase2MuDTThDigi.h:4
heavyIonCSV_trainingSettings.idx
idx
Definition:
heavyIonCSV_trainingSettings.py:5
nano_mu_local_reco_cff.chi2
chi2
Definition:
nano_mu_local_reco_cff.py:126
omtf::DataWord64::rpc
Definition:
OmtfDataWord64.h:16
L1Phase2MuDTExtThDigi::L1Phase2MuDTExtThDigi
L1Phase2MuDTExtThDigi()
Definition:
L1Phase2MuDTExtThDigi.cc:34
L1Phase2MuDTExtThDigi::pathTDC
int pathTDC(int) const
Definition:
L1Phase2MuDTExtThDigi.cc:117
nano_mu_digi_cff.bx
bx
Definition:
nano_mu_digi_cff.py:39
lat
detailsBasic3DVector::z
float float float z
Definition:
extBasic3DVector.h:14
quality
string quality
Definition:
beamSpotDipStandalone.cc:53
L1Phase2MuDTExtThDigi::zCMSSW
int zCMSSW() const
Definition:
L1Phase2MuDTExtThDigi.cc:111
AlignmentPI::index
index
Definition:
AlignmentPayloadInspectorHelper.h:72
L1Phase2MuDTExtThDigi::m_kCMSSW
int m_kCMSSW
Definition:
L1Phase2MuDTExtThDigi.h:75
L1Phase2MuDTExtThDigi
Definition:
L1Phase2MuDTExtThDigi.h:34
detailsBasic3DVector::y
float float y
Definition:
extBasic3DVector.h:14
L1Phase2MuDTExtThDigi::m_pathWireId
int m_pathWireId[4]
Definition:
L1Phase2MuDTExtThDigi.h:77
L1Phase2MuDTExtThDigi::pathWireId
int pathWireId(int) const
Definition:
L1Phase2MuDTExtThDigi.cc:115
L1Phase2MuDTExtThDigi::pathLat
int pathLat(int) const
Definition:
L1Phase2MuDTExtThDigi.cc:119
L1Phase2MuDTExtThDigi::m_pathTDC
int m_pathTDC[4]
Definition:
L1Phase2MuDTExtThDigi.h:78
L1Phase2MuDTExtThDigi.h
L1Phase2MuDTExtThDigi::m_zCMSSW
int m_zCMSSW
Definition:
L1Phase2MuDTExtThDigi.h:74
L1Phase2MuDTExtThDigi::m_yLocal
int m_yLocal
Definition:
L1Phase2MuDTExtThDigi.h:72
dqmdumpme.k
k
Definition:
dqmdumpme.py:60
L1Phase2MuDTExtThDigi::yLocal
int yLocal() const
Definition:
L1Phase2MuDTExtThDigi.cc:109
L1Phase2MuDTExtThDigi::m_pathLat
int m_pathLat[4]
Definition:
L1Phase2MuDTExtThDigi.h:79
Generated for CMSSW Reference Manual by
1.8.14