CMS 3D CMS Logo

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 //-----------------------
18 
19 //-------------------------------
20 // Collaborating Class Headers --
21 //-------------------------------
22 
23 //---------------
24 // C++ Headers --
25 //---------------
26 
27 //-------------------
28 // Initializations --
29 //-------------------
30 
31 //----------------
32 // Constructors --
33 //----------------
35  :
36 
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 
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 
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 
110 
112 
114 
116 
117 int L1Phase2MuDTExtThDigi::pathTDC(int i) const { return m_pathTDC[i]; }
118 
119 int L1Phase2MuDTExtThDigi::pathLat(int i) const { return m_pathLat[i]; }
float float float z
string quality