#include <ConstantInfoDefinitions.h>
Definition at line 218 of file ConstantInfoDefinitions.h.
◆ fill_eta_phi_map()
CUDA_HOS_DEV void CaloRecGPU::GeometryArr::fill_eta_phi_map |
( |
| ) |
|
|
inline |
◆ get_closest_cell()
constexpr int CaloRecGPU::GeometryArr::get_closest_cell |
( |
const int |
sampling, |
|
|
const float |
test_eta, |
|
|
const float |
test_phi |
|
) |
| const |
|
inlineconstexpr |
Definition at line 337 of file ConstantInfoDefinitions.h.
347 else if (n_cells == 1)
356 for (
int i = 0;
i < n_cells; ++
i)
358 const int this_cell =
cells[
i];
360 const float delta_eta =
eta[this_cell] - test_eta;
361 const float delta_phi = Helpers::angular_difference(
phi[this_cell], test_phi);
◆ get_neighbours()
constexpr int CaloRecGPU::GeometryArr::get_neighbours |
( |
const unsigned int |
neigh_options, |
|
|
const int |
cell, |
|
|
int * |
neigh_arr |
|
) |
| const |
|
inlineconstexpr |
Places the neighbours according to the option(s) in neigh_options in the array and returns the number of such neighbours (not the total number of neighbours of the cell).
We're using C arrays for more immediate CUDA compatibility.
Definition at line 292 of file ConstantInfoDefinitions.h.
◆ get_number_of_neighbours()
constexpr int CaloRecGPU::GeometryArr::get_number_of_neighbours |
( |
const unsigned int |
neigh_options, |
|
|
const int |
cell |
|
) |
| const |
|
inlineconstexpr |
◆ intra_calorimeter_sampling()
constexpr int CaloRecGPU::GeometryArr::intra_calorimeter_sampling |
( |
const int |
cell | ) |
const |
|
inlineconstexpr |
◆ is_HECIW_or_FCal()
constexpr bool CaloRecGPU::GeometryArr::is_HECIW_or_FCal |
( |
const int |
cell | ) |
const |
|
inlineconstexpr |
◆ is_PS()
constexpr bool CaloRecGPU::GeometryArr::is_PS |
( |
const int |
cell | ) |
const |
|
inlineconstexpr |
◆ is_tile()
constexpr static bool CaloRecGPU::GeometryArr::is_tile |
( |
const int |
cell | ) |
|
|
inlinestaticconstexpr |
◆ region()
constexpr int CaloRecGPU::GeometryArr::region |
( |
const int |
cell | ) |
const |
|
inlineconstexpr |
◆ sampling()
constexpr int CaloRecGPU::GeometryArr::sampling |
( |
const int |
cell | ) |
const |
|
inlineconstexpr |
◆ subcalo()
constexpr int CaloRecGPU::GeometryArr::subcalo |
( |
const int |
cell | ) |
const |
|
inlineconstexpr |
◆ deta
◆ dphi
◆ dr
◆ dx
◆ dy
◆ dz
◆ eta
◆ etaPhiToCell
◆ neighbours
NeighArr CaloRecGPU::GeometryArr::neighbours |
◆ otherCellInfo
◆ phi
◆ volume
The documentation for this struct was generated from the following file:
constexpr int get_neighbours(const unsigned int neigh_options, const int cell, int *neigh_arr) const
Places the neighbours according to the option(s) in neigh_options in the array and returns the number...
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)