CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
L1MuGMTLFDisableHotLUT.cc
Go to the documentation of this file.
1 //-------------------------------------------------
2 //
3 // Class: L1MuGMTLFDisableHotLUT
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 // This LUT is used to look up whether DT/CSC muons from the other stream
39 // should be disabled. It is a duplicate of the calculation performed in the other chip.
40 // The LUT is needed so that diasbled muons are not considered in the cancel-out process.
41 //
42 // !!! It has to be ensured that the contents match the corresponding LFSortRankEtaPhiLUT !!!
43 //
44 //
45 // If the LFSortRankEtaPhiLUT contains a "11", the LFDisableHotLUT has to contain a '1'
46 //
47 
48 unsigned L1MuGMTLFDisableHotLUT::TheLookupFunction(int idx, unsigned eta, unsigned phi) const {
49  // idx is DT, CSC
50  // INPUTS: eta(6) phi(8)
51  // OUTPUTS: disable_hot(1)
52 
53  // TBD: implementation of reading disable-hot configuration
54 
55  return 0;
56 }
unsigned TheLookupFunction(int idx, unsigned eta, unsigned phi) const
The lookup function - here the functionality of the LUT is implemented.
void InitParameters()
Initialize scales, configuration parameters, alignment constants, ...