CMS 3D CMS Logo

L1MuDTChambPhDigi.cc
Go to the documentation of this file.
1 //-------------------------------------------------
2 //
3 // Class L1MuDTChambPhDigi
4 //
5 // Description: input data for PHTF trigger
6 //
7 //
8 // Author List: Jorge Troconiz UAM Madrid
9 //
10 //
11 //--------------------------------------------------
12 
13 //-----------------------
14 // This Class's Header --
15 //-----------------------
17 
18 //-------------------------------
19 // Collaborating Class Headers --
20 //-------------------------------
21 
22 
23 //---------------
24 // C++ Headers --
25 //---------------
26 using namespace std;
27 
28 //-------------------
29 // Initializations --
30 //-------------------
31 
32 
33 //----------------
34 // Constructors --
35 //----------------
37 
38  bx = -100;
39  wheel = 0;
40  sector = 0;
41  station = 0;
42  radialAngle = 0;
43  bendingAngle = 0;
44  qualityCode = 7;
45  Ts2TagCode = 0;
46  BxCntCode = 0;
47  rpcBit = -10;
48 }
49 
50 L1MuDTChambPhDigi::L1MuDTChambPhDigi( int ubx, int uwh, int usc, int ust,
51  int uphr, int uphb, int uqua, int utag, int ucnt, int urpc ) {
52 
53  bx = ubx;
54  wheel = uwh;
55  sector = usc;
56  station = ust;
57  radialAngle = uphr;
58  bendingAngle = uphb;
59  qualityCode = uqua;
60  Ts2TagCode = utag;
61  BxCntCode = ucnt;
62  rpcBit = urpc;
63 }
64 
65 
66 
67 //--------------
68 // Destructor --
69 //--------------
71 }
72 
73 //--------------
74 // Operations --
75 //--------------
77  return bx;
78 }
79 
81  return wheel;
82 }
84  return sector;
85 }
87  return station;
88 }
89 
91  return radialAngle;
92 }
93 
95  return bendingAngle;
96 }
97 
99  return qualityCode;
100 }
101 
103  return Ts2TagCode%2;
104 }
105 
107  return BxCntCode;
108 }
109 
111  return rpcBit;
112 }
113 
115  return Ts2TagCode/2 ;
116 }