L1Trigger
GlobalMuonTrigger
src
L1MuGMTPhiLUT.h
Go to the documentation of this file.
1
//-------------------------------------------------
2
//
3
// Class: L1MuGMTPhiLUT
12
//
13
//
14
// Author :
15
// H. Sakulin CERN EP
16
//
17
// Migrated to CMSSW:
18
// I. Mikulec
19
//
20
//--------------------------------------------------
21
#ifndef L1TriggerGlobalMuonTrigger_L1MuGMTPhiLUT_h
22
#define L1TriggerGlobalMuonTrigger_L1MuGMTPhiLUT_h
23
24
//---------------
25
// C++ Headers --
26
//---------------
27
28
#include <vector>
29
#include <cmath>
30
31
//----------------------
32
// Base Class Headers --
33
//----------------------
34
35
//------------------------------------
36
// Collaborating Class Declarations --
37
//------------------------------------
38
39
// ---------------------
40
// -- Class Interface --
41
// ---------------------
42
43
class
L1MuGMTPhiLUT
{
44
public
:
46
L1MuGMTPhiLUT
();
47
49
virtual
~L1MuGMTPhiLUT
();
50
51
//FIXME: two versions
52
54
static
float
dphi
(
int
isys,
int
isISO,
int
icharge,
int
ieta
,
float
pt
);
55
57
static
float
dphi
(
int
isys,
int
isISO,
int
icharge,
float
eta
,
float
pt
) {
58
return
dphi
(isys, isISO, icharge,
etabin
((
float
)fabs(
eta
), isys),
pt
);
59
};
60
61
private
:
62
static
int
etabin
(
float
eta
,
int
isys);
63
64
private
:
65
static
const
int
NSYS
= 4;
66
static
const
int
DT
= 0;
67
static
const
int
CSC
= 1;
68
static
const
int
bRPC
= 2;
69
static
const
int
fRPC
= 3;
70
71
// 3-bit eta, in hardware 4th bit is reserved for
72
// positive / negative endcap asymmetries
73
static
const
unsigned
int
NETA
= 8;
74
75
// 2 reference planes 0: calo, 1: vertex
76
static
const
unsigned
int
NRP
= 2;
77
78
static
float
etabins
[
NSYS
][
NETA
+ 1];
79
static
float
fitparams_phi
[
NRP
][
NSYS
][
NETA
][2][3];
80
};
81
82
#endif
L1MuGMTPhiLUT::dphi
static float dphi(int isys, int isISO, int icharge, int ieta, float pt)
look up delta-phi with integer eta
Definition:
L1MuGMTPhiLUT.cc:68
DiDispStaMuonMonitor_cfi.pt
pt
Definition:
DiDispStaMuonMonitor_cfi.py:39
L1MuGMTPhiLUT::DT
static const int DT
Definition:
L1MuGMTPhiLUT.h:66
L1MuGMTPhiLUT::NETA
static const unsigned int NETA
Definition:
L1MuGMTPhiLUT.h:73
L1MuGMTPhiLUT::NRP
static const unsigned int NRP
Definition:
L1MuGMTPhiLUT.h:76
L1MuGMTPhiLUT::bRPC
static const int bRPC
Definition:
L1MuGMTPhiLUT.h:68
L1MuGMTPhiLUT::dphi
static float dphi(int isys, int isISO, int icharge, float eta, float pt)
look up delta-phi
Definition:
L1MuGMTPhiLUT.h:57
PVValHelper::eta
Definition:
PVValidationHelpers.h:69
L1MuGMTPhiLUT::fRPC
static const int fRPC
Definition:
L1MuGMTPhiLUT.h:69
L1MuGMTPhiLUT
Definition:
L1MuGMTPhiLUT.h:43
LEDCalibrationChannels.ieta
ieta
Definition:
LEDCalibrationChannels.py:63
L1MuGMTPhiLUT::NSYS
static const int NSYS
Definition:
L1MuGMTPhiLUT.h:65
L1MuGMTPhiLUT::fitparams_phi
static float fitparams_phi[NRP][NSYS][NETA][2][3]
Definition:
L1MuGMTPhiLUT.h:79
L1MuGMTPhiLUT::etabin
static int etabin(float eta, int isys)
Definition:
L1MuGMTPhiLUT.cc:55
L1MuGMTPhiLUT::L1MuGMTPhiLUT
L1MuGMTPhiLUT()
constructor
Definition:
L1MuGMTPhiLUT.cc:44
L1MuGMTPhiLUT::etabins
static float etabins[NSYS][NETA+1]
Definition:
L1MuGMTPhiLUT.h:78
L1MuGMTPhiLUT::~L1MuGMTPhiLUT
virtual ~L1MuGMTPhiLUT()
destructor
Definition:
L1MuGMTPhiLUT.cc:49
L1MuGMTPhiLUT::CSC
static const int CSC
Definition:
L1MuGMTPhiLUT.h:67
Generated for CMSSW Reference Manual by
1.8.16