![]() |
ATLAS Offline Software
|
default connection helper which should work for arbitrary cells which fulfil the CellWithLabelConcept More...
#include <InPlaceClusterization.h>
Public Types | |
| using | coordinate_t |
Static Public Member Functions | |
| static bool | isConnected (const std::array< coordinate_t, NDim > &coordinates_diff) |
| test whether cells are connected considering common edges or common corners | |
| static bool | canAbortSearch (const std::array< coordinate_t, NDim > &coordinates_diff, unsigned int sort_axis_i) |
| test whether the search for connections can be aborted. | |
Static Public Attributes | |
| static constexpr std::size_t | NDim = traits::getCellDimension<cell_t>() |
default connection helper which should work for arbitrary cells which fulfil the CellWithLabelConcept
The connection helper provides variants to test for common edges and corners or edges only and whether the search for connections can be aborted given the absolute differences of the coordinates of a pair of cells. The tests are static and the helper does not have any data members. There should not be any overhead.
Definition at line 139 of file InPlaceClusterization.h.
| using Acts::InPlaceClusterization::ConnectionHelper< cell_t, connection_type >::coordinate_t |
Definition at line 141 of file InPlaceClusterization.h.
|
inlinestatic |
test whether the search for connections can be aborted.
the search is performed in descending order in one coordinate, once the difference in this coordinate is too large the search can be aborted because there cannot be any further connections.
Definition at line 158 of file InPlaceClusterization.h.
|
inlinestatic |
test whether cells are connected considering common edges or common corners
Definition at line 145 of file InPlaceClusterization.h.
|
staticconstexpr |
Definition at line 140 of file InPlaceClusterization.h.