Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
L1Trigger
GlobalMuonTrigger
src
L1MuGMTLFMergeRankCombineLUT.cc
Go to the documentation of this file.
1
//-------------------------------------------------
2
//
3
// Class: L1MuGMTLFMergeRankCombineLUT
4
//
5
//
6
// $Date: 2006/11/17 08:25:34 $
7
// $Revision: 1.2 $
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/L1MuGMTLFMergeRankCombineLUT.h
"
21
22
//---------------
23
// C++ Headers --
24
//---------------
25
26
//-------------------------------
27
// Collaborating Class Headers --
28
//-------------------------------
29
30
//-------------------
31
// InitParameters --
32
//-------------------
33
34
void
L1MuGMTLFMergeRankCombineLUT::InitParameters
() {
35
}
36
37
//------------------------
38
// The Lookup Function --
39
//------------------------
40
41
unsigned
L1MuGMTLFMergeRankCombineLUT::TheLookupFunction
(
int
idx,
unsigned
rank_etaq,
unsigned
rank_ptq,
unsigned
rank_etaphi)
const
{
42
// idx is DT, BRPC, CSC, FRPC
43
// INPUTS: rank_etaq(7) rank_ptq(2) rank_etaphi(1)
44
// OUTPUTS: merge_rank(8)
45
46
return
rank_etaq + 128*rank_etaphi;
47
}
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
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:41
L1MuGMTLFMergeRankCombineLUT::InitParameters
void InitParameters()
Initialize scales, configuration parameters, alignment constants, ...
Definition:
L1MuGMTLFMergeRankCombineLUT.cc:34
Generated for CMSSW Reference Manual by
1.8.5