62 if (eta1 == 7 || eta2 == 7)
65 int type1 = 0, type2 = 0;
90 unsigned delta_eta_4bit = 0;
93 if (delta_eta < theGMTScales->getDeltaEtaScale(idx + 2)->getScaleMin() ||
95 delta_eta_4bit = delta_eta_OOR;
100 return delta_eta_4bit;
virtual float getScaleMax() const =0
get the upper edge of the last bin
double delta_eta(double eta1, double eta2)
void InitParameters()
Initialize scales, configuration parameters, alignment constants, ...
virtual float getCenter(unsigned packed) const =0
get the center of bin represented by packed
static const L1MuGMTScales * getGMTScales()
unsigned TheLookupFunction(int idx, unsigned eta1, unsigned eta2) const
The lookup function - here the functionality of the LUT is implemented.
unsigned packedFromIdx(int idx) const override
get the packed notation of a value, check range
virtual unsigned getPacked(float value) const =0
pack a value
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)
const L1MuScale * getOvlEtaScale(int isys) const
get the overlap eta scale (4 bits); isys = 0(DT), 1(bRPC), 2(CSC), 3(fwdRPC)