68 if (!doProjection)
return 0;
73 int isys = isFWD + 2 * isRPC;
74 int ch_idx = (charge == 0) ? 1 : 0;
83 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()
tuple idx
DEBUGGING if hasattr(process,"trackMonIterativeTracking2012"): print "trackMonIterativeTracking2012 D...
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