CMS 3D CMS Logo

L1MuGMTEtaLUT.h
Go to the documentation of this file.
1 //-------------------------------------------------
2 //
3 // Class: L1MuGMTEtaLUT
12 //
13 //
14 // Author :
15 // H. Sakulin CERN EP
16 //
17 // Migrated to CMSSW:
18 // I. Mikulec
19 //
20 //--------------------------------------------------
21 #ifndef L1TriggerGlobalMuonTrigger_L1MuGMTEtaLUT_h
22 #define L1TriggerGlobalMuonTrigger_L1MuGMTEtaLUT_h
23 
24 //---------------
25 // C++ Headers --
26 //---------------
27 
28 #include <vector>
29 
30 //----------------------
31 // Base Class Headers --
32 //----------------------
33 
34 //------------------------------------
35 // Collaborating Class Declarations --
36 //------------------------------------
37 
38 // ---------------------
39 // -- Class Interface --
40 // ---------------------
41 
43 public:
45  L1MuGMTEtaLUT();
46 
48  virtual ~L1MuGMTEtaLUT();
49 
51  static float eta(int isys, int isISO, int icharge, float eta, float pt);
52 
53 private:
54  static int etabin(float eta, int isys);
55 
56 private:
57  static const int NSYS = 4;
58  static const int DT = 0;
59  static const int CSC = 1;
60  static const int bRPC = 2;
61  static const int fRPC = 3;
62 
63  // 3-bit eta, in hardware 4th bit is reserved for
64  // positive / negative endcap asymmetries
65  static const unsigned int NETA = 8;
66 
67  // 2 reference planes 0: calo, 1: vertex
68  static const unsigned int NRP = 2;
69 
70  static float etabins[NSYS][NETA + 1];
71  static float fitparams_eta[NRP][NSYS][NETA][3];
72 };
73 
74 #endif
L1MuGMTEtaLUT::NRP
static const unsigned int NRP
Definition: L1MuGMTEtaLUT.h:68
L1MuGMTEtaLUT::NETA
static const unsigned int NETA
Definition: L1MuGMTEtaLUT.h:65
L1MuGMTEtaLUT::NSYS
static const int NSYS
Definition: L1MuGMTEtaLUT.h:57
DiDispStaMuonMonitor_cfi.pt
pt
Definition: DiDispStaMuonMonitor_cfi.py:39
L1MuGMTEtaLUT::CSC
static const int CSC
Definition: L1MuGMTEtaLUT.h:59
L1MuGMTEtaLUT::bRPC
static const int bRPC
Definition: L1MuGMTEtaLUT.h:60
L1MuGMTEtaLUT::DT
static const int DT
Definition: L1MuGMTEtaLUT.h:58
L1MuGMTEtaLUT::L1MuGMTEtaLUT
L1MuGMTEtaLUT()
constructor
Definition: L1MuGMTEtaLUT.cc:44
L1MuGMTEtaLUT::etabins
static float etabins[NSYS][NETA+1]
Definition: L1MuGMTEtaLUT.h:70
L1MuGMTEtaLUT::fRPC
static const int fRPC
Definition: L1MuGMTEtaLUT.h:61
L1MuGMTEtaLUT
Definition: L1MuGMTEtaLUT.h:42
L1MuGMTEtaLUT::etabin
static int etabin(float eta, int isys)
Definition: L1MuGMTEtaLUT.cc:55
L1MuGMTEtaLUT::eta
static float eta(int isys, int isISO, int icharge, float eta, float pt)
look up delta-eta
Definition: L1MuGMTEtaLUT.cc:68
L1MuGMTEtaLUT::~L1MuGMTEtaLUT
virtual ~L1MuGMTEtaLUT()
destructor
Definition: L1MuGMTEtaLUT.cc:49
L1MuGMTEtaLUT::fitparams_eta
static float fitparams_eta[NRP][NSYS][NETA][3]
Definition: L1MuGMTEtaLUT.h:71