49 for (
int i=2;
i<6;
i++) {
76 bool dphi_outofrange = (delta_phi_signed == -4);
79 if (delta_phi_signed >=3 || delta_phi_signed <=-3)
80 dphi_outofrange =
true;
83 bool deta_outofrange = (delta_eta_signed == -8);
86 if (delta_eta_signed >=7 || delta_eta_signed <=-7)
87 deta_outofrange =
true;
98 if ( dphi_outofrange || deta_outofrange ||
104 matchqual =
static_cast<int>(mq);
107 if (matchqual > 63) matchqual = 63;
double delta_eta(double eta1, double eta2)
static float getPhiWeightEndcap()
static float getEtaWeightEndcap()
float m_EtaWeights[6]
Private data members (LUT parameters);.
const L1MuScale * getDeltaPhiScale() const
get the delta phi scale ( 3 bits)
virtual int idxFromPacked(unsigned packed) const
get the value from the packed notation (+/-)
void InitParameters()
Initialize scales, configuration parameters, alignment constants, ...
static float getEtaPhiThresholdEndcap()
virtual float getCenter(unsigned packed) const =0
get the center of bin represented by packed
static float getEtaWeightCOU()
static float getEtaPhiThresholdCOU()
static float getPhiWeightCOU()
double delta_phi(double ph11, double phi2)
static const L1MuGMTScales * getGMTScales()
static float getEtaWeightBarrel()
const L1MuScale * getDeltaEtaScale(int idx) const
get the delta eta scale; idx = 0(DT=RPC), 1(CSC-RPC), 2(DT-CSC), 3(CSC-DT), 4(bRPC-CSC), 5(fRPC-DT)
unsigned TheLookupFunction(int idx, unsigned delta_eta, unsigned delta_phi) const
The lookup function - here the functionality of the LUT is implemented.
static float getEtaPhiThresholdBarrel()
static float getPhiWeightBarrel()
float m_EtaPhiThresholds[6]