![]() |
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. | |
| 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 |
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 |
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 32 of file GeometryIdMapping.h.
| using ActsTrk::GeometryIdMapping::acts_id_type = std::uint64_t |
Definition at line 35 of file GeometryIdMapping.h.
| using ActsTrk::GeometryIdMapping::detray_id_type = std::uint64_t |
Definition at line 34 of file GeometryIdMapping.h.
|
default |
|
inline |
Definition at line 91 of file GeometryIdMapping.h.
|
inline |
Definition at line 70 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 50 of file GeometryIdMapping.h.
|
inline |
Definition at line 95 of file GeometryIdMapping.h.
|
inline |
Definition at line 84 of file GeometryIdMapping.h.
|
inline |
Definition at line 65 of file GeometryIdMapping.h.
|
inline |
Definition at line 79 of file GeometryIdMapping.h.
|
inline |
Definition at line 102 of file GeometryIdMapping.h.
|
inline |
Reserve storage for nSurfaces detray surfaces.
Definition at line 40 of file GeometryIdMapping.h.
|
inline |
Definition at line 100 of file GeometryIdMapping.h.
|
private |
Definition at line 108 of file GeometryIdMapping.h.
|
private |
Definition at line 109 of file GeometryIdMapping.h.
|
private |
Definition at line 105 of file GeometryIdMapping.h.
|
private |
Definition at line 106 of file GeometryIdMapping.h.