|
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_neg, const float min_phi_neg, const float max_eta_neg, const float max_phi_neg, const float min_eta_pos, const float min_phi_pos, const float max_eta_pos, const float max_phi_pos, const float delta_eta, const float delta_phi) |
| 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 |
|
|
EtaPhiMapEntry< 125, 65, false, true > | sampling_0 |
|
EtaPhiMapEntry< 955, 260, false, true > | sampling_1 |
|
EtaPhiMapEntry< 121, 260, false, true > | sampling_2 |
|
EtaPhiMapEntry< 56, 260, false, true > | sampling_3 |
|
EtaPhiMapEntry< 14, 68, false, false > | sampling_4 |
|
EtaPhiMapEntry< 362, 68, false, false > | sampling_5 |
|
EtaPhiMapEntry< 74, 260, false, false > | sampling_6 |
|
EtaPhiMapEntry< 36, 260, false, false > | sampling_7 |
|
EtaPhiMapEntry< 20, 66, false, false > | sampling_8 |
|
EtaPhiMapEntry< 18, 66, false, false > | sampling_9 |
|
EtaPhiMapEntry< 16, 66, false, false > | sampling_10 |
|
EtaPhiMapEntry< 18, 66, false, false > | sampling_11 |
|
EtaPhiMapEntry< 12, 66, true, false > | sampling_12 |
|
EtaPhiMapEntry< 12, 66, true, false > | sampling_13 |
|
EtaPhiMapEntry< 5, 66, true, false > | sampling_14 |
|
EtaPhiMapEntry< 2, 66, true, false > | sampling_15 |
|
EtaPhiMapEntry< 2, 66, true, false > | sampling_16 |
|
EtaPhiMapEntry< 8, 66, true, false > | sampling_17 |
|
EtaPhiMapEntry< 6, 66, true, false > | sampling_18 |
|
EtaPhiMapEntry< 6, 66, true, false > | sampling_19 |
|
EtaPhiMapEntry< 4, 66, true, false > | sampling_20 |
|
EtaPhiMapEntry< 142, 228, false, false > | sampling_21 |
|
EtaPhiMapEntry< 96, 162, false, false > | sampling_22 |
|
EtaPhiMapEntry< 32, 128, false, false > | sampling_23 |
|
EtaPhiMapEntry< 1, 1, false, true > | sampling_24 |
|
EtaPhiMapEntry< 1, 1, false, true > | sampling_25 |
|
EtaPhiMapEntry< 1, 1, false, true > | sampling_26 |
|
EtaPhiMapEntry< 1, 1, false, true > | sampling_27 |
|
Definition at line 671 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 711 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 745 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 779 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 874 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 1107 of file EtaPhiMap.h.
◆ finish_initializing_buffer_size()
constexpr size_t CaloRecGPU::EtaPhiToCellMap::finish_initializing_buffer_size |
( |
| ) |
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 1132 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 1113 of file EtaPhiMap.h.
1117 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 1070 of file EtaPhiMap.h.
◆ initialize() [2/2]
constexpr void CaloRecGPU::EtaPhiToCellMap::initialize |
( |
const int |
sampling, |
|
|
const float |
min_eta_neg, |
|
|
const float |
min_phi_neg, |
|
|
const float |
max_eta_neg, |
|
|
const float |
max_phi_neg, |
|
|
const float |
min_eta_pos, |
|
|
const float |
min_phi_pos, |
|
|
const float |
max_eta_pos, |
|
|
const float |
max_phi_pos, |
|
|
const float |
delta_eta, |
|
|
const float |
delta_phi |
|
) |
| |
|
inlineconstexpr |
Initialize a specific sampling with known eta and phi ranges.
Definition at line 1076 of file EtaPhiMap.h.
1084 min_eta_neg, min_phi_neg,
1085 max_eta_neg, max_phi_neg,
1086 min_eta_pos, min_phi_pos,
1087 max_eta_pos, max_phi_pos,
◆ 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>::s_max_overlap_cells |
|
staticconstexpr |
◆ sampling_0
EtaPhiMapEntry<125, 65, false, true> CaloRecGPU::EtaPhiToCellMap::sampling_0 |
◆ sampling_1
EtaPhiMapEntry<955, 260, false, true> CaloRecGPU::EtaPhiToCellMap::sampling_1 |
◆ sampling_10
EtaPhiMapEntry< 16, 66, false, false> CaloRecGPU::EtaPhiToCellMap::sampling_10 |
◆ sampling_11
EtaPhiMapEntry< 18, 66, false, false> CaloRecGPU::EtaPhiToCellMap::sampling_11 |
◆ sampling_12
EtaPhiMapEntry< 12, 66, true, false> CaloRecGPU::EtaPhiToCellMap::sampling_12 |
◆ sampling_13
EtaPhiMapEntry< 12, 66, true, false> CaloRecGPU::EtaPhiToCellMap::sampling_13 |
◆ sampling_14
EtaPhiMapEntry< 5, 66, true, false> CaloRecGPU::EtaPhiToCellMap::sampling_14 |
◆ sampling_15
EtaPhiMapEntry< 2, 66, true, false> CaloRecGPU::EtaPhiToCellMap::sampling_15 |
◆ sampling_16
EtaPhiMapEntry< 2, 66, true, false> CaloRecGPU::EtaPhiToCellMap::sampling_16 |
◆ sampling_17
EtaPhiMapEntry< 8, 66, true, false> CaloRecGPU::EtaPhiToCellMap::sampling_17 |
◆ sampling_18
EtaPhiMapEntry< 6, 66, true, false> CaloRecGPU::EtaPhiToCellMap::sampling_18 |
◆ sampling_19
EtaPhiMapEntry< 6, 66, true, false> CaloRecGPU::EtaPhiToCellMap::sampling_19 |
◆ sampling_2
EtaPhiMapEntry<121, 260, false, true> CaloRecGPU::EtaPhiToCellMap::sampling_2 |
◆ sampling_20
EtaPhiMapEntry< 4, 66, true, false> CaloRecGPU::EtaPhiToCellMap::sampling_20 |
◆ sampling_21
EtaPhiMapEntry<142, 228, false, false> CaloRecGPU::EtaPhiToCellMap::sampling_21 |
◆ sampling_22
EtaPhiMapEntry< 96, 162, false, false> CaloRecGPU::EtaPhiToCellMap::sampling_22 |
◆ sampling_23
EtaPhiMapEntry< 32, 128, false, false> CaloRecGPU::EtaPhiToCellMap::sampling_23 |
◆ sampling_24
EtaPhiMapEntry< 1, 1, false, true> CaloRecGPU::EtaPhiToCellMap::sampling_24 |
◆ sampling_25
EtaPhiMapEntry< 1, 1, false, true> CaloRecGPU::EtaPhiToCellMap::sampling_25 |
◆ sampling_26
EtaPhiMapEntry< 1, 1, false, true> CaloRecGPU::EtaPhiToCellMap::sampling_26 |
◆ sampling_27
EtaPhiMapEntry< 1, 1, false, true> CaloRecGPU::EtaPhiToCellMap::sampling_27 |
◆ sampling_3
EtaPhiMapEntry< 56, 260, false, true> CaloRecGPU::EtaPhiToCellMap::sampling_3 |
◆ sampling_4
EtaPhiMapEntry< 14, 68, false, false> CaloRecGPU::EtaPhiToCellMap::sampling_4 |
◆ sampling_5
EtaPhiMapEntry<362, 68, false, false> CaloRecGPU::EtaPhiToCellMap::sampling_5 |
◆ sampling_6
EtaPhiMapEntry< 74, 260, false, false> CaloRecGPU::EtaPhiToCellMap::sampling_6 |
◆ sampling_7
EtaPhiMapEntry< 36, 260, false, false> CaloRecGPU::EtaPhiToCellMap::sampling_7 |
◆ sampling_8
EtaPhiMapEntry< 20, 66, false, false> CaloRecGPU::EtaPhiToCellMap::sampling_8 |
◆ sampling_9
EtaPhiMapEntry< 18, 66, false, false> CaloRecGPU::EtaPhiToCellMap::sampling_9 |
The documentation for this struct was generated from the following file:
EtaPhiMapEntry< 1, 1, false, true > sampling_24
EtaPhiMapEntry< 1, 1, false, true > sampling_26
EtaPhiMapEntry< 12, 66, true, false > sampling_13
EtaPhiMapEntry< 4, 66, true, false > sampling_20
EtaPhiMapEntry< 5, 66, true, false > sampling_14
EtaPhiMapEntry< 16, 66, false, false > sampling_10
EtaPhiMapEntry< 32, 128, false, false > sampling_23
EtaPhiMapEntry< 12, 66, true, false > sampling_12
EtaPhiMapEntry< 1, 1, false, true > sampling_27
EtaPhiMapEntry< 121, 260, false, true > sampling_2
EtaPhiMapEntry< 20, 66, false, false > sampling_8
EtaPhiMapEntry< 6, 66, true, false > sampling_18
EtaPhiMapEntry< 2, 66, true, false > sampling_16
EtaPhiMapEntry< 142, 228, false, false > sampling_21
EtaPhiMapEntry< 96, 162, false, false > sampling_22
EtaPhiMapEntry< 125, 65, false, true > sampling_0
EtaPhiMapEntry< 18, 66, false, false > sampling_9
EtaPhiMapEntry< 56, 260, false, true > sampling_3
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< 362, 68, false, false > sampling_5
EtaPhiMapEntry< 1, 1, false, true > sampling_25
EtaPhiMapEntry< 955, 260, false, true > sampling_1
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< 18, 66, false, false > sampling_11
EtaPhiMapEntry< 6, 66, true, false > sampling_19
EtaPhiMapEntry< 36, 260, false, false > sampling_7
def delta_phi(phi1, phi2)
EtaPhiMapEntry< 14, 68, false, false > sampling_4
EtaPhiMapEntry< 74, 260, false, false > sampling_6
EtaPhiMapEntry< 2, 66, true, false > sampling_15
EtaPhiMapEntry< 8, 66, true, false > sampling_17