43 float delta_eta = etaValue_dtcsc - etaValue_rpc;
46 unsigned delta_eta_4bit = 0;
49 if (delta_eta < theGMTScales->getDeltaEtaScale(idx)->getScaleMin() ||
66 return delta_eta_4bit;
void InitParameters()
Initialize scales, configuration parameters, alignment constants, ...
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
virtual float getCenter(unsigned packed) const =0
get the center of bin represented by packed
unsigned TheLookupFunction(int idx, unsigned eta_dtcsc, unsigned eta_rpc) const
The lookup function - here the functionality of the LUT is implemented.
static const L1MuGMTScales * getGMTScales()
static const L1MuTriggerScales * getTriggerScales()
const L1MuScale * getRegionalEtaScale(int isys) const
get the regioanl muon trigger eta scale, isys = 0(DT), 1(bRPC), 2(CSC), 3(fwdRPC) ...
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)