CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
L1MuGMTLFDisableHotLUT.cc
Go to the documentation of this file.
1 //-------------------------------------------------
2 //
3 // Class: L1MuGMTLFDisableHotLUT
4 //
5 //
6 // $Date: 2006/11/17 08:25:34 $
7 // $Revision: 1.2 $
8 //
9 // Author :
10 // H. Sakulin HEPHY Vienna
11 //
12 // Migrated to CMSSW:
13 // I. Mikulec
14 //
15 //--------------------------------------------------
16 
17 //-----------------------
18 // This Class's Header --
19 //-----------------------
21 
22 //---------------
23 // C++ Headers --
24 //---------------
25 
26 //-------------------------------
27 // Collaborating Class Headers --
28 //-------------------------------
29 
30 //-------------------
31 // InitParameters --
32 //-------------------
33 
35 }
36 
37 //------------------------
38 // The Lookup Function --
39 //------------------------
40 
41 // This LUT is used to look up whether DT/CSC muons from the other stream
42 // should be disabled. It is a duplicate of the calculation performed in the other chip.
43 // The LUT is needed so that diasbled muons are not considered in the cancel-out process.
44 //
45 // !!! It has to be ensured that the contents match the corresponding LFSortRankEtaPhiLUT !!!
46 //
47 //
48 // If the LFSortRankEtaPhiLUT contains a "11", the LFDisableHotLUT has to contain a '1'
49 //
50 
51 
52 unsigned L1MuGMTLFDisableHotLUT::TheLookupFunction (int idx, unsigned eta, unsigned phi) const {
53  // idx is DT, CSC
54  // INPUTS: eta(6) phi(8)
55  // OUTPUTS: disable_hot(1)
56 
57  // TBD: implementation of reading disable-hot configuration
58 
59  return 0;
60 }
61 
62 
63 
64 
65 
66 
67 
68 
69 
70 
71 
72 
73 
74 
75 
76 
77 
78 
79 
unsigned TheLookupFunction(int idx, unsigned eta, unsigned phi) const
The lookup function - here the functionality of the LUT is implemented.
T eta() const
void InitParameters()
Initialize scales, configuration parameters, alignment constants, ...
Definition: DDAxes.h:10