57 if (cphi_start > 17)
return 0;
59 int isISO = (idx / 2) % 2;
61 int offset = ( int(cphi_ofs) - 1 ) * ( (charge==0) ? 1 : -1 );
63 int center_region = ( 18 + int(cphi_start) +
offset ) % 18;
66 unsigned phi_select_word = 1 << center_region;
75 if ( cphi_fine==1 ) imax++;
79 for (
int i=imin;
i<=imax;
i++ )
80 phi_select_word |= 1 << ( (
i+18) % 18 );
83 return phi_select_word;
int m_IsolationCellSizePhi
Private data members (LUT parameters);.
unsigned int offset(bool)
void InitParameters()
Initialize scales, configuration parameters, alignment constants, ...
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()