Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
L1Trigger
GlobalMuonTrigger
src
L1MuGMTLFPtMixLUT.cc
Go to the documentation of this file.
1
//-------------------------------------------------
2
//
3
// Class: L1MuGMTLFPtMixLUT
4
//
5
//
6
// $Date: 2007/04/02 15:45:38 $
7
// $Revision: 1.3 $
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/L1MuGMTLFPtMixLUT.h
"
21
22
//---------------
23
// C++ Headers --
24
//---------------
25
26
//-------------------------------
27
// Collaborating Class Headers --
28
//-------------------------------
29
30
//-------------------
31
// InitParameters --
32
//-------------------
33
34
void
L1MuGMTLFPtMixLUT::InitParameters
() {
35
}
36
37
//------------------------
38
// The Lookup Function --
39
//------------------------
40
41
unsigned
L1MuGMTLFPtMixLUT::TheLookupFunction
(
int
idx,
unsigned
pt_dtcsc,
unsigned
pt_rpc)
const
{
42
// idx is DTRPC, CSCRPC
43
// INPUTS: pt_dtcsc(5) pt_rpc(5)
44
// OUTPUTS: pt_mixed(5)
45
46
47
// choosing maximum pt
48
49
return
pt_dtcsc < pt_rpc ? pt_rpc : pt_dtcsc;
50
}
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
L1MuGMTLFPtMixLUT::InitParameters
void InitParameters()
Initialize scales, configuration parameters, alignment constants, ...
Definition:
L1MuGMTLFPtMixLUT.cc:34
L1MuGMTLFPtMixLUT::TheLookupFunction
unsigned TheLookupFunction(int idx, unsigned pt_dtcsc, unsigned pt_rpc) const
The lookup function - here the functionality of the LUT is implemented.
Definition:
L1MuGMTLFPtMixLUT.cc:41
L1MuGMTLFPtMixLUT.h
Generated for CMSSW Reference Manual by
1.8.5