#include <NeighArr.h>
Definition at line 241 of file NeighArr.h.
◆ get_option()
constexpr int CaloRecGPU::NeighPairsArr::get_option |
( |
const int |
pair | ) |
const |
|
inlineconstexpr |
Definition at line 246 of file NeighArr.h.
255 constexpr
int s_pairs_end[
NumNeighOptions] = {184128, 368256, 551424, 733312, 1483056, 1960492, 2437928, 2438824, 2439720, 2500008, 2530412, 2560816};
258 if (pair < s_pairs_end[
i])
◆ is_valid()
constexpr bool CaloRecGPU::NeighPairsArr::is_valid |
( |
const int |
pair, |
|
|
const unsigned int |
options, |
|
|
const bool |
limited_PS, |
|
|
const bool |
limited_HECIW_FCal |
|
) |
| const |
|
inlineconstexpr |
Definition at line 266 of file NeighArr.h.
269 if (opt_idx < 0 || !(
options & (1U << opt_idx)) )
276 constexpr
int limited_option = 6;
287 constexpr
int s_PS_start[
NumNeighOptions] = {173888, 358016, 541056, 723584, 1432784, 1954480, 2364410, 2438696, 2439336, 2500008, 2529160, 2559756};
288 constexpr
int s_HECIW_FCal_start[
NumNeighOptions] = {183232, 367360, 550272, 732672, 1469392, 1954480, 2435450, 2438824, 2439720, 2500008, 2529160, 2559756};
290 if (limited_PS && opt_idx != limited_option)
292 if (pair >= s_PS_start[opt_idx] && pair < s_HECIW_FCal_start[opt_idx])
298 if (limited_HECIW_FCal && opt_idx != limited_option)
300 if (pair >= s_HECIW_FCal_start[opt_idx])
◆ cell_A
◆ cell_B
The documentation for this struct was generated from the following file: