48 int idx,
unsigned cphi_start,
unsigned cphi_fine,
unsigned cphi_ofs,
unsigned charge)
const {
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;
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);.
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()