CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 //-----------------------
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_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 
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 
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 
116 
118 
120 
122 
124 
125 int L1Phase2MuDTExtPhDigi::pathTDC(int i) const { return m_pathTDC[i]; }
126 
127 int L1Phase2MuDTExtPhDigi::pathLat(int i) const { return m_pathLat[i]; }
string quality
Tan< T >::type tan(const T &t)
Definition: Tan.h:22
float x