73 int isys = isFWD + 2 *
isRPC;
74 int ch_idx = (
charge == 0) ? 1 : 0;
87 int dphi_int = (
int)((-dphi + 1.25 / 180. *
M_PI + 2 *
M_PI) / (2.5 / 180. *
M_PI)) - 144;
virtual float getLowEdge(unsigned packed) const =0
get the low edge of bin represented by packed
const L1MuScale * getPtScale() const
get the Pt scale
static bool getPropagatePhi()
static const L1MuTriggerPtScale * getTriggerPtScale()
bool isRPC(GeomDetEnumerators::SubDetector m)
unsigned TheLookupFunction(int idx, unsigned eta, unsigned pt, unsigned charge) const
The lookup function - here the functionality of the LUT is implemented.
void InitParameters()
Initialize scales, configuration parameters, alignment constants, ...
static float dphi(int isys, int isISO, int icharge, int ieta, float pt)
look up delta-phi with integer eta
unsigned packedFromIdx(int idx) const override
get the packed notation of a value, check range