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);
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)
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)
int idxFromPacked(unsigned packed) const override
get the value from the packed notation (+/-)
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]