src
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
// 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
}
PVValHelper::phi
Definition:
PVValidationHelpers.h:69
heavyIonCSV_trainingSettings.idx
idx
Definition:
heavyIonCSV_trainingSettings.py:5
PVValHelper::eta
Definition:
PVValidationHelpers.h:70
L1MuGMTLFDisableHotLUT::InitParameters
void InitParameters()
Initialize scales, configuration parameters, alignment constants, ...
Definition:
L1MuGMTLFDisableHotLUT.cc:32
L1MuGMTLFDisableHotLUT.h
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:48
Generated for CMSSW Reference Manual by
1.8.14