ATLAS Offline Software
|
#include <NeighArr.h>
Public Types | |
using | carrier = unsigned long long int |
Public Member Functions | |
constexpr | operator carrier () const |
constexpr | NeighOffset (const carrier v) |
constexpr NeighOffset & | operator= (const carrier v) |
constexpr int | get_number (const int i) const |
constexpr int | get_start_cell (const int option) const |
constexpr int | get_end_cell (const int option) const |
To clarify, this cell no longer corresponds to the option, so it's one past the end (like the end iterator of a C++ container)... More... | |
constexpr int | get_total_number () const |
constexpr int | get_num_cells (const int option) const |
Static Public Member Functions | |
static constexpr carrier | offset_delta (const int i) |
Returns, for each i , what must be added to the offset to increase the stores numbers appropriately when a cell belonging to option (i-1) is added. More... | |
Public Attributes | |
carrier | value |
Static Protected Attributes | |
constexpr static carrier | s_numbers_to_keep = NumNeighOptions - 1 |
constexpr static int | s_bits_per_offset = 5 |
constexpr static int | s_bits_per_last_offset = 6 |
constexpr static int | s_more_bits_begin = 9 |
constexpr static carrier | s_offset_mask = 0x1FULL |
constexpr static carrier | s_offset_mask_last = 0x3FULL |
constexpr static carrier | s_offset_delta_pattern = 0x0208210842108421ULL |
constexpr static carrier | s_last_bit_mask = 0x8000000000000000ULL |
constexpr static carrier | s_only_numbers_mask = ~s_last_bit_mask |
A class that expresses the offset from the beginning of the neighbours list for the several neighbour options.
Bit packed to store all cumulative offsets, since they fit in 5 or 6 bits. (NMaxNeighbours == 34)
Definition at line 26 of file NeighArr.h.
using CaloRecGPU::NeighOffset::carrier = unsigned long long int |
Definition at line 28 of file NeighArr.h.
Definition at line 67 of file NeighArr.h.
|
inlineconstexpr |
To clarify, this cell no longer corresponds to the option, so it's one past the end (like the end iterator of a C++ container)...
Definition at line 115 of file NeighArr.h.
|
inlineconstexpr |
Definition at line 133 of file NeighArr.h.
|
inlineconstexpr |
Definition at line 77 of file NeighArr.h.
|
inlineconstexpr |
Definition at line 96 of file NeighArr.h.
|
inlineconstexpr |
Definition at line 128 of file NeighArr.h.
Returns, for each i
, what must be added to the offset to increase the stores numbers appropriately when a cell belonging to option (i-1) is added.
In other words, the neighbour counts starting from option i
are incremented.
Definition at line 144 of file NeighArr.h.
|
inlineconstexpr |
Definition at line 62 of file NeighArr.h.
|
inlineconstexpr |
Definition at line 71 of file NeighArr.h.
|
staticconstexprprotected |
Definition at line 37 of file NeighArr.h.
|
staticconstexprprotected |
Definition at line 36 of file NeighArr.h.
|
staticconstexprprotected |
Definition at line 50 of file NeighArr.h.
|
staticconstexprprotected |
Definition at line 38 of file NeighArr.h.
|
staticconstexprprotected |
Definition at line 33 of file NeighArr.h.
|
staticconstexprprotected |
Definition at line 46 of file NeighArr.h.
|
staticconstexprprotected |
Definition at line 44 of file NeighArr.h.
|
staticconstexprprotected |
Definition at line 45 of file NeighArr.h.
|
staticconstexprprotected |
Definition at line 54 of file NeighArr.h.
carrier CaloRecGPU::NeighOffset::value |
Definition at line 29 of file NeighArr.h.