CMS 3D CMS Logo

EMTFTrack2016Tools.cc
Go to the documentation of this file.
1 
3 
4 namespace l1t {
5 
6  void EMTFTrack2016::ImportSP( const emtf::SP _SP, int _sector) {
7 
8  EMTFTrack2016::set_sector ( _sector );
10  EMTFTrack2016::set_mode ( _SP.Mode() );
12  EMTFTrack2016::set_bx ( _SP.TBIN() - 3 );
18  EMTFTrack2016::set_charge ( (_SP.C() == 1) ? -1 : 1 ); // uGMT uses opposite of physical charge (to match pdgID)
21 
28 
29  } // End EMTFTrack2016::ImportSP
30 
31  // Calculates special chamber ID for track address sent to uGMT, using CSC_ID, subsector, neighbor, and station
32  int calc_uGMT_chamber( int _csc_ID, int _subsector, int _neighbor, int _station) {
33  if (_station == 1) {
34  if ( _csc_ID == 3 && _neighbor == 1 && _subsector == 2 ) return 1;
35  else if ( _csc_ID == 6 && _neighbor == 1 && _subsector == 2 ) return 2;
36  else if ( _csc_ID == 9 && _neighbor == 1 && _subsector == 2 ) return 3;
37  else if ( _csc_ID == 3 && _neighbor == 0 && _subsector == 2 ) return 4;
38  else if ( _csc_ID == 6 && _neighbor == 0 && _subsector == 2 ) return 5;
39  else if ( _csc_ID == 9 && _neighbor == 0 && _subsector == 2 ) return 6;
40  else return 0;
41  }
42  else {
43  if ( _csc_ID == 3 && _neighbor == 1 ) return 1;
44  else if ( _csc_ID == 9 && _neighbor == 1 ) return 2;
45  else if ( _csc_ID == 3 && _neighbor == 0 ) return 3;
46  else if ( _csc_ID == 9 && _neighbor == 0 ) return 4;
47  else return 0;
48  }
49  }
50 
51  // Unpacks pT LUT address into dPhi, dTheta, CLCT, FR, eta, and mode
52  // Based on L1Trigger/L1TMuonEndCap/interface/PtAssignment.h
53  // "Mode" here is the true mode, not the inverted mode used in PtAssignment.h
54  void EMTFTrack2016::ImportPtLUT(int _mode, unsigned long _address) {
55  if (_mode == 12) { // mode_inv == 3
56  EMTFTrack2016::set_dPhi_12 ( ( _address >> (0) ) & ( (1 << 9) - 1) );
57  EMTFTrack2016::set_dPhi_12 (dPhi_12 * (( ( _address >> (0+9) ) & ( (1 << 1) - 1) ) == 0 ? -1 : 1) );
58  EMTFTrack2016::set_dTheta_12 ( ( _address >> (0+9+1) ) & ( (1 << 3) - 1) );
59  EMTFTrack2016::set_clct_1 ( ( _address >> (0+9+1+3) ) & ( (1 << 2) - 1) );
60  EMTFTrack2016::set_clct_1 (clct_1 * ( ( ( _address >> (0+9+1+3+2) ) & ( (1 << 1) - 1) ) == 0 ? -1 : 1) );
61  EMTFTrack2016::set_clct_2 ( ( _address >> (0+9+1+3+2+1) ) & ( (1 << 2) - 1) );
62  EMTFTrack2016::set_clct_2 (clct_2 * ( ( ( _address >> (0+9+1+3+2+1+2) ) & ( (1 << 1) - 1) ) == 0 ? -1 : 1) );
63  EMTFTrack2016::set_fr_1 ( ( _address >> (0+9+1+3+2+1+2+1) ) & ( (1 << 1) - 1) );
64  EMTFTrack2016::set_fr_2 ( ( _address >> (0+9+1+3+2+1+2+1+1) ) & ( (1 << 1) - 1) );
65  EMTFTrack2016::set_eta_LUT ( ( _address >> (0+9+1+3+2+1+2+1+1+1) ) & ( (1 << 5) - 1) );
66  EMTFTrack2016::set_mode_LUT ( ( _address >> (0+9+1+3+2+1+2+1+1+1+5) ) & ( (1 << 4) - 1) );
67  }
68  else if (_mode == 10) { // mode_inv == 5
69  EMTFTrack2016::set_dPhi_13 ( ( _address >> (0) ) & ( (1 << 9) - 1) );
70  EMTFTrack2016::set_dPhi_13 (dPhi_13 * (( ( _address >> (0+9) ) & ( (1 << 1) - 1) ) == 0 ? -1 : 1) );
71  EMTFTrack2016::set_dTheta_13 ( ( _address >> (0+9+1) ) & ( (1 << 3) - 1) );
72  EMTFTrack2016::set_clct_1 ( ( _address >> (0+9+1+3) ) & ( (1 << 2) - 1) );
73  EMTFTrack2016::set_clct_1 (clct_1 * ( ( ( _address >> (0+9+1+3+2) ) & ( (1 << 1) - 1) ) == 0 ? -1 : 1) );
74  EMTFTrack2016::set_clct_3 ( ( _address >> (0+9+1+3+2+1) ) & ( (1 << 2) - 1) );
75  EMTFTrack2016::set_clct_3 (clct_3 * ( ( ( _address >> (0+9+1+3+2+1+2) ) & ( (1 << 1) - 1) ) == 0 ? -1 : 1) );
76  EMTFTrack2016::set_fr_1 ( ( _address >> (0+9+1+3+2+1+2+1) ) & ( (1 << 1) - 1) );
77  EMTFTrack2016::set_fr_3 ( ( _address >> (0+9+1+3+2+1+2+1+1) ) & ( (1 << 1) - 1) );
78  EMTFTrack2016::set_eta_LUT ( ( _address >> (0+9+1+3+2+1+2+1+1+1) ) & ( (1 << 5) - 1) );
79  EMTFTrack2016::set_mode_LUT ( ( _address >> (0+9+1+3+2+1+2+1+1+1+5) ) & ( (1 << 4) - 1) );
80  }
81  else if (_mode == 9) { // mode_inv == 9
82  EMTFTrack2016::set_dPhi_14 ( ( _address >> (0) ) & ( (1 << 9) - 1) );
83  EMTFTrack2016::set_dPhi_14 (dPhi_14 * (( ( _address >> (0+9) ) & ( (1 << 1) - 1) ) == 0 ? -1 : 1) );
84  EMTFTrack2016::set_dTheta_14 ( ( _address >> (0+9+1) ) & ( (1 << 3) - 1) );
85  EMTFTrack2016::set_clct_1 ( ( _address >> (0+9+1+3) ) & ( (1 << 2) - 1) );
86  EMTFTrack2016::set_clct_1 (clct_1 * ( ( ( _address >> (0+9+1+3+2) ) & ( (1 << 1) - 1) ) == 0 ? -1 : 1) );
87  EMTFTrack2016::set_clct_4 ( ( _address >> (0+9+1+3+2+1) ) & ( (1 << 2) - 1) );
88  EMTFTrack2016::set_clct_4 (clct_4 * ( ( ( _address >> (0+9+1+3+2+1+2) ) & ( (1 << 1) - 1) ) == 0 ? -1 : 1) );
89  EMTFTrack2016::set_fr_1 ( ( _address >> (0+9+1+3+2+1+2+1) ) & ( (1 << 1) - 1) );
90  EMTFTrack2016::set_fr_4 ( ( _address >> (0+9+1+3+2+1+2+1+1) ) & ( (1 << 1) - 1) );
91  EMTFTrack2016::set_eta_LUT ( ( _address >> (0+9+1+3+2+1+2+1+1+1) ) & ( (1 << 5) - 1) );
92  EMTFTrack2016::set_mode_LUT ( ( _address >> (0+9+1+3+2+1+2+1+1+1+5) ) & ( (1 << 4) - 1) );
93  }
94  else if (_mode == 6) { // mode_inv = 6
95  EMTFTrack2016::set_dPhi_23 ( ( _address >> (0) ) & ( (1 << 9) - 1) );
96  EMTFTrack2016::set_dPhi_23 (dPhi_23 * (( ( _address >> (0+9) ) & ( (1 << 1) - 1) ) == 0 ? -1 : 1) );
97  EMTFTrack2016::set_dTheta_23 ( ( _address >> (0+9+1) ) & ( (1 << 3) - 1) );
98  EMTFTrack2016::set_clct_2 ( ( _address >> (0+9+1+3) ) & ( (1 << 2) - 1) );
99  EMTFTrack2016::set_clct_2 (clct_2 * ( ( ( _address >> (0+9+1+3+2) ) & ( (1 << 1) - 1) ) == 0 ? -1 : 1) );
100  EMTFTrack2016::set_clct_3 ( ( _address >> (0+9+1+3+2+1) ) & ( (1 << 2) - 1) );
101  EMTFTrack2016::set_clct_3 (clct_3 * ( ( ( _address >> (0+9+1+3+2+1+2) ) & ( (1 << 1) - 1) ) == 0 ? -1 : 1) );
102  EMTFTrack2016::set_fr_2 ( ( _address >> (0+9+1+3+2+1+2+1) ) & ( (1 << 1) - 1) );
103  EMTFTrack2016::set_fr_3 ( ( _address >> (0+9+1+3+2+1+2+1+1) ) & ( (1 << 1) - 1) );
104  EMTFTrack2016::set_eta_LUT ( ( _address >> (0+9+1+3+2+1+2+1+1+1) ) & ( (1 << 5) - 1) );
105  EMTFTrack2016::set_mode_LUT ( ( _address >> (0+9+1+3+2+1+2+1+1+1+5) ) & ( (1 << 4) - 1) );
106  }
107  else if (_mode == 5) { // mode_inv == 10
108  EMTFTrack2016::set_dPhi_24 ( ( _address >> (0) ) & ( (1 << 9) - 1) );
109  EMTFTrack2016::set_dPhi_24 (dPhi_24 * (( ( _address >> (0+9) ) & ( (1 << 1) - 1) ) == 0 ? -1 : 1) );
110  EMTFTrack2016::set_dTheta_24 ( ( _address >> (0+9+1) ) & ( (1 << 3) - 1) );
111  EMTFTrack2016::set_clct_2 ( ( _address >> (0+9+1+3) ) & ( (1 << 2) - 1) );
112  EMTFTrack2016::set_clct_2 (clct_2 * ( ( ( _address >> (0+9+1+3+2) ) & ( (1 << 1) - 1) ) == 0 ? -1 : 1) );
113  EMTFTrack2016::set_clct_4 ( ( _address >> (0+9+1+3+2+1) ) & ( (1 << 2) - 1) );
114  EMTFTrack2016::set_clct_4 (clct_4 * ( ( ( _address >> (0+9+1+3+2+1+2) ) & ( (1 << 1) - 1) ) == 0 ? -1 : 1) );
115  EMTFTrack2016::set_fr_2 ( ( _address >> (0+9+1+3+2+1+2+1) ) & ( (1 << 1) - 1) );
116  EMTFTrack2016::set_fr_4 ( ( _address >> (0+9+1+3+2+1+2+1+1) ) & ( (1 << 1) - 1) );
117  EMTFTrack2016::set_eta_LUT ( ( _address >> (0+9+1+3+2+1+2+1+1+1) ) & ( (1 << 5) - 1) );
118  EMTFTrack2016::set_mode_LUT ( ( _address >> (0+9+1+3+2+1+2+1+1+1+5) ) & ( (1 << 4) - 1) );
119  }
120  else if (_mode == 3) { // mode_inv == 12
121  EMTFTrack2016::set_dPhi_34 ( ( _address >> (0) ) & ( (1 << 9) - 1) );
122  EMTFTrack2016::set_dPhi_34 (dPhi_34 * (( ( _address >> (0+9) ) & ( (1 << 1) - 1) ) == 0 ? -1 : 1) );
123  EMTFTrack2016::set_dTheta_34 ( ( _address >> (0+9+1) ) & ( (1 << 3) - 1) );
124  EMTFTrack2016::set_clct_3 ( ( _address >> (0+9+1+3) ) & ( (1 << 2) - 1) );
125  EMTFTrack2016::set_clct_3 (clct_3 * ( ( ( _address >> (0+9+1+3+2) ) & ( (1 << 1) - 1) ) == 0 ? -1 : 1) );
126  EMTFTrack2016::set_clct_4 ( ( _address >> (0+9+1+3+2+1) ) & ( (1 << 2) - 1) );
127  EMTFTrack2016::set_clct_4 (clct_4 * ( ( ( _address >> (0+9+1+3+2+1+2) ) & ( (1 << 1) - 1) ) == 0 ? -1 : 1) );
128  EMTFTrack2016::set_fr_3 ( ( _address >> (0+9+1+3+2+1+2+1) ) & ( (1 << 1) - 1) );
129  EMTFTrack2016::set_fr_4 ( ( _address >> (0+9+1+3+2+1+2+1+1) ) & ( (1 << 1) - 1) );
130  EMTFTrack2016::set_eta_LUT ( ( _address >> (0+9+1+3+2+1+2+1+1+1) ) & ( (1 << 5) - 1) );
131  EMTFTrack2016::set_mode_LUT ( ( _address >> (0+9+1+3+2+1+2+1+1+1+5) ) & ( (1 << 4) - 1) );
132  }
133  else if (_mode == 14) { // mode_inv == 7
134  EMTFTrack2016::set_dPhi_12 ( ( _address >> (0) ) & ( (1 << 7) - 1) );
135  EMTFTrack2016::set_dPhi_23 ( ( _address >> (0+7) ) & ( (1 << 5) - 1) );
136  EMTFTrack2016::set_dPhi_12 (dPhi_12 * (( ( _address >> (0+7+5) ) & ( (1 << 1) - 1) ) == 0 ? -1 : 1) );
137  EMTFTrack2016::set_dPhi_23 (dPhi_23 * (( ( _address >> (0+7+5+1) ) & ( (1 << 1) - 1) ) == 0 ? -1 : 1) );
138  EMTFTrack2016::set_dTheta_13 ( ( _address >> (0+7+5+1+1) ) & ( (1 << 3) - 1) );
139  EMTFTrack2016::set_clct_1 ( ( _address >> (0+7+5+1+1+3) ) & ( (1 << 2) - 1) );
140  EMTFTrack2016::set_clct_1 (clct_1 * ( ( ( _address >> (0+7+5+1+1+3+2) ) & ( (1 << 1) - 1) ) == 0 ? -1 : 1) );
141  EMTFTrack2016::set_fr_1 ( ( _address >> (0+7+5+1+1+3+2+1) ) & ( (1 << 1) - 1) );
142  EMTFTrack2016::set_eta_LUT ( ( _address >> (0+7+5+1+1+3+2+1+1) ) & ( (1 << 5) - 1) );
143  EMTFTrack2016::set_mode_LUT ( ( _address >> (0+7+5+1+1+3+2+1+1+5) ) & ( (1 << 4) - 1) );
144  }
145  else if (_mode == 13) { // mode_inv == 11
146  EMTFTrack2016::set_dPhi_12 ( ( _address >> (0) ) & ( (1 << 7) - 1) );
147  EMTFTrack2016::set_dPhi_24 ( ( _address >> (0+7) ) & ( (1 << 5) - 1) );
148  EMTFTrack2016::set_dPhi_12 (dPhi_12 * (( ( _address >> (0+7+5) ) & ( (1 << 1) - 1 ) ) == 0 ? -1 : 1) );
149  EMTFTrack2016::set_dPhi_24 (dPhi_24 * (( ( _address >> (0+7+5+1) ) & ( (1 << 1) - 1 ) ) == 0 ? -1 : 1) );
150  EMTFTrack2016::set_dTheta_14 ( ( _address >> (0+7+5+1+1) ) & ( (1 << 3) - 1) );
151  EMTFTrack2016::set_clct_1 ( ( _address >> (0+7+5+1+1+3) ) & ( (1 << 2) - 1) );
152  EMTFTrack2016::set_clct_1 (clct_1 * ( ( ( _address >> (0+7+5+1+1+3+2) ) & ( (1 << 1) - 1) ) == 0 ? -1 : 1) );
153  EMTFTrack2016::set_fr_1 ( ( _address >> (0+7+5+1+1+3+2+1) ) & ( (1 << 1) - 1) );
154  EMTFTrack2016::set_eta_LUT ( ( _address >> (0+7+5+1+1+3+2+1+1) ) & ( (1 << 5) - 1) );
155  EMTFTrack2016::set_mode_LUT ( ( _address >> (0+7+5+1+1+3+2+1+1+5) ) & ( (1 << 4) - 1) );
156  }
157  else if (_mode == 11) {
158  EMTFTrack2016::set_dPhi_13 ( ( _address >> (0) ) & ( (1 << 7) - 1) );
159  EMTFTrack2016::set_dPhi_34 ( ( _address >> (0+7) ) & ( (1 << 5) - 1) );
160  EMTFTrack2016::set_dPhi_13 (dPhi_13 * (( ( _address >> (0+7+5) ) & ( (1 << 1) - 1 ) ) == 0 ? -1 : 1) );
161  EMTFTrack2016::set_dPhi_34 (dPhi_34 * (( ( _address >> (0+7+5+1) ) & ( (1 << 1) - 1 ) ) == 0 ? -1 : 1) );
162  EMTFTrack2016::set_dTheta_14 ( ( _address >> (0+7+5+1+1) ) & ( (1 << 3) - 1) );
163  EMTFTrack2016::set_clct_1 ( ( _address >> (0+7+5+1+1+3) ) & ( (1 << 2) - 1) );
164  EMTFTrack2016::set_clct_1 (clct_1 * ( ( ( _address >> (0+7+5+1+1+3+2) ) & ( (1 << 1) - 1) ) == 0 ? -1 : 1) );
165  EMTFTrack2016::set_fr_1 ( ( _address >> (0+7+5+1+1+3+2+1) ) & ( (1 << 1) - 1) );
166  EMTFTrack2016::set_eta_LUT ( ( _address >> (0+7+5+1+1+3+2+1+1) ) & ( (1 << 5) - 1) );
167  EMTFTrack2016::set_mode_LUT ( ( _address >> (0+7+5+1+1+3+2+1+1+5) ) & ( (1 << 4) - 1) );
168  }
169  else if (_mode == 7) { // mode_inv == 14
170  EMTFTrack2016::set_dPhi_23 ( ( _address >> (0) ) & ( (1 << 7) - 1) );
171  EMTFTrack2016::set_dPhi_34 ( ( _address >> (0+7) ) & ( (1 << 6) - 1) );
172  EMTFTrack2016::set_dPhi_23 (dPhi_23 * (( ( _address >> (0+7+6) ) & ( (1 << 1) - 1 ) ) == 0 ? -1 : 1) );
173  EMTFTrack2016::set_dPhi_34 (dPhi_34 * (( ( _address >> (0+7+6+1) ) & ( (1 << 1) - 1 ) ) == 0 ? -1 : 1) );
174  EMTFTrack2016::set_dTheta_24 ( ( _address >> (0+7+6+1+1) ) & ( (1 << 3) - 1) );
175  EMTFTrack2016::set_clct_2 ( ( _address >> (0+7+5+1+1+3) ) & ( (1 << 2) - 1) );
176  EMTFTrack2016::set_clct_2 (clct_2 * ( ( ( _address >> (0+7+6+1+1+3+2) ) & ( (1 << 1) - 1) ) == 0 ? -1 : 1) );
177  EMTFTrack2016::set_eta_LUT ( ( _address >> (0+7+6+1+1+3+2+1) ) & ( (1 << 5) - 1) );
178  EMTFTrack2016::set_mode_LUT ( ( _address >> (0+7+6+1+1+3+2+1+5) ) & ( (1 << 4) - 1) );
179  }
180  else if (_mode == 15) { // mode_inv == 15
181  EMTFTrack2016::set_dPhi_12 ( ( _address >> (0) ) & ( (1 << 7) - 1) );
182  EMTFTrack2016::set_dPhi_23 ( ( _address >> (0+7) ) & ( (1 << 5) - 1) );
183  EMTFTrack2016::set_dPhi_34 ( ( _address >> (0+7+5) ) & ( (1 << 6) - 1) );
184  EMTFTrack2016::set_dPhi_23 (dPhi_23 * (( ( _address >> (0+7+5+6) ) & ( (1 << 1) - 1 ) ) == 0 ? -1 : 1) );
185  EMTFTrack2016::set_dPhi_34 (dPhi_34 * (( ( _address >> (0+7+5+6+1) ) & ( (1 << 1) - 1 ) ) == 0 ? -1 : 1) );
186  EMTFTrack2016::set_fr_1 ( ( _address >> (0+7+5+6+1+1) ) & ( (1 << 1) - 1) );
187  EMTFTrack2016::set_eta_LUT ( ( _address >> (0+7+5+6+1+1+1) ) & ( (1 << 5) - 1) );
188  EMTFTrack2016::set_mode_LUT ( ( _address >> (0+7+5+6+1+1+1+5) ) & ( (1 << 4) - 1) );
189  }
190 
191  } // End function: void EMTFTrack2016::ImportPtLUT
192 
194 
195  EMTFTrack2016 thisTrack;
196  for (int iHit = 0; iHit < NumHitsExtra(); iHit++) {
197  thisTrack.push_Hit( _HitsExtra.at(iHit).CreateEMTFHit2016() );
198  }
199 
200  thisTrack.set_endcap ( Endcap() );
201  thisTrack.set_sector ( Sector() );
202  thisTrack.set_sector_GMT ( Sector_GMT() );
203  thisTrack.set_sector_index ( Sector_index() );
204  thisTrack.set_mode ( Mode() );
205  thisTrack.set_mode_LUT ( Mode_LUT() );
206  thisTrack.set_quality ( Quality() );
207  thisTrack.set_bx ( BX() );
208  thisTrack.set_pt ( Pt() );
209  thisTrack.set_pt_GMT ( Pt_GMT() );
210  thisTrack.set_pt_LUT_addr ( Pt_LUT_addr() );
211  thisTrack.set_eta ( Eta() );
212  thisTrack.set_eta_GMT ( Eta_GMT() );
213  thisTrack.set_eta_LUT ( Eta_LUT() );
214  thisTrack.set_phi_loc_int ( Phi_loc_int() );
215  thisTrack.set_phi_loc_deg ( Phi_loc_deg() );
216  thisTrack.set_phi_loc_rad ( Phi_loc_rad() );
217  thisTrack.set_phi_GMT ( Phi_GMT() );
218  thisTrack.set_phi_glob_deg ( Phi_glob_deg() );
219  thisTrack.set_phi_glob_rad ( Phi_glob_rad() );
220  thisTrack.set_charge ( Charge() );
221  thisTrack.set_charge_GMT ( Charge_GMT() );
222  thisTrack.set_charge_valid ( Charge_valid() );
223  thisTrack.set_dPhi_12 ( DPhi_12() );
224  thisTrack.set_dPhi_13 ( DPhi_13() );
225  thisTrack.set_dPhi_14 ( DPhi_14() );
226  thisTrack.set_dPhi_23 ( DPhi_23() );
227  thisTrack.set_dPhi_24 ( DPhi_24() );
228  thisTrack.set_dPhi_34 ( DPhi_34() );
229  thisTrack.set_dTheta_12 ( DTheta_12() );
230  thisTrack.set_dTheta_13 ( DTheta_13() );
231  thisTrack.set_dTheta_14 ( DTheta_14() );
232  thisTrack.set_dTheta_23 ( DTheta_23() );
233  thisTrack.set_dTheta_24 ( DTheta_24() );
234  thisTrack.set_dTheta_34 ( DTheta_34() );
235  thisTrack.set_clct_1 ( CLCT_1() );
236  thisTrack.set_clct_2 ( CLCT_2() );
237  thisTrack.set_clct_3 ( CLCT_3() );
238  thisTrack.set_clct_4 ( CLCT_4() );
239  thisTrack.set_fr_1 ( FR_1() );
240  thisTrack.set_fr_2 ( FR_2() );
241  thisTrack.set_fr_3 ( FR_3() );
242  thisTrack.set_fr_4 ( FR_4() );
243  thisTrack.set_track_num ( Track_num() );
244  thisTrack.set_has_neighbor ( Has_neighbor() );
245  thisTrack.set_all_neighbor ( All_neighbor() );
246 
247  return thisTrack;
248 
249  } // End EMTFTrack2016Extra::CreateEMTFTrack2016
250 
251 
252 } // End namespace l1t
void set_dTheta_24(int bits)
Definition: EMTFTrack2016.h:81
void set_phi_loc_int(int bits)
Definition: EMTFTrack2016.h:62
int Sector_index() const
Definition: EMTFTrack2016.h:99
void set_clct_1(int bits)
Definition: EMTFTrack2016.h:83
int Mode_LUT() const
void set_all_neighbor(int bits)
Definition: EMTFTrack2016.h:93
void set_fr_4(int bits)
Definition: EMTFTrack2016.h:90
void set_dTheta_34(int bits)
Definition: EMTFTrack2016.h:82
int Phi_full() const
Definition: SP.h:59
unsigned long Pt_LUT_addr() const
int CLCT_2() const
int Has_neighbor() const
int DTheta_23() const
void set_pt_GMT(int bits)
Definition: EMTFTrack2016.h:57
int All_neighbor() const
float calc_phi_loc_rad(int bits)
float Eta() const
void set_fr_2(int bits)
Definition: EMTFTrack2016.h:88
float Phi_loc_rad() const
void set_charge_GMT(int bits)
Definition: EMTFTrack2016.h:69
int calc_uGMT_chamber(int _csc_ID, int _subsector, int _neighbor, int _station)
void set_sector_GMT(int bits)
Definition: EMTFTrack2016.h:50
void set_dPhi_34(int bits)
Definition: EMTFTrack2016.h:76
int Mode() const
Definition: SP.h:67
void set_eta_GMT(int bits)
Definition: EMTFTrack2016.h:60
int TBIN() const
Definition: SP.h:79
int FR_1() const
delete x;
Definition: CaloConfig.h:22
void set_clct_4(int bits)
Definition: EMTFTrack2016.h:86
void set_dPhi_13(int bits)
Definition: EMTFTrack2016.h:72
void set_dTheta_13(int bits)
Definition: EMTFTrack2016.h:78
void set_pt(float val)
Definition: EMTFTrack2016.h:56
void set_quality(int bits)
Definition: EMTFTrack2016.h:54
void set_eta_LUT(int bits)
Definition: EMTFTrack2016.h:61
int Eta_GMT() const
void ImportPtLUT(int _mode, unsigned long _address)
void set_fr_1(int bits)
Definition: EMTFTrack2016.h:87
int calc_sector_GMT(int _sector)
int DTheta_12() const
int DPhi_34() const
int FR_4() const
int DTheta_14() const
void set_clct_2(int bits)
Definition: EMTFTrack2016.h:84
int Phi_GMT() const
Definition: SP.h:65
void set_track_num(int bits)
Definition: EMTFTrack2016.h:91
int VC() const
Definition: SP.h:60
int FR_3() const
void set_endcap(int bits)
Definition: EMTFTrack2016.h:48
float calc_phi_loc_deg(int bits)
int DPhi_12() const
int CLCT_1() const
int Phi_loc_int() const
int DTheta_13() const
EMTFTrack2016 CreateEMTFTrack2016()
void set_dPhi_23(int bits)
Definition: EMTFTrack2016.h:74
int Sector() const
Definition: EMTFTrack2016.h:97
void set_phi_glob_deg(float val)
Definition: EMTFTrack2016.h:66
int Phi_GMT() const
int FR_2() const
void set_phi_glob_rad(float val)
Definition: EMTFTrack2016.h:67
void ImportSP(const emtf::SP _SP, int _sector)
void set_clct_3(int bits)
Definition: EMTFTrack2016.h:85
int Pt_GMT() const
void set_dPhi_14(int bits)
Definition: EMTFTrack2016.h:73
void set_phi_GMT(int bits)
Definition: EMTFTrack2016.h:65
int Charge_GMT() const
void set_phi_loc_deg(float val)
Definition: EMTFTrack2016.h:63
float Phi_loc_deg() const
void set_sector(int bits)
Definition: EMTFTrack2016.h:49
int DTheta_34() const
int DPhi_23() const
int Pt_GMT() const
Definition: SP.h:69
int Mode() const
void set_sector_index(int bits)
Definition: EMTFTrack2016.h:51
void set_mode_LUT(int bits)
Definition: EMTFTrack2016.h:53
void set_charge_valid(int bits)
Definition: EMTFTrack2016.h:70
float calc_phi_glob_rad(float loc, int sect)
int Eta_LUT() const
void set_dTheta_14(int bits)
Definition: EMTFTrack2016.h:79
int CLCT_4() const
void set_dTheta_23(int bits)
Definition: EMTFTrack2016.h:80
float calc_eta(int bits)
void set_eta(float val)
Definition: EMTFTrack2016.h:59
float calc_pt(int bits)
int Sector_GMT() const
Definition: EMTFTrack2016.h:98
int Eta_GMT() const
Definition: SP.h:68
float Pt() const
void set_dPhi_12(int bits)
Definition: EMTFTrack2016.h:71
float Phi_glob_rad() const
int Charge() const
int C() const
Definition: SP.h:58
int Endcap() const
Definition: EMTFTrack2016.h:96
int DTheta_24() const
void set_charge(int bits)
Definition: EMTFTrack2016.h:68
float calc_phi_glob_deg(float loc, int sect)
int DPhi_13() const
void set_mode(int bits)
Definition: EMTFTrack2016.h:52
void push_Hit(EMTFHit2016 bits)
Definition: EMTFTrack2016.h:38
unsigned long Pt_LUT_addr() const
Definition: SP.h:84
int Track_num() const
float Phi_glob_deg() const
void set_pt_LUT_addr(unsigned long bits)
Definition: EMTFTrack2016.h:58
int DPhi_24() const
int Quality() const
void set_dTheta_12(int bits)
Definition: EMTFTrack2016.h:77
void set_fr_3(int bits)
Definition: EMTFTrack2016.h:89
void set_bx(int bits)
Definition: EMTFTrack2016.h:55
int DPhi_14() const
void set_has_neighbor(int bits)
Definition: EMTFTrack2016.h:92
int Quality_GMT() const
Definition: SP.h:64
void set_phi_loc_rad(float val)
Definition: EMTFTrack2016.h:64
int Charge_valid() const
int CLCT_3() const
void set_dPhi_24(int bits)
Definition: EMTFTrack2016.h:75