55 if (cphi_start > 17)
return 0;
57 int isISO = (idx / 2) % 2;
59 int offset = ( int(cphi_ofs) - 1 ) * ( (charge==0) ? 1 : -1 );
61 int center_region = ( 18 + int(cphi_start) +
offset ) % 18;
64 unsigned phi_select_word = 1 << center_region;
73 if ( cphi_fine==1 ) imax++;
77 for (
int i=imin;
i<=imax;
i++ )
78 phi_select_word |= 1 << ( (
i+18) % 18 );
81 return phi_select_word;
int m_IsolationCellSizePhi
Private data members (LUT parameters);.
unsigned int offset(bool)
void InitParameters()
Initialize scales, configuration parameters, alignment constants, ...
tuple idx
DEBUGGING if hasattr(process,"trackMonIterativeTracking2012"): print "trackMonIterativeTracking2012 D...
unsigned TheLookupFunction(int idx, unsigned cphi_start, unsigned cphi_fine, unsigned cphi_ofs, unsigned charge) const
The lookup function - here the functionality of the LUT is implemented.
static int getIsolationCellSizePhi()