Main Page
Namespaces
Classes
Package Documentation
L1Trigger
GlobalMuonTrigger
src
L1MuGMTLFMergeRankCombineLUT.cc
Go to the documentation of this file.
1
//-------------------------------------------------
2
//
3
// Class: L1MuGMTLFMergeRankCombineLUT
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/L1MuGMTLFMergeRankCombineLUT.h
"
19
20
//---------------
21
// C++ Headers --
22
//---------------
23
24
//-------------------------------
25
// Collaborating Class Headers --
26
//-------------------------------
27
28
//-------------------
29
// InitParameters --
30
//-------------------
31
32
void
L1MuGMTLFMergeRankCombineLUT::InitParameters
() {
33
}
34
35
//------------------------
36
// The Lookup Function --
37
//------------------------
38
39
unsigned
L1MuGMTLFMergeRankCombineLUT::TheLookupFunction
(
int
idx
,
unsigned
rank_etaq,
unsigned
rank_ptq,
unsigned
rank_etaphi)
const
{
40
// idx is DT, BRPC, CSC, FRPC
41
// INPUTS: rank_etaq(7) rank_ptq(2) rank_etaphi(1)
42
// OUTPUTS: merge_rank(8)
43
44
return
rank_etaq + 128*rank_etaphi;
45
}
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
L1MuGMTLFMergeRankCombineLUT.h
L1MuGMTLFMergeRankCombineLUT::TheLookupFunction
unsigned TheLookupFunction(int idx, unsigned rank_etaq, unsigned rank_ptq, unsigned rank_etaphi) const
The lookup function - here the functionality of the LUT is implemented.
Definition:
L1MuGMTLFMergeRankCombineLUT.cc:39
training_settings.idx
idx
Definition:
training_settings.py:16
L1MuGMTLFMergeRankCombineLUT::InitParameters
void InitParameters()
Initialize scales, configuration parameters, alignment constants, ...
Definition:
L1MuGMTLFMergeRankCombineLUT.cc:32
Generated for CMSSW Reference Manual by
1.8.11