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 
27 //-------------------
28 // Initializations --
29 //-------------------
30 
31 
32 //----------------
33 // Constructors --
34 //----------------
36 
37  bx = -100;
38  wheel = 0;
39  sector = 0;
40  station = 0;
41  radialAngle = 0;
42  bendingAngle = 0;
43  qualityCode = 7;
44  Ts2TagCode = 0;
45  BxCntCode = 0;
46  rpcBit = -10;
47 }
48 
49 L1MuDTChambPhDigi::L1MuDTChambPhDigi( int ubx, int uwh, int usc, int ust,
50  int uphr, int uphb, int uqua, int utag, int ucnt, int urpc ) {
51 
52  bx = ubx;
53  wheel = uwh;
54  sector = usc;
55  station = ust;
56  radialAngle = uphr;
57  bendingAngle = uphb;
58  qualityCode = uqua;
59  Ts2TagCode = utag;
60  BxCntCode = ucnt;
61  rpcBit = urpc;
62 }
63 
64 
65 
66 //--------------
67 // Destructor --
68 //--------------
70 }
71 
72 //--------------
73 // Operations --
74 //--------------
76  return bx;
77 }
78 
80  return wheel;
81 }
83  return sector;
84 }
86  return station;
87 }
88 
90  return radialAngle;
91 }
92 
94  return bendingAngle;
95 }
96 
98  return qualityCode;
99 }
100 
102  return Ts2TagCode%2;
103 }
104 
106  return BxCntCode;
107 }
108 
110  return rpcBit;
111 }
112 
114  return Ts2TagCode/2 ;
115 }