CMS 3D CMS Logo

Functions | Variables
PtAssignment.cc File Reference
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <fstream>
#include <iostream>
#include "Geometry/CSCGeometry/interface/CSCGeometry.h"
#include "Geometry/Records/interface/MuonGeometryRecord.h"
#include "L1Trigger/CSCCommonTrigger/interface/CSCTriggerGeometry.h"
#include "L1Trigger/L1TMuonEndCap/interface/PtAssignment.h"
#include "L1Trigger/L1TMuonEndCap/interface/EmulatorClasses.h"
#include "TFile.h"
#include "TH1F.h"

Go to the source code of this file.

Functions

static float getCLCT (float clct)
 
static float getdPhiFromBin (int dPhiBin, int bits, int max=512)
 
static float getdTheta (float dTheta)
 
static float getEta (float eta, int bits=5)
 
static float getEtafromBin (int etaBin, int bits=5)
 
static int getEtaInt (float eta, int bits=5)
 
static float getNLBdPhi (float dPhi, int bits, int max=512)
 
static int getNLBdPhiBin (float dPhi, int bits, int max=512)
 

Variables

static const int dPhiNLBMap_5bit [32]
 
static const int dPhiNLBMap_5bit_256Max [32] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, 20, 21, 23, 25, 28, 31, 34, 39, 46, 55, 68, 91, 136}
 
static const int dPhiNLBMap_6bit_256Max [64] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 36, 37, 38, 39, 40, 42, 43, 45, 47, 49, 51, 53, 56, 58, 61, 65, 68, 73, 78, 83, 89, 97, 106, 116, 129, 145, 166, 193, 232}
 
static const int dPhiNLBMap_7bit [128]
 
static const int dPhiNLBMap_7bit_256Max [128] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 77, 78, 79, 80, 81, 82, 83, 84, 86, 87, 88, 90, 91, 93, 94, 96, 97, 99, 101, 103, 105, 107, 109, 111, 113, 115, 118, 120, 123, 125, 128, 131, 134, 138, 141, 145, 149, 153, 157, 161, 166, 171, 176, 182, 188, 194, 201, 209, 217, 225, 235, 245}
 
static const int dPhiNLBMap_7bit_512Max [256] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 71, 72, 73, 74, 75, 76, 77, 79, 80, 81, 83, 84, 86, 87, 89, 91, 92, 94, 96, 98, 100, 102, 105, 107, 110, 112, 115, 118, 121, 124, 127, 131, 135, 138, 143, 147, 152, 157, 162, 168, 174, 181, 188, 196, 204, 214, 224, 235, 247, 261, 276, 294, 313, 336, 361, 391, 427, 470}
 
static const int dPhiNLBMap_8bit [256]
 
static const int dPhiNLBMap_8bit_512Max [256] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 164, 165, 166, 167, 168, 170, 171, 172, 174, 175, 176, 178, 179, 180, 182, 183, 185, 186, 188, 190, 191, 193, 194, 196, 198, 200, 201, 203, 205, 207, 209, 211, 213, 215, 217, 219, 221, 223, 225, 228, 230, 232, 235, 237, 240, 242, 245, 248, 250, 253, 256, 259, 262, 265, 268, 272, 275, 278, 282, 285, 289, 293, 297, 300, 305, 309, 313, 317, 322, 327, 331, 336, 341, 347, 352, 358, 363, 369, 375, 382, 388, 395, 402, 410, 417, 425, 433, 442, 450, 460, 469, 479, 490, 500}
 
static const int ModeVariables_Scheme3 [13][6]
 

Function Documentation

static float getCLCT ( float  clct)
static

Definition at line 290 of file PtAssignment.cc.

Referenced by l1t::EmtfPtAssignment::calculateAddress().

291 {
292  if ((int)clct==10)
293  clct=0;
294  else if ((int)clct==9)
295  clct=1;
296  else if ((int)clct==8)
297  clct=-1;
298  else if ((int)clct==7)
299  clct=2;
300  else if ((int)clct==6)
301  clct=-2;
302  else if ((int)clct==5)
303  clct=3;
304  else if ((int)clct==4)
305  clct=-3;
306  else if ((int)clct==3)
307  clct=4;
308  else if ((int)clct==2)
309  clct=-4;
310  else
311  clct=-999;
312 
313  float clct_ = 0;
314  float sign_ = 1;
315 
316  if (clct<0)
317  sign_ = -1;
318 
319  clct = fabs(clct);
320 
321  if (clct<=0) // 0
322  clct_ = 0;
323  else if (clct<=1) //1,2
324  clct_ = 1;
325  else if (clct<=2)// 3,4
326  clct_ = 2;
327  else
328  clct_ = 3; // 5,6
329 
330  return (sign_ * clct_);
331 }
static float getdPhiFromBin ( int  dPhiBin,
int  bits,
int  max = 512 
)
static

Definition at line 260 of file PtAssignment.cc.

References bits, photonValidator_cfi::dPhiBin, dPhiNLBMap_5bit_256Max, dPhiNLBMap_6bit_256Max, dPhiNLBMap_7bit_256Max, dPhiNLBMap_7bit_512Max, dPhiNLBMap_8bit_512Max, and hpstanc_transforms::max.

Referenced by l1t::EmtfPtAssignment::calculatePt().

261 {
262  int dPhi_= (1<<bits)-1;
263 
264  if (dPhiBin>(1<<bits)-1)
265  dPhiBin = (1<<bits)-1;
266 
267  if (max==256)
268  {
269  if (bits == 5)
271 
272  if (bits == 6)
274 
275  if (bits == 7)
277  }
278  if (max==512)
279  {
280  if (bits == 7)
282 
283  if (bits == 8)
285  }
286 
287  return ( dPhi_);
288 }
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision bits
static const int dPhiNLBMap_7bit_256Max[128]
Definition: PtAssignment.cc:98
static const int dPhiNLBMap_8bit_512Max[256]
static const int dPhiNLBMap_7bit_512Max[256]
static const int dPhiNLBMap_5bit_256Max[32]
Definition: PtAssignment.cc:94
static const int dPhiNLBMap_6bit_256Max[64]
Definition: PtAssignment.cc:96
static float getdTheta ( float  dTheta)
static

Definition at line 333 of file PtAssignment.cc.

Referenced by l1t::EmtfPtAssignment::calculateAddress().

334 {
335  float dTheta_ = 0;
336  // Unused variable
337  /* float sign_ = 1; */
338  /* if (dTheta<0) */
339  /* sign_ = -1; */
340 
341  if (dTheta<=-3)
342  dTheta_ = 0;
343  else if (dTheta<=-2)
344  dTheta_ = 1;
345  else if (dTheta<=-1)
346  dTheta_ = 2;
347  else if (dTheta<=0)
348  dTheta_ = 3;
349  else if (dTheta<=1)
350  dTheta_ = 4;
351  else if (dTheta<=2)
352  dTheta_ = 5;
353  else if (dTheta<=3)
354  dTheta_ = 6;
355  else
356  dTheta_ = 7;
357 
358  return ( dTheta_);
359 
360 }
static float getEta ( float  eta,
int  bits = 5 
)
static

Definition at line 387 of file PtAssignment.cc.

References bits, and edm::shift.

Referenced by NewMuonTrackValidator::analyze(), MuonTrackValidator::analyze(), l1t::EmtfPtAssignment::calculateAddress(), GflashEMShowerProfile::getDistanceToOut(), MTVHistoProducerAlgoForTracker::makeRecoTrackSelectorFromTPSelectorParameters(), and hgcal::RecHitTools::~RecHitTools().

388 {
389  float eta_ = 0;
390  float sign_ = 1;
391  if (eta<0)
392  sign_ = -1;
393 
394  if (bits>5) bits = 5;
395  int shift = 5 - bits;
396  int etaInt = (fabs(eta) - 0.9)*(32.0/(1.6))-0.5;
397  etaInt = (etaInt>>shift)<<shift;
398 
399  eta_ = 0.9 + (etaInt + 0.5)*(1.6/32.0);
400  return (eta_*sign_);
401 }
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision bits
static unsigned int const shift
static float getEtafromBin ( int  etaBin,
int  bits = 5 
)
static

Definition at line 421 of file PtAssignment.cc.

References bits, and edm::shift.

Referenced by l1t::EmtfPtAssignment::calculatePt().

422 {
423  if (etaBin>((1<<5)-1))
424  etaBin = ((1<<5)-1);
425  if (etaBin<0)
426  etaBin = 0;
427 
428  if (bits>5) bits = 5;
429  int shift = 5 - bits;
430  int etaInt_ = etaBin << shift;
431  float eta_ = 0.9 + (etaInt_ + 0.5)*(1.6/32.0);
432  return (eta_);
433 }
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision bits
static unsigned int const shift
static int getEtaInt ( float  eta,
int  bits = 5 
)
static

Definition at line 403 of file PtAssignment.cc.

References bits, and edm::shift.

Referenced by l1t::EmtfPtAssignment::calculateAddress().

404 {
405  // Unused variables
406  /* float eta_ = 0; */
407  /* float sign_ = 1; */
408  /* if (eta<0) */
409  /* sign_ = -1; */
410 
411  if (bits>5) bits = 5;
412  int shift = 5 - bits;
413  int etaInt = (fabs(eta) - 0.9)*(32.0/(1.6))-0.5;
414  etaInt = (etaInt>>shift);
415  if(etaInt > 31){etaInt = 31;}
416 
417  /* eta_ = 0.9 + (etaInt + 0.5)*(1.6/32.0); */
418  return (etaInt);
419 }
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision bits
static unsigned int const shift
static float getNLBdPhi ( float  dPhi,
int  bits,
int  max = 512 
)
static

Definition at line 122 of file PtAssignment.cc.

References bits, dPhiNLBMap_5bit_256Max, dPhiNLBMap_6bit_256Max, dPhiNLBMap_7bit_256Max, dPhiNLBMap_7bit_512Max, dPhiNLBMap_8bit_512Max, and hpstanc_transforms::max.

Referenced by l1t::EmtfPtAssignment::calculateAddress().

123 {
124  float dPhi_= max;
125  float sign_ = 1;
126  if (dPhi<0)
127  sign_ = -1;
128  dPhi = fabs(dPhi);
129 
130  if (max==256)
131  {
132  if (bits == 5)
133  {
134  dPhi_ = dPhiNLBMap_5bit_256Max[(1<<bits)-1];
135  for (int edge=0; edge<(1<<bits)-1; edge++)
136  if (dPhiNLBMap_5bit_256Max[edge]<=dPhi && dPhiNLBMap_5bit_256Max[edge+1]>dPhi)
137  {
138  dPhi_ = dPhiNLBMap_5bit_256Max[edge];
139  break;
140  }
141  }
142  if (bits == 6)
143  {
144  dPhi_ = dPhiNLBMap_6bit_256Max[(1<<bits)-1];
145  for (int edge=0; edge<(1<<bits)-1; edge++)
146  if (dPhiNLBMap_6bit_256Max[edge]<=dPhi && dPhiNLBMap_6bit_256Max[edge+1]>dPhi)
147  {
148  dPhi_ = dPhiNLBMap_6bit_256Max[edge];
149  break;
150  }
151  }
152  if (bits == 7)
153  {
154  dPhi_ = dPhiNLBMap_7bit_256Max[(1<<bits)-1];
155  for (int edge=0; edge<(1<<bits)-1; edge++)
156  if (dPhiNLBMap_7bit_256Max[edge]<=dPhi && dPhiNLBMap_7bit_256Max[edge+1]>dPhi)
157  {
158  dPhi_ = dPhiNLBMap_7bit_256Max[edge];
159  break;
160  }
161  }
162  }
163  if (max==512)
164  {
165  if (bits == 7)
166  {
167  dPhi_ = dPhiNLBMap_7bit_512Max[(1<<bits)-1];
168  for (int edge=0; edge<(1<<bits)-1; edge++)
169  if (dPhiNLBMap_7bit_512Max[edge]<=dPhi && dPhiNLBMap_7bit_512Max[edge+1]>dPhi)
170  {
171  dPhi_ = dPhiNLBMap_7bit_512Max[edge];
172  break;
173  }
174  }
175  if (bits == 8)
176  {
177  dPhi_ = dPhiNLBMap_8bit_512Max[(1<<bits)-1];
178  for (int edge=0; edge<(1<<bits)-1; edge++)
179  if (dPhiNLBMap_8bit_512Max[edge]<=dPhi && dPhiNLBMap_8bit_512Max[edge+1]>dPhi)
180  {
181  dPhi_ = dPhiNLBMap_8bit_512Max[edge];
182  break;
183  }
184  }
185  }
186 
187  if (dPhi>=max) dPhi_ = max;
188  return (sign_ * dPhi_);
189 }
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision bits
static const int dPhiNLBMap_7bit_256Max[128]
Definition: PtAssignment.cc:98
static const int dPhiNLBMap_8bit_512Max[256]
static const int dPhiNLBMap_7bit_512Max[256]
static const int dPhiNLBMap_5bit_256Max[32]
Definition: PtAssignment.cc:94
static const int dPhiNLBMap_6bit_256Max[64]
Definition: PtAssignment.cc:96
static int getNLBdPhiBin ( float  dPhi,
int  bits,
int  max = 512 
)
static

Definition at line 193 of file PtAssignment.cc.

References bits, dPhiNLBMap_5bit_256Max, dPhiNLBMap_6bit_256Max, dPhiNLBMap_7bit_256Max, dPhiNLBMap_7bit_512Max, dPhiNLBMap_8bit_512Max, and hpstanc_transforms::max.

Referenced by l1t::EmtfPtAssignment::calculateAddress().

194 {
195  int dPhiBin_= (1<<bits)-1;
196 
197  // Unused variable
198  /* float sign_ = 1; */
199  /* if (dPhi<0) */
200  /* sign_ = -1; */
201 
202  dPhi = fabs(dPhi);
203 
204  if (max==256)
205  {
206  if (bits == 5)
207  {
208  for (int edge=0; edge<(1<<bits)-1; edge++)
209  if (dPhiNLBMap_5bit_256Max[edge]<=dPhi && dPhiNLBMap_5bit_256Max[edge+1]>dPhi)
210  {
211  dPhiBin_ = edge;
212  break;
213  }
214  }
215  if (bits == 6)
216  {
217  for (int edge=0; edge<(1<<bits)-1; edge++)
218  if (dPhiNLBMap_6bit_256Max[edge]<=dPhi && dPhiNLBMap_6bit_256Max[edge+1]>dPhi)
219  {
220  dPhiBin_ = edge;
221  break;
222  }
223  }
224  if (bits == 7)
225  {
226  for (int edge=0; edge<(1<<bits)-1; edge++)
227  if (dPhiNLBMap_7bit_256Max[edge]<=dPhi && dPhiNLBMap_7bit_256Max[edge+1]>dPhi)
228  {
229  dPhiBin_ = edge;
230  break;
231  }
232  }
233  }
234  if (max==512)
235  {
236  if (bits == 7)
237  {
238  for (int edge=0; edge<(1<<bits)-1; edge++)
239  if (dPhiNLBMap_7bit_512Max[edge]<=dPhi && dPhiNLBMap_7bit_512Max[edge+1]>dPhi)
240  {
241  dPhiBin_ = edge;
242  break;
243  }
244  }
245  if (bits == 8)
246  {
247  for (int edge=0; edge<(1<<bits)-1; edge++)
248  if (dPhiNLBMap_8bit_512Max[edge]<=dPhi && dPhiNLBMap_8bit_512Max[edge+1]>dPhi)
249  {
250  dPhiBin_ = edge;
251  break;
252  }
253  }
254  }
255 
256  return ( dPhiBin_);
257 }
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision bits
static const int dPhiNLBMap_7bit_256Max[128]
Definition: PtAssignment.cc:98
static const int dPhiNLBMap_8bit_512Max[256]
static const int dPhiNLBMap_7bit_512Max[256]
static const int dPhiNLBMap_5bit_256Max[32]
Definition: PtAssignment.cc:94
static const int dPhiNLBMap_6bit_256Max[64]
Definition: PtAssignment.cc:96

Variable Documentation

const int dPhiNLBMap_5bit[32]
static
Initial value:
=
{ 0 , 1 , 2 , 4 , 5 , 7 , 9 , 11 , 13 , 15 , 18 , 21 , 24 , 28 , 32 , 37 , 41 , 47 , 53 , 60 , 67 , 75 , 84 , 94 , 105 , 117 , 131 , 145 , 162 , 180 , 200 , 222}

Definition at line 107 of file PtAssignment.cc.

Referenced by getAddress().

const int dPhiNLBMap_5bit_256Max[32] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, 20, 21, 23, 25, 28, 31, 34, 39, 46, 55, 68, 91, 136}
static

Definition at line 94 of file PtAssignment.cc.

Referenced by getdPhiFromBin(), getNLBdPhi(), and getNLBdPhiBin().

const int dPhiNLBMap_6bit_256Max[64] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 36, 37, 38, 39, 40, 42, 43, 45, 47, 49, 51, 53, 56, 58, 61, 65, 68, 73, 78, 83, 89, 97, 106, 116, 129, 145, 166, 193, 232}
static

Definition at line 96 of file PtAssignment.cc.

Referenced by getdPhiFromBin(), getNLBdPhi(), and getNLBdPhiBin().

const int dPhiNLBMap_7bit[128]
static
Initial value:
=
{ 0 , 1 , 2 , 3 , 4 , 5 , 6 , 8 , 9 , 10 , 11 , 12 , 14 , 15 , 16 , 17 , 19 , 20 , 21 , 23 , 24 , 26 , 27 , 29 , 30 , 32 , 33 , 35 , 37 , 38 , 40 , 42 , 44 , 45 , 47 , 49 , 51 , 53 , 55 , 57 , 59 , 61 , 63 , 65 , 67 , 70 , 72 , 74 , 77 , 79 , 81 , 84 , 86 , 89 , 92 , 94 , 97 , 100 , 103 , 105 , 108 , 111 , 114 , 117 , 121 , 124 , 127 , 130 , 134 , 137 , 141 , 144 , 148 , 151 , 155 , 159 , 163 , 167 , 171 , 175 , 179 , 183 , 188 , 192 , 197 , 201 , 206 , 210 , 215 , 220 , 225 , 230 , 235 , 241 , 246 , 251 , 257 , 263 , 268 , 274 , 280 , 286 , 292 , 299 , 305 , 312 , 318 , 325 , 332 , 339 , 346 , 353 , 361 , 368 , 376 , 383 , 391 , 399 , 408 , 416 , 425 , 433 , 442 , 451 , 460 , 469 , 479 , 489 }

Definition at line 112 of file PtAssignment.cc.

Referenced by getAddress().

const int dPhiNLBMap_7bit_256Max[128] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 77, 78, 79, 80, 81, 82, 83, 84, 86, 87, 88, 90, 91, 93, 94, 96, 97, 99, 101, 103, 105, 107, 109, 111, 113, 115, 118, 120, 123, 125, 128, 131, 134, 138, 141, 145, 149, 153, 157, 161, 166, 171, 176, 182, 188, 194, 201, 209, 217, 225, 235, 245}
static

Definition at line 98 of file PtAssignment.cc.

Referenced by getdPhiFromBin(), getNLBdPhi(), and getNLBdPhiBin().

const int dPhiNLBMap_7bit_512Max[256] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 71, 72, 73, 74, 75, 76, 77, 79, 80, 81, 83, 84, 86, 87, 89, 91, 92, 94, 96, 98, 100, 102, 105, 107, 110, 112, 115, 118, 121, 124, 127, 131, 135, 138, 143, 147, 152, 157, 162, 168, 174, 181, 188, 196, 204, 214, 224, 235, 247, 261, 276, 294, 313, 336, 361, 391, 427, 470}
static

Definition at line 102 of file PtAssignment.cc.

Referenced by getdPhiFromBin(), getNLBdPhi(), and getNLBdPhiBin().

const int dPhiNLBMap_8bit[256]
static
Initial value:
=
{ 0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 , 10 , 11 , 12 , 13 , 14 , 16 , 17 , 18 , 19 , 20 , 21 , 22 , 23 , 24 , 25 , 27 , 28 , 29 , 30 , 31 , 32 , 33 , 35 , 36 , 37 , 38 , 39 , 40 , 42 , 43 , 44 , 45 , 46 , 48 , 49 , 50 , 51 , 53 , 54 , 55 , 56 , 58 , 59 , 60 , 61 , 63 , 64 , 65 , 67 , 68 , 69 , 70 , 72 , 73 , 74 , 76 , 77 , 79 , 80 , 81 , 83 , 84 , 85 , 87 , 88 , 90 , 91 , 92 , 94 , 95 , 97 , 98 , 100 , 101 , 103 , 104 , 105 , 107 , 108 , 110 , 111 , 113 , 115 , 116 , 118 , 119 , 121 , 122 , 124 , 125 , 127 , 129 , 130 , 132 , 133 , 135 , 137 , 138 , 140 , 141 , 143 , 145 , 146 , 148 , 150 , 151 , 153 , 155 , 157 , 158 , 160 , 162 , 163 , 165 , 167 , 169 , 171 , 172 , 174 , 176 , 178 , 180 , 181 , 183 , 185 , 187 , 189 , 191 , 192 , 194 , 196 , 198 , 200 , 202 , 204 , 206 , 208 , 210 , 212 , 214 , 216 , 218 , 220 , 222 , 224 , 226 , 228 , 230 , 232 , 234 , 236 , 238 , 240 , 242 , 244 , 246 , 249 , 251 , 253 , 255 , 257 , 259 , 261 , 264 , 266 , 268 , 270 , 273 , 275 , 277 , 279 , 282 , 284 , 286 , 289 , 291 , 293 , 296 , 298 , 300 , 303 , 305 , 307 , 310 , 312 , 315 , 317 , 320 , 322 , 324 , 327 , 329 , 332 , 334 , 337 , 340 , 342 , 345 , 347 , 350 , 352 , 355 , 358 , 360 , 363 , 366 , 368 , 371 , 374 , 376 , 379 , 382 , 385 , 387 , 390 , 393 , 396 , 398 , 401 , 404 , 407 , 410 , 413 , 416 , 419 , 421 , 424 , 427 , 430 , 433 , 436 , 439 , 442 , 445 , 448 , 451 , 454 , 457 , 461 , 464 , 467 , 470 , 473 , 476 , 479 , 483 }

Definition at line 117 of file PtAssignment.cc.

const int dPhiNLBMap_8bit_512Max[256] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 164, 165, 166, 167, 168, 170, 171, 172, 174, 175, 176, 178, 179, 180, 182, 183, 185, 186, 188, 190, 191, 193, 194, 196, 198, 200, 201, 203, 205, 207, 209, 211, 213, 215, 217, 219, 221, 223, 225, 228, 230, 232, 235, 237, 240, 242, 245, 248, 250, 253, 256, 259, 262, 265, 268, 272, 275, 278, 282, 285, 289, 293, 297, 300, 305, 309, 313, 317, 322, 327, 331, 336, 341, 347, 352, 358, 363, 369, 375, 382, 388, 395, 402, 410, 417, 425, 433, 442, 450, 460, 469, 479, 490, 500}
static

Definition at line 104 of file PtAssignment.cc.

Referenced by getdPhiFromBin(), getNLBdPhi(), and getNLBdPhiBin().

const int ModeVariables_Scheme3[13][6]
static
Initial value:
=
{
{0,6,12,13,20,-999},
{-999,-999,-999,-999,-999,-999},
{1,7,12,14,20,-999},
{3,9,13,14,21,-999},
{0,3,7,12,20,-999},
{-999,-999,-999,-999,-999,-999},
{2,8,12,15,20,-999},
{4,10,13,15,21,-999},
{0,4,8,12,20,-999},
{5,11,14,15,22,-999},
{1,5,8,16,20,-999},
{3,5,10,13,-999,-999},
{0,3,5,20,-999,-999}
}

Definition at line 74 of file PtAssignment.cc.

Referenced by l1t::EmtfPtAssignment::calculatePt().