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
static const int CSC
Definition: L1MuGMTEtaLUT.h:59
static const int bRPC
Definition: L1MuGMTEtaLUT.h:60
static const unsigned int NETA
Definition: L1MuGMTEtaLUT.h:65
L1MuGMTEtaLUT()
constructor
static const int NSYS
Definition: L1MuGMTEtaLUT.h:57
static float etabins[NSYS][NETA+1]
Definition: L1MuGMTEtaLUT.h:70
virtual ~L1MuGMTEtaLUT()
destructor
static const int DT
Definition: L1MuGMTEtaLUT.h:58
static const int fRPC
Definition: L1MuGMTEtaLUT.h:61
static float fitparams_eta[NRP][NSYS][NETA][3]
Definition: L1MuGMTEtaLUT.h:71
static int etabin(float eta, int isys)
static const unsigned int NRP
Definition: L1MuGMTEtaLUT.h:68
static float eta(int isys, int isISO, int icharge, float eta, float pt)
look up delta-eta