Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
L1Trigger
GlobalMuonTrigger
src
L1MuGMTLFDisableHotLUT.cc
Go to the documentation of this file.
1
//-------------------------------------------------
2
//
3
// Class: L1MuGMTLFDisableHotLUT
4
//
5
//
6
// $Date: 2007/04/02 15:45:38 $
7
// $Revision: 1.3 $
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
//-----------------------
20
#include "
L1Trigger/GlobalMuonTrigger/src/L1MuGMTLFDisableHotLUT.h
"
21
22
//---------------
23
// C++ Headers --
24
//---------------
25
26
//-------------------------------
27
// Collaborating Class Headers --
28
//-------------------------------
29
30
//-------------------
31
// InitParameters --
32
//-------------------
33
34
void
L1MuGMTLFDisableHotLUT::InitParameters
() {
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
L1MuGMTLFDisableHotLUT::TheLookupFunction
unsigned TheLookupFunction(int idx, unsigned eta, unsigned phi) const
The lookup function - here the functionality of the LUT is implemented.
Definition:
L1MuGMTLFDisableHotLUT.cc:52
eta
T eta() const
Definition:
Basic3DVectorLD.h:172
L1MuGMTLFDisableHotLUT::InitParameters
void InitParameters()
Initialize scales, configuration parameters, alignment constants, ...
Definition:
L1MuGMTLFDisableHotLUT.cc:34
L1MuGMTLFDisableHotLUT.h
phi
Definition:
DDAxes.h:10
Generated for CMSSW Reference Manual by
1.8.5