63 if (eta1==7 || eta2 ==7)
return delta_eta_OOR;
67 case 0: type1 = 0; type2 = 2;
break;
68 case 1: type1 = 2; type2 = 0;
break;
69 case 2: type1 = 1; type2 = 2;
break;
70 case 3: type1 = 3; type2 = 0;
break;
78 unsigned delta_eta_4bit = 0;
81 if (delta_eta < theGMTScales->getDeltaEtaScale(idx+2)->getScaleMin() ||
83 delta_eta_4bit = delta_eta_OOR;
89 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()
tuple idx
DEBUGGING if hasattr(process,"trackMonIterativeTracking2012"): print "trackMonIterativeTracking2012 D...
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)