Main Page
Namespaces
Classes
Package Documentation
L1Trigger
GlobalMuonTrigger
src
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
//-----------------------
18
#include "
L1Trigger/GlobalMuonTrigger/src/L1MuGMTLFDisableHotLUT.h
"
19
20
//---------------
21
// C++ Headers --
22
//---------------
23
24
//-------------------------------
25
// Collaborating Class Headers --
26
//-------------------------------
27
28
//-------------------
29
// InitParameters --
30
//-------------------
31
32
void
L1MuGMTLFDisableHotLUT::InitParameters
() {
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
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:50
PVValHelper::eta
Definition:
PVValidationHelpers.h:49
DDAxes::phi
L1MuGMTLFDisableHotLUT::InitParameters
void InitParameters()
Initialize scales, configuration parameters, alignment constants, ...
Definition:
L1MuGMTLFDisableHotLUT.cc:32
L1MuGMTLFDisableHotLUT.h
training_settings.idx
idx
Definition:
training_settings.py:16
Generated for CMSSW Reference Manual by
1.8.11