![]() |
ATLAS Offline Software
|
Lookup table between the three surface-identifier "worlds" used across the ACTS / Detray / Athena tracking geometries: More...
#include <GeometryIdMapping.h>
Public Types | |
| using | detray_id_type = std::uint64_t |
| using | acts_id_type = std::uint64_t |
Public Member Functions | |
| GeometryIdMapping ()=default | |
| void | reserve (std::size_t nSurfaces) |
Reserve storage for nSurfaces detray surfaces. | |
| void | addEntry (detray_id_type detrayId, acts_id_type actsId, std::optional< Identifier > athenaId=std::nullopt) |
| Register one detray surface, it has to have a corresponding ACTS surface athenaId is optional, unset for surfaces that couldn't be matched to an Athena module (e.g. | |
| void | addDetDescIndex (detray_id_type detray_id, unsigned int index) |
| std::optional< Identifier > | actsToAthena (acts_id_type actsId) const |
| std::optional< acts_id_type > | athenaToActs (const Identifier &athenaId) const |
| std::size_t | size () const |
| const std::unordered_map< detray_id_type, Identifier::value_type > & | detrayToAthenaMap () const |
| std::optional< size_t > | detrayToDetDescIndex (detray_id_type detray_id) const |
detray_id <-> acts_id | |
| std::optional< acts_id_type > | detrayToActs (detray_id_type detrayId) const |
| std::optional< detray_id_type > | actsToDetray (acts_id_type actsId) const |
detray_id <-> Athena Identifier | |
| std::optional< Identifier > | detrayToAthena (detray_id_type detrayId) const |
| std::optional< detray_id_type > | athenaToDetray (const Identifier &athenaId) const |
Private Attributes | |
| std::unordered_map< detray_id_type, acts_id_type > | m_detrayToActs |
| std::unordered_map< detray_id_type, Identifier::value_type > | m_detrayToAthena |
| std::unordered_map< acts_id_type, detray_id_type > | m_actsToDetray |
| std::unordered_map< Identifier::value_type, detray_id_type > | m_athenaToDetray |
| std::unordered_map< detray_id_type, size_t > | m_detrayToDetDescIndex |
Lookup table between the three surface-identifier "worlds" used across the ACTS / Detray / Athena tracking geometries:
Built once in DeviceDetectorDescriptionCondAlg::initialize() from the tracking geometry (geometry-tag static), and recorded to the detector store.
Definition at line 31 of file GeometryIdMapping.h.
| using ActsTrk::GeometryIdMapping::acts_id_type = std::uint64_t |
Definition at line 34 of file GeometryIdMapping.h.
| using ActsTrk::GeometryIdMapping::detray_id_type = std::uint64_t |
Definition at line 33 of file GeometryIdMapping.h.
|
default |
|
inline |
Definition at line 94 of file GeometryIdMapping.h.
|
inline |
Definition at line 73 of file GeometryIdMapping.h.
|
inline |
Definition at line 62 of file GeometryIdMapping.h.
|
inline |
Register one detray surface, it has to have a corresponding ACTS surface athenaId is optional, unset for surfaces that couldn't be matched to an Athena module (e.g.
passive surfaces)
Definition at line 49 of file GeometryIdMapping.h.
|
inline |
Definition at line 98 of file GeometryIdMapping.h.
|
inline |
Definition at line 87 of file GeometryIdMapping.h.
|
inline |
Definition at line 68 of file GeometryIdMapping.h.
|
inline |
Definition at line 82 of file GeometryIdMapping.h.
|
inline |
Definition at line 105 of file GeometryIdMapping.h.
|
inline |
Definition at line 107 of file GeometryIdMapping.h.
|
inline |
Reserve storage for nSurfaces detray surfaces.
Definition at line 39 of file GeometryIdMapping.h.
|
inline |
Definition at line 103 of file GeometryIdMapping.h.
|
private |
Definition at line 116 of file GeometryIdMapping.h.
|
private |
Definition at line 117 of file GeometryIdMapping.h.
|
private |
Definition at line 113 of file GeometryIdMapping.h.
|
private |
Definition at line 114 of file GeometryIdMapping.h.
|
private |
Definition at line 119 of file GeometryIdMapping.h.