 |
ATLAS Offline Software
|
#include <EtaPhiMap.h>
|
template<class Func , class ... Args> |
constexpr void | apply_to_all_samplings (Func &&F, Args &&... args) |
| F must be prepared to receive as first argument a EtaPhiMapEntry<N, M>, as well as any arguments. More...
|
|
template<class Func , class ... Args> |
constexpr void | apply_to_all_samplings (Func &&F, Args &&... args) const |
| F must be prepared to receive as first argument a EtaPhiMapEntry<N, M>, as well as any arguments. More...
|
|
template<class Func , class ... Args> |
constexpr void | apply_to_sampling (const int sampling, Func &&F, Args &&... args) |
| F must be prepared to receive as first argument a EtaPhiMapEntry<N, M>, as well as any arguments. More...
|
|
template<class Func , class ... Args> |
constexpr void | apply_to_sampling (const int sampling, Func &&F, Args &&... args) const |
| F must be prepared to receive as first argument a EtaPhiMapEntry<N, M>, as well as any arguments. More...
|
|
constexpr void | initialize () |
| Initialize all cells of all samplings. More...
|
|
constexpr void | initialize (const int sampling, const float min_eta, const float max_eta) |
| Initialize a specific sampling with known eta and phi ranges. More...
|
|
constexpr void | register_cell (const int cell, const int sampling, const float cell_eta, const float cell_phi, const float cell_deta, const float cell_dphi) |
|
constexpr size_t | finish_initializing_buffer_size () const |
|
CUDA_HOS_DEV void | finish_initializing (void *buffer) |
| ! More...
|
|
constexpr int | get_possible_cells_from_coords (const int sampling, const float test_eta, const float test_phi, int *cell_arr) const |
| We assume cell_arr is large enough. More...
|
|
constexpr bool | has_cell_in_coords (const int sampling, const float test_eta, const float test_phi) const |
|
constexpr int | get_possible_cells_from_coords (const float test_eta, const float test_phi, int *cell_arr) const |
| We assume cell_arr is large enough. More...
|
|
constexpr bool | has_cell_in_coords (const float test_eta, const float test_phi) const |
|
constexpr int | get_max_real_overlap () const |
|
|
EtaPhiMapEntry< 126, 66, false, true, 0 > | sampling_0 |
|
EtaPhiMapEntry< 958, 262, false, false, 1 > | sampling_1 |
|
EtaPhiMapEntry< 124, 262, false, false, 2 > | sampling_2 |
|
EtaPhiMapEntry< 58, 262, false, false, 3 > | sampling_3 |
|
EtaPhiMapEntry< 25, 68, false, false, 4 > | sampling_4 |
|
EtaPhiMapEntry< 732, 68, false, false, 5 > | sampling_5 |
|
EtaPhiMapEntry< 150, 260, false, false, 6 > | sampling_6 |
|
EtaPhiMapEntry< 72, 260, false, false, 7 > | sampling_7 |
|
EtaPhiMapEntry< 40, 66, false, false, 8 > | sampling_8 |
|
EtaPhiMapEntry< 34, 66, false, false, 9 > | sampling_9 |
|
EtaPhiMapEntry< 32, 66, false, false, 10 > | sampling_10 |
|
EtaPhiMapEntry< 34, 66, false, false, 11 > | sampling_11 |
|
EtaPhiMapEntry< 24, 66, true, true, 12 > | sampling_12 |
|
EtaPhiMapEntry< 20, 66, true, true, 13 > | sampling_13 |
|
EtaPhiMapEntry< 10, 66, true, true, 14 > | sampling_14 |
|
EtaPhiMapEntry< 6, 66, true, false, 15 > | sampling_15 |
|
EtaPhiMapEntry< 6, 66, true, false, 16 > | sampling_16 |
|
EtaPhiMapEntry< 16, 66, true, false, 17 > | sampling_17 |
|
EtaPhiMapEntry< 12, 66, true, false, 18 > | sampling_18 |
|
EtaPhiMapEntry< 12, 66, true, false, 19 > | sampling_19 |
|
EtaPhiMapEntry< 6, 66, true, false, 20 > | sampling_20 |
|
EtaPhiMapEntry< 148, 232, false, false, 21 > | sampling_21 |
|
EtaPhiMapEntry< 98, 164, false, false, 22 > | sampling_22 |
|
EtaPhiMapEntry< 64, 130, false, false, 23 > | sampling_23 |
|
EtaPhiMapEntry< 1, 1, true, true, 24 > | sampling_24 |
|
EtaPhiMapEntry< 1, 1, true, true, 25 > | sampling_25 |
|
EtaPhiMapEntry< 1, 1, true, true, 26 > | sampling_26 |
|
EtaPhiMapEntry< 1, 1, true, true, 27 > | sampling_27 |
|
Definition at line 1084 of file EtaPhiMap.h.
◆ apply_to_all_samplings() [1/2]
template<class Func , class ... Args>
constexpr void CaloRecGPU::EtaPhiToCellMap::apply_to_all_samplings |
( |
Func && |
F, |
|
|
Args &&... |
args |
|
) |
| |
|
inlineconstexpr |
F
must be prepared to receive as first argument a EtaPhiMapEntry<N, M>, as well as any arguments.
Definition at line 1124 of file EtaPhiMap.h.
◆ apply_to_all_samplings() [2/2]
template<class Func , class ... Args>
constexpr void CaloRecGPU::EtaPhiToCellMap::apply_to_all_samplings |
( |
Func && |
F, |
|
|
Args &&... |
args |
|
) |
| const |
|
inlineconstexpr |
F
must be prepared to receive as first argument a EtaPhiMapEntry<N, M>, as well as any arguments.
Definition at line 1158 of file EtaPhiMap.h.
◆ apply_to_sampling() [1/2]
template<class Func , class ... Args>
constexpr void CaloRecGPU::EtaPhiToCellMap::apply_to_sampling |
( |
const int |
sampling, |
|
|
Func && |
F, |
|
|
Args &&... |
args |
|
) |
| |
|
inlineconstexpr |
F
must be prepared to receive as first argument a EtaPhiMapEntry<N, M>, as well as any arguments.
Definition at line 1192 of file EtaPhiMap.h.
◆ apply_to_sampling() [2/2]
template<class Func , class ... Args>
constexpr void CaloRecGPU::EtaPhiToCellMap::apply_to_sampling |
( |
const int |
sampling, |
|
|
Func && |
F, |
|
|
Args &&... |
args |
|
) |
| const |
|
inlineconstexpr |
F
must be prepared to receive as first argument a EtaPhiMapEntry<N, M>, as well as any arguments.
Definition at line 1287 of file EtaPhiMap.h.
◆ finish_initializing()
CUDA_HOS_DEV void CaloRecGPU::EtaPhiToCellMap::finish_initializing |
( |
void * |
buffer | ) |
|
|
inline |
!
- buffer is casted to a sufficiently large array (mininum size given by
finish_initializing_buffer_size
).
Definition at line 1513 of file EtaPhiMap.h.
◆ finish_initializing_buffer_size()
constexpr size_t CaloRecGPU::EtaPhiToCellMap::finish_initializing_buffer_size |
( |
| ) |
const |
|
inlineconstexpr |
◆ get_max_real_overlap()
constexpr int CaloRecGPU::EtaPhiToCellMap::get_max_real_overlap |
( |
| ) |
const |
|
inlineconstexpr |
◆ get_possible_cells_from_coords() [1/2]
constexpr int CaloRecGPU::EtaPhiToCellMap::get_possible_cells_from_coords |
( |
const float |
test_eta, |
|
|
const float |
test_phi, |
|
|
int * |
cell_arr |
|
) |
| const |
|
inlineconstexpr |
We assume cell_arr
is large enough.
Definition at line 1538 of file EtaPhiMap.h.
◆ get_possible_cells_from_coords() [2/2]
constexpr int CaloRecGPU::EtaPhiToCellMap::get_possible_cells_from_coords |
( |
const int |
sampling, |
|
|
const float |
test_eta, |
|
|
const float |
test_phi, |
|
|
int * |
cell_arr |
|
) |
| const |
|
inlineconstexpr |
We assume cell_arr
is large enough.
Definition at line 1519 of file EtaPhiMap.h.
1523 apply_to_sampling(sampling, get_cell_from_sampling_functor{}, ret, test_eta, test_phi, cell_arr);
◆ has_cell_in_coords() [1/2]
constexpr bool CaloRecGPU::EtaPhiToCellMap::has_cell_in_coords |
( |
const float |
test_eta, |
|
|
const float |
test_phi |
|
) |
| const |
|
inlineconstexpr |
◆ has_cell_in_coords() [2/2]
constexpr bool CaloRecGPU::EtaPhiToCellMap::has_cell_in_coords |
( |
const int |
sampling, |
|
|
const float |
test_eta, |
|
|
const float |
test_phi |
|
) |
| const |
|
inlineconstexpr |
◆ initialize() [1/2]
constexpr void CaloRecGPU::EtaPhiToCellMap::initialize |
( |
| ) |
|
|
inlineconstexpr |
Initialize all cells of all samplings.
Definition at line 1486 of file EtaPhiMap.h.
◆ initialize() [2/2]
constexpr void CaloRecGPU::EtaPhiToCellMap::initialize |
( |
const int |
sampling, |
|
|
const float |
min_eta, |
|
|
const float |
max_eta |
|
) |
| |
|
inlineconstexpr |
Initialize a specific sampling with known eta and phi ranges.
Definition at line 1492 of file EtaPhiMap.h.
◆ register_cell()
constexpr void CaloRecGPU::EtaPhiToCellMap::register_cell |
( |
const int |
cell, |
|
|
const int |
sampling, |
|
|
const float |
cell_eta, |
|
|
const float |
cell_phi, |
|
|
const float |
cell_deta, |
|
|
const float |
cell_dphi |
|
) |
| |
|
inlineconstexpr |
◆ s_max_overlap_cells
constexpr int CaloRecGPU::EtaPhiToCellMap::s_max_overlap_cells = EtaPhiMapEntry<1, 1, true, true, 0>::s_max_overlap_cells |
|
staticconstexpr |
◆ sampling_0
EtaPhiMapEntry<126, 66, false, true, 0> CaloRecGPU::EtaPhiToCellMap::sampling_0 |
◆ sampling_1
EtaPhiMapEntry<958, 262, false, false, 1> CaloRecGPU::EtaPhiToCellMap::sampling_1 |
◆ sampling_10
EtaPhiMapEntry< 32, 66, false, false, 10> CaloRecGPU::EtaPhiToCellMap::sampling_10 |
◆ sampling_11
EtaPhiMapEntry< 34, 66, false, false, 11> CaloRecGPU::EtaPhiToCellMap::sampling_11 |
◆ sampling_12
EtaPhiMapEntry< 24, 66, true, true, 12> CaloRecGPU::EtaPhiToCellMap::sampling_12 |
◆ sampling_13
EtaPhiMapEntry< 20, 66, true, true, 13> CaloRecGPU::EtaPhiToCellMap::sampling_13 |
◆ sampling_14
EtaPhiMapEntry< 10, 66, true, true, 14> CaloRecGPU::EtaPhiToCellMap::sampling_14 |
◆ sampling_15
EtaPhiMapEntry< 6, 66, true, false, 15> CaloRecGPU::EtaPhiToCellMap::sampling_15 |
◆ sampling_16
EtaPhiMapEntry< 6, 66, true, false, 16> CaloRecGPU::EtaPhiToCellMap::sampling_16 |
◆ sampling_17
EtaPhiMapEntry< 16, 66, true, false, 17> CaloRecGPU::EtaPhiToCellMap::sampling_17 |
◆ sampling_18
EtaPhiMapEntry< 12, 66, true, false, 18> CaloRecGPU::EtaPhiToCellMap::sampling_18 |
◆ sampling_19
EtaPhiMapEntry< 12, 66, true, false, 19> CaloRecGPU::EtaPhiToCellMap::sampling_19 |
◆ sampling_2
EtaPhiMapEntry<124, 262, false, false, 2> CaloRecGPU::EtaPhiToCellMap::sampling_2 |
◆ sampling_20
EtaPhiMapEntry< 6, 66, true, false, 20> CaloRecGPU::EtaPhiToCellMap::sampling_20 |
◆ sampling_21
EtaPhiMapEntry<148, 232, false, false, 21> CaloRecGPU::EtaPhiToCellMap::sampling_21 |
◆ sampling_22
EtaPhiMapEntry< 98, 164, false, false, 22> CaloRecGPU::EtaPhiToCellMap::sampling_22 |
◆ sampling_23
EtaPhiMapEntry< 64, 130, false, false, 23> CaloRecGPU::EtaPhiToCellMap::sampling_23 |
◆ sampling_24
EtaPhiMapEntry< 1, 1, true, true, 24> CaloRecGPU::EtaPhiToCellMap::sampling_24 |
◆ sampling_25
EtaPhiMapEntry< 1, 1, true, true, 25> CaloRecGPU::EtaPhiToCellMap::sampling_25 |
◆ sampling_26
EtaPhiMapEntry< 1, 1, true, true, 26> CaloRecGPU::EtaPhiToCellMap::sampling_26 |
◆ sampling_27
EtaPhiMapEntry< 1, 1, true, true, 27> CaloRecGPU::EtaPhiToCellMap::sampling_27 |
◆ sampling_3
EtaPhiMapEntry< 58, 262, false, false, 3> CaloRecGPU::EtaPhiToCellMap::sampling_3 |
◆ sampling_4
EtaPhiMapEntry< 25, 68, false, false, 4> CaloRecGPU::EtaPhiToCellMap::sampling_4 |
◆ sampling_5
EtaPhiMapEntry<732, 68, false, false, 5> CaloRecGPU::EtaPhiToCellMap::sampling_5 |
◆ sampling_6
EtaPhiMapEntry<150, 260, false, false, 6> CaloRecGPU::EtaPhiToCellMap::sampling_6 |
◆ sampling_7
EtaPhiMapEntry< 72, 260, false, false, 7> CaloRecGPU::EtaPhiToCellMap::sampling_7 |
◆ sampling_8
EtaPhiMapEntry< 40, 66, false, false, 8> CaloRecGPU::EtaPhiToCellMap::sampling_8 |
◆ sampling_9
EtaPhiMapEntry< 34, 66, false, false, 9> CaloRecGPU::EtaPhiToCellMap::sampling_9 |
The documentation for this struct was generated from the following file:
EtaPhiMapEntry< 126, 66, false, true, 0 > sampling_0
EtaPhiMapEntry< 6, 66, true, false, 15 > sampling_15
EtaPhiMapEntry< 24, 66, true, true, 12 > sampling_12
EtaPhiMapEntry< 12, 66, true, false, 18 > sampling_18
EtaPhiMapEntry< 1, 1, true, true, 24 > sampling_24
EtaPhiMapEntry< 98, 164, false, false, 22 > sampling_22
EtaPhiMapEntry< 58, 262, false, false, 3 > sampling_3
EtaPhiMapEntry< 16, 66, true, false, 17 > sampling_17
EtaPhiMapEntry< 34, 66, false, false, 9 > sampling_9
EtaPhiMapEntry< 732, 68, false, false, 5 > sampling_5
EtaPhiMapEntry< 10, 66, true, true, 14 > sampling_14
EtaPhiMapEntry< 1, 1, true, true, 25 > sampling_25
EtaPhiMapEntry< 72, 260, false, false, 7 > sampling_7
EtaPhiMapEntry< 958, 262, false, false, 1 > sampling_1
EtaPhiMapEntry< 150, 260, false, false, 6 > sampling_6
EtaPhiMapEntry< 6, 66, true, false, 16 > sampling_16
EtaPhiMapEntry< 12, 66, true, false, 19 > sampling_19
EtaPhiMapEntry< 124, 262, false, false, 2 > sampling_2
EtaPhiMapEntry< 20, 66, true, true, 13 > sampling_13
EtaPhiMapEntry< 64, 130, false, false, 23 > sampling_23
constexpr void apply_to_all_samplings(Func &&F, Args &&... args)
F must be prepared to receive as first argument a EtaPhiMapEntry<N, M>, as well as any arguments.
EtaPhiMapEntry< 40, 66, false, false, 8 > sampling_8
constexpr void apply_to_sampling(const int sampling, Func &&F, Args &&... args)
F must be prepared to receive as first argument a EtaPhiMapEntry<N, M>, as well as any arguments.
EtaPhiMapEntry< 148, 232, false, false, 21 > sampling_21
EtaPhiMapEntry< 1, 1, true, true, 27 > sampling_27
EtaPhiMapEntry< 6, 66, true, false, 20 > sampling_20
EtaPhiMapEntry< 25, 68, false, false, 4 > sampling_4
EtaPhiMapEntry< 32, 66, false, false, 10 > sampling_10
EtaPhiMapEntry< 34, 66, false, false, 11 > sampling_11
EtaPhiMapEntry< 1, 1, true, true, 26 > sampling_26