test
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 //
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 //------------------------
36 // The Lookup Function --
37 //------------------------
38 
39 // This LUT is used to look up whether DT/CSC muons from the other stream
40 // should be disabled. It is a duplicate of the calculation performed in the other chip.
41 // The LUT is needed so that diasbled muons are not considered in the cancel-out process.
42 //
43 // !!! It has to be ensured that the contents match the corresponding LFSortRankEtaPhiLUT !!!
44 //
45 //
46 // If the LFSortRankEtaPhiLUT contains a "11", the LFDisableHotLUT has to contain a '1'
47 //
48 
49 
50 unsigned L1MuGMTLFDisableHotLUT::TheLookupFunction (int idx, unsigned eta, unsigned phi) const {
51  // idx is DT, CSC
52  // INPUTS: eta(6) phi(8)
53  // OUTPUTS: disable_hot(1)
54 
55  // TBD: implementation of reading disable-hot configuration
56 
57  return 0;
58 }
59 
60 
61 
62 
63 
64 
65 
66 
67 
68 
69 
70 
71 
72 
73 
74 
75 
76 
77 
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, ...
tuple idx
DEBUGGING if hasattr(process,"trackMonIterativeTracking2012"): print "trackMonIterativeTracking2012 D...
Geom::Phi< T > phi() const