Main Page
Namespaces
Classes
Package Documentation
L1Trigger
GlobalMuonTrigger
src
L1MuGMTLFSortRankEtaPhiLUT.cc
Go to the documentation of this file.
1
//-------------------------------------------------
2
//
3
// Class: L1MuGMTLFSortRankEtaPhiLUT
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/L1MuGMTLFSortRankEtaPhiLUT.h
"
19
20
//---------------
21
// C++ Headers --
22
//---------------
23
24
//-------------------------------
25
// Collaborating Class Headers --
26
//-------------------------------
27
28
//-------------------
29
// InitParameters --
30
//-------------------
31
32
void
L1MuGMTLFSortRankEtaPhiLUT::InitParameters
() {
33
}
34
35
//--------------------------------------------------------------------------------
36
// Sort Rank LUT, Eta-Phi part
37
//
38
// This LUT determines the dependency of the sort rank on Eta and Phi.
39
// It can be used to lower the rank of or to disable muons in certain
40
// hot detector regions
41
//
42
// Inputs: eta(6 bit) and phi(8 bit)
43
// Outputs: Rank contribution 2-bit
44
//
45
//
46
//
47
// PROPOSAL FOR PROGRAMMING
48
//
49
// 00 Reduce below all other: rank += 0
50
// 01 Reduce by half scale: rank += 64
51
// 10 Normal operation: rank += 128
52
// 11 Switch off: rank = 0
53
//
54
// Switched off muons (code 11 binary) will be disabled completely, also for the matchiing
55
// by an additional disable-signal.
56
//
57
//--------------------------------------------------------------------------------
58
59
unsigned
L1MuGMTLFSortRankEtaPhiLUT::TheLookupFunction
(
int
idx
,
unsigned
eta
,
unsigned
phi
)
const
{
60
// idx is DT, BRPC, CSC, FRPC
61
// INPUTS: eta(6) phi(8)
62
// OUTPUTS: rank_etaphi(2)
63
64
// by default return code 10 (binary)
65
unsigned
int
rank_etaphi = 2;
66
return
rank_etaphi;
67
}
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
PVValHelper::eta
Definition:
PVValidationHelpers.h:65
DDAxes::phi
L1MuGMTLFSortRankEtaPhiLUT.h
L1MuGMTLFSortRankEtaPhiLUT::InitParameters
void InitParameters()
Initialize scales, configuration parameters, alignment constants, ...
Definition:
L1MuGMTLFSortRankEtaPhiLUT.cc:32
training_settings.idx
idx
Definition:
training_settings.py:16
L1MuGMTLFSortRankEtaPhiLUT::TheLookupFunction
unsigned TheLookupFunction(int idx, unsigned eta, unsigned phi) const
The lookup function - here the functionality of the LUT is implemented.
Definition:
L1MuGMTLFSortRankEtaPhiLUT.cc:59
Generated for CMSSW Reference Manual by
1.8.11