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 //------------------------------------
36 // Collaborating Class Declarations --
37 //------------------------------------
38 
39 
40 // ---------------------
41 // -- Class Interface --
42 // ---------------------
43 
44 
46 
47  public:
48 
50  L1MuGMTEtaLUT();
51 
53  virtual ~L1MuGMTEtaLUT();
54 
56  static float eta(int isys, int isISO, int icharge, float eta, float pt);
57 
58  private:
59  static int etabin (float eta, int isys);
60 
61  private:
62  static const int NSYS=4;
63  static const int DT=0;
64  static const int CSC=1;
65  static const int bRPC=2;
66  static const int fRPC=3;
67 
68  // 3-bit eta, in hardware 4th bit is reserved for
69  // positive / negative endcap asymmetries
70  static const unsigned int NETA=8;
71 
72  // 2 reference planes 0: calo, 1: vertex
73  static const unsigned int NRP=2;
74 
75  static float etabins[NSYS][NETA+1];
76  static float fitparams_eta[NRP][NSYS][NETA][3];
77 };
78 
79 #endif
80 
81 
82 
83 
84 
85 
86 
87 
88 
89 
static const int CSC
Definition: L1MuGMTEtaLUT.h:64
static const int bRPC
Definition: L1MuGMTEtaLUT.h:65
static const unsigned int NETA
Definition: L1MuGMTEtaLUT.h:70
L1MuGMTEtaLUT()
constructor
static const int NSYS
Definition: L1MuGMTEtaLUT.h:62
static float etabins[NSYS][NETA+1]
Definition: L1MuGMTEtaLUT.h:75
virtual ~L1MuGMTEtaLUT()
destructor
static const int DT
Definition: L1MuGMTEtaLUT.h:63
static const int fRPC
Definition: L1MuGMTEtaLUT.h:66
static float fitparams_eta[NRP][NSYS][NETA][3]
Definition: L1MuGMTEtaLUT.h:76
static int etabin(float eta, int isys)
static const unsigned int NRP
Definition: L1MuGMTEtaLUT.h:73
static float eta(int isys, int isISO, int icharge, float eta, float pt)
look up delta-eta