47 for (
int i=2;
i<6;
i++) {
74 bool dphi_outofrange = (delta_phi_signed == -4);
77 if (delta_phi_signed >=3 || delta_phi_signed <=-3)
78 dphi_outofrange =
true;
81 bool deta_outofrange = (delta_eta_signed == -8);
84 if (delta_eta_signed >=7 || delta_eta_signed <=-7)
85 deta_outofrange =
true;
96 if ( dphi_outofrange || deta_outofrange ||
102 matchqual =
static_cast<int>(mq);
105 if (matchqual > 63) matchqual = 63;
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, ...
virtual float getCenter(unsigned packed) const =0
get the center of bin represented by packed
static float getEtaPhiThresholdEndcap()
static float getEtaWeightCOU()
static float getEtaPhiThresholdCOU()
static float getPhiWeightCOU()
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]