65 if (eta1==7 || eta2 ==7)
return delta_eta_OOR;
69 case 0: type1 = 0; type2 = 2;
break;
70 case 1: type1 = 2; type2 = 0;
break;
71 case 2: type1 = 1; type2 = 2;
break;
72 case 3: type1 = 3; type2 = 0;
break;
80 unsigned delta_eta_4bit = 0;
83 if (delta_eta < theGMTScales->getDeltaEtaScale(idx+2)->getScaleMin() ||
85 delta_eta_4bit = delta_eta_OOR;
91 return delta_eta_4bit;
virtual float getScaleMax() const =0
get the upper edge of the last bin
double delta_eta(double eta1, double eta2)
virtual unsigned packedFromIdx(int idx) const
get the packed notation of a value, check range
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.
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)