CMS 3D CMS Logo

L1Phase2MuDTPhDigi.cc
Go to the documentation of this file.
1 //-------------------------------------------------
2 //
3 // Class L1MuDTChambPhDigi
4 //
5 // Description: trigger primtive data for the
6 // muon barrel Phase2 trigger
7 //
8 //
9 // Author List: Federica Primavera Bologna INFN
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  : m_bx(-100),
36  m_wheel(0),
37  m_sector(0),
38  m_station(0),
39  m_superlayer(0),
40  m_phiAngle(0),
41  m_phiBending(0),
42  m_qualityCode(-1),
43  m_index(0),
44  m_t0(0),
45  m_chi2(0),
46  m_rpcFlag(-10) {}
47 
49  int bx, int wh, int sc, int st, int sl, int phi, int phib, int qual, int idx, int t0, int chi2, int rpc)
50  : m_bx(bx),
51  m_wheel(wh),
52  m_sector(sc),
53  m_station(st),
54  m_superlayer(sl),
55  m_phiAngle(phi),
56  m_phiBending(phib),
57  m_qualityCode(qual),
58  m_index(idx),
59  m_t0(t0),
60  m_chi2(chi2),
61  m_rpcFlag(rpc) {}
62 
63 //--------------
64 // Operations --
65 //--------------
66 int L1Phase2MuDTPhDigi::bxNum() const { return m_bx; }
67 
68 int L1Phase2MuDTPhDigi::whNum() const { return m_wheel; }
69 
70 int L1Phase2MuDTPhDigi::scNum() const { return m_sector; }
71 
72 int L1Phase2MuDTPhDigi::stNum() const { return m_station; }
73 
74 int L1Phase2MuDTPhDigi::slNum() const { return m_superlayer; }
75 
76 int L1Phase2MuDTPhDigi::phi() const { return m_phiAngle; }
77 
79 
81 
82 int L1Phase2MuDTPhDigi::index() const { return m_index; }
83 
84 int L1Phase2MuDTPhDigi::t0() const { return m_t0; }
85 
86 int L1Phase2MuDTPhDigi::chi2() const { return m_chi2; }
87 
88 int L1Phase2MuDTPhDigi::rpcFlag() const { return m_rpcFlag; }