Classes | |
struct | AbsIDtypeStruct |
struct | AbsIDtypeStruct< ID, Index, std::enable_if_t<(Index==ID::Level)> > |
struct | ActiveAreaCalculator |
Class computing the active area of the plane. More... | |
struct | Comparer |
Class managing comparisons between T objects via a Key key. More... | |
class | cryostat_id_iterator_base |
Base forward iterator browsing all cryostat IDs in the detector. More... | |
class | GeoContainerData |
class | GeoIDdataContainerItemIterator |
Item iterator for geo::GeoIDdataContainer class. More... | |
class | GeoIDdataContainerIterator |
Iterator for geo::GeoIDdataContainer class. More... | |
class | geometry_element_iterator |
Forward iterator browsing all geometry elements in the detector. More... | |
class | geometry_iterator_base |
Base class for geometry iterators (note: this is not an iterator) More... | |
class | geometry_iterator_types |
Base class for geometry iterators, containing some type definitions. More... | |
class | plane_id_iterator_base |
Base forward iterator browsing all plane IDs in the detector. More... | |
struct | RelIDtypeStruct |
struct | RelIDtypeStruct< ID, 0U > |
class | ROP_id_iterator_base |
Base forward iterator browsing all readout plane IDs in the detector. More... | |
class | TestTrackerClassBase |
Class telling whether a test needs to be run. More... | |
class | TPC_id_iterator_base |
Base forward iterator browsing all TPC IDs in the detector. More... | |
class | TPCset_id_iterator_base |
Base forward iterator browsing all TPC set IDs in the detector. More... | |
struct | TransformationMatrixConverter |
class | wire_id_iterator_base |
Base forward iterator browsing all wire IDs in the detector. More... | |
Typedefs | |
template<std::size_t Index, typename ID > | |
using | AbsIDtype = typename AbsIDtypeStruct< ID, Index >::type |
template<std::size_t UpIndex, typename ID > | |
using | RelIDtype = typename RelIDtypeStruct< ID, UpIndex >::type |
Functions | |
template<std::size_t Levels = 4U> | |
static std::array< unsigned int, Levels > | extractMaxGeometryElements (geo::GeometryData_t::CryostatList_t const &Cryostats) |
Extracts the maximum number of elements per type. More... | |
template<typename T > | |
auto | static_less (T a, T b) |
Function translation of std::less . More... | |
template<typename GEOIDITER > | |
bool | operator== (geometry_element_iterator< GEOIDITER > const &iter, GEOIDITER const &id_iter) |
Comparison operator: geometry ID and element point to the same ID. More... | |
template<typename GEOIDITER > | |
bool | operator== (GEOIDITER const &id_iter, geometry_element_iterator< GEOIDITER > const &iter) |
Comparison operator: geometry ID and element point to the same ID. More... | |
template<typename GEOIDITER > | |
bool | operator!= (geometry_element_iterator< GEOIDITER > const &iter, GEOIDITER const &id_iter) |
Comparison operator: geometry ID and element point to different IDs. More... | |
template<typename GEOIDITER > | |
bool | operator!= (GEOIDITER const &id_iter, geometry_element_iterator< GEOIDITER > const &iter) |
Comparison operator: geometry ID and element point to different IDs. More... | |
template<std::size_t N, typename T > | |
auto | initializerListToArray (std::initializer_list< T > values) |
Returns a STL array of size N filled with values from the argument. More... | |
template<typename T > | |
std::string | writeToString (T const &value) |
Write the argument into a string. More... | |
template<typename ID > | |
constexpr std::size_t | geoElementLevel () |
template<std::size_t Index, typename ID > | |
constexpr auto | getAbsIDindex (ID const &id) |
template<std::size_t Index, typename ID > | |
auto & | getAbsIDindex (ID &id) |
template<std::size_t UpIndex, typename ID > | |
auto | getRelIDindex (ID const &id) |
Variables | |
template<typename ID > | |
constexpr bool | isTopGeoElementID = std::is_void_v<typename ID::ParentID_t> |
Whether ID represents an element on top of the hierarchy. More... | |
using geo::details::AbsIDtype = typedef typename AbsIDtypeStruct<ID, Index>::type |
Definition at line 46 of file geo_types.h.
using geo::details::RelIDtype = typedef typename RelIDtypeStruct<ID, UpIndex>::type |
Definition at line 52 of file geo_types.h.
|
static |
Extracts the maximum number of elements per type.
Levels | the number of detector elements to discover |
Cryostats | the sorted list of cryostats in the detector |
The returned array includes:
[0]
: number of cryostats[1]
: maximum number of TPCs in any of the cryostats (enabled only if Levels
is 2
or higher)[2]
: maximum number of wire planes in any of the TPCs (enabled only if Levels
is 3
or higher)[3]
: maximum number of wires in any of the wire planes (enabled only if Levels
is 4
) constexpr std::size_t geo::details::geoElementLevel | ( | ) |
Definition at line 37 of file geo_types.h.
constexpr auto geo::details::getAbsIDindex | ( | ID const & | id | ) |
Definition at line 55 of file geo_types.h.
auto& geo::details::getAbsIDindex | ( | ID & | id | ) |
Definition at line 63 of file geo_types.h.
auto geo::details::getRelIDindex | ( | ID const & | id | ) |
Definition at line 71 of file geo_types.h.
auto geo::details::initializerListToArray | ( | std::initializer_list< T > | values | ) |
Returns a STL array of size N
filled with values
from the argument.
Definition at line 421 of file GeometryIDmapper.h.
bool geo::details::operator!= | ( | geometry_element_iterator< GEOIDITER > const & | iter, |
GEOIDITER const & | id_iter | ||
) |
Comparison operator: geometry ID and element point to different IDs.
Definition at line 5993 of file GeometryCore.h.
|
inline |
Comparison operator: geometry ID and element point to different IDs.
Definition at line 743 of file GeometryCore.h.
bool geo::details::operator== | ( | geometry_element_iterator< GEOIDITER > const & | iter, |
GEOIDITER const & | id_iter | ||
) |
Comparison operator: geometry ID and element point to the same ID.
Definition at line 5986 of file GeometryCore.h.
|
inline |
Comparison operator: geometry ID and element point to the same ID.
Definition at line 729 of file GeometryCore.h.
auto geo::details::static_less | ( | T | a, |
T | b | ||
) |
|
inline |
constexpr bool geo::details::isTopGeoElementID = std::is_void_v<typename ID::ParentID_t> |
Whether ID
represents an element on top of the hierarchy.
Definition at line 34 of file geo_types.h.