70 if (!doProjection)
return 0;
75 int isys = isFWD + 2 * isRPC;
76 int ch_idx = (charge == 0) ? 1 : 0;
85 int dphi_int = (int) ( (-dphi + 1.25 / 180. *
M_PI + 2*
M_PI ) / ( 2.5 / 180. *
M_PI ) ) - 144;
virtual unsigned packedFromIdx(int idx) const
get the packed notation of a value, check range
const L1MuScale * getPtScale() const
get the Pt scale
virtual float getLowEdge(unsigned packed) const =0
get the low edge of bin represented by packed
unsigned TheLookupFunction(int idx, unsigned eta, unsigned pt, unsigned charge) const
The lookup function - here the functionality of the LUT is implemented.
static bool getPropagatePhi()
static const L1MuTriggerPtScale * getTriggerPtScale()
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