CMS 3D CMS Logo

L1MuGMTLFMergeRankEtaPhiLUT.cc
Go to the documentation of this file.
1 //-------------------------------------------------
2 //
3 // Class: L1MuGMTLFMergeRankEtaPhiLUT
4 //
5 //
6 //
7 // Author :
8 // H. Sakulin HEPHY Vienna
9 //
10 // Migrated to CMSSW:
11 // I. Mikulec
12 //
13 //--------------------------------------------------
14 
15 //-----------------------
16 // This Class's Header --
17 //-----------------------
19 
20 //---------------
21 // C++ Headers --
22 //---------------
23 
24 //-------------------------------
25 // Collaborating Class Headers --
26 //-------------------------------
27 
28 //-------------------
29 // InitParameters --
30 //-------------------
31 
33 
34 //------------------------
35 // The Lookup Function --
36 //------------------------
37 
38 unsigned L1MuGMTLFMergeRankEtaPhiLUT::TheLookupFunction(int idx, unsigned eta, unsigned phi) const {
39  // idx is DT, BRPC, CSC, FRPC
40  // INPUTS: eta(6) phi(8)
41  // OUTPUTS: rank_etaphi(1)
42 
43  // return zero to reduce merge rank for a certain region
44  return 1;
45 }
heavyIonCSV_trainingSettings.idx
idx
Definition: heavyIonCSV_trainingSettings.py:5
PVValHelper::eta
Definition: PVValidationHelpers.h:70
PVValHelper::phi
Definition: PVValidationHelpers.h:69
L1MuGMTLFMergeRankEtaPhiLUT::InitParameters
void InitParameters()
Initialize scales, configuration parameters, alignment constants, ...
Definition: L1MuGMTLFMergeRankEtaPhiLUT.cc:32
L1MuGMTLFMergeRankEtaPhiLUT.h
L1MuGMTLFMergeRankEtaPhiLUT::TheLookupFunction
unsigned TheLookupFunction(int idx, unsigned eta, unsigned phi) const
The lookup function - here the functionality of the LUT is implemented.
Definition: L1MuGMTLFMergeRankEtaPhiLUT.cc:38