46 for (
int i = 2;
i < 6;
i++) {
73 bool dphi_outofrange = (delta_phi_signed == -4);
76 if (delta_phi_signed >= 3 || delta_phi_signed <= -3)
77 dphi_outofrange =
true;
80 bool deta_outofrange = (delta_eta_signed == -8);
83 if (delta_eta_signed >= 7 || delta_eta_signed <= -7)
84 deta_outofrange =
true;
98 matchqual =
static_cast<int>(mq);
static float getPhiWeightEndcap()
static float getEtaWeightEndcap()
float m_EtaWeights[6]
Private data members (LUT parameters);.
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()
const L1MuScale * getDeltaPhiScale() const
get the delta phi scale ( 3 bits)
int idxFromPacked(unsigned packed) const override
get the value from the packed notation (+/-)
static const L1MuGMTScales * getGMTScales()
static float getEtaWeightBarrel()
unsigned TheLookupFunction(int idx, unsigned delta_eta, unsigned delta_phi) const
The lookup function - here the functionality of the LUT is implemented.
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)
static float getEtaPhiThresholdBarrel()
static float getPhiWeightBarrel()
float m_EtaPhiThresholds[6]