src
L1Trigger
GlobalMuonTrigger
src
L1MuGMTLFPtMixLUT.cc
Go to the documentation of this file.
1
//-------------------------------------------------
2
//
3
// Class: L1MuGMTLFPtMixLUT
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/L1MuGMTLFPtMixLUT.h
"
19
20
//---------------
21
// C++ Headers --
22
//---------------
23
24
//-------------------------------
25
// Collaborating Class Headers --
26
//-------------------------------
27
28
//-------------------
29
// InitParameters --
30
//-------------------
31
32
void
L1MuGMTLFPtMixLUT::InitParameters
() {}
33
34
//------------------------
35
// The Lookup Function --
36
//------------------------
37
38
unsigned
L1MuGMTLFPtMixLUT::TheLookupFunction
(
int
idx
,
unsigned
pt_dtcsc,
unsigned
pt_rpc)
const
{
39
// idx is DTRPC, CSCRPC
40
// INPUTS: pt_dtcsc(5) pt_rpc(5)
41
// OUTPUTS: pt_mixed(5)
42
43
// choosing maximum pt
44
45
return
pt_dtcsc < pt_rpc ? pt_rpc : pt_dtcsc;
46
}
L1MuGMTLFPtMixLUT::InitParameters
void InitParameters()
Initialize scales, configuration parameters, alignment constants, ...
Definition:
L1MuGMTLFPtMixLUT.cc:32
heavyIonCSV_trainingSettings.idx
idx
Definition:
heavyIonCSV_trainingSettings.py:5
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:38
L1MuGMTLFPtMixLUT.h
Generated for CMSSW Reference Manual by
1.8.14