File indexing completed on 2023-03-17 11:11:27
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021 #ifndef L1TriggerGlobalMuonTrigger_L1MuGMTPhiLUT_h
0022 #define L1TriggerGlobalMuonTrigger_L1MuGMTPhiLUT_h
0023
0024
0025
0026
0027
0028 #include <vector>
0029 #include <cmath>
0030
0031
0032
0033
0034
0035
0036
0037
0038
0039
0040
0041
0042
0043 class L1MuGMTPhiLUT {
0044 public:
0045
0046 L1MuGMTPhiLUT();
0047
0048
0049 virtual ~L1MuGMTPhiLUT();
0050
0051
0052
0053
0054 static float dphi(int isys, int isISO, int icharge, int ieta, float pt);
0055
0056
0057 static float dphi(int isys, int isISO, int icharge, float eta, float pt) {
0058 return dphi(isys, isISO, icharge, etabin((float)fabs(eta), isys), pt);
0059 };
0060
0061 private:
0062 static int etabin(float eta, int isys);
0063
0064 private:
0065 static const int NSYS = 4;
0066 static const int DT = 0;
0067 static const int CSC = 1;
0068 static const int bRPC = 2;
0069 static const int fRPC = 3;
0070
0071
0072
0073 static const unsigned int NETA = 8;
0074
0075
0076 static const unsigned int NRP = 2;
0077
0078 static float etabins[NSYS][NETA + 1];
0079 static float fitparams_phi[NRP][NSYS][NETA][2][3];
0080 };
0081
0082 #endif