|
ACTS
Experiment-independent tracking
|
Identifier for geometry nodes within the geometry hierarchy. More...
#include <Acts/Geometry/GeometryIdentifier.hpp>
Public Types | |
| using | Value = std::uint64_t |
| Type alias for underlying value type (64-bit unsigned integer). | |
Public Member Functions | |
| GeometryIdentifier ()=default | |
| Construct default GeometryIdentifier with all values set to zero. | |
| GeometryIdentifier (const GeometryIdentifier &)=default | |
| Copy constructor. | |
| GeometryIdentifier (GeometryIdentifier &&)=default | |
| Move constructor. | |
| constexpr | GeometryIdentifier (Value encoded) |
| Construct from an already encoded value. | |
| ~GeometryIdentifier ()=default | |
| constexpr Value | approach () const |
| Return the approach identifier. | |
| constexpr Value | boundary () const |
| Return the boundary identifier. | |
| constexpr Value | extra () const |
| Return the extra identifier Usage can be experiment-specific, like tagging which kind of detector a surface object corresponds to, or which subsystem it belongs to. | |
| constexpr Value | layer () const |
| Return the layer identifier. | |
| GeometryIdentifier & | operator= (const GeometryIdentifier &)=default |
| Copy assignment operator. | |
| GeometryIdentifier & | operator= (GeometryIdentifier &&)=default |
| Move assignment operator. | |
| constexpr Value | passive () const |
| Return the passive identifier. | |
| constexpr Value | sensitive () const |
| Return the sensitive identifier. | |
| constexpr Value | value () const |
| Return the encoded value. | |
| constexpr Value | volume () const |
| Return the volume identifier. | |
| constexpr GeometryIdentifier | withApproach (Value approach) const |
Return a new identifier with the approach set to approach. | |
| constexpr GeometryIdentifier | withBoundary (Value boundary) const |
Return a new identifier with the boundary set to boundary. | |
| constexpr GeometryIdentifier | withExtra (Value extra) const |
Return a new identifier with the extra set to extra. | |
| constexpr GeometryIdentifier | withLayer (Value layer) const |
Return a new identifier with the layer set to layer. | |
| constexpr GeometryIdentifier | withPassive (Value passive) const |
Return a new identifier with the passive set to passive. | |
| constexpr GeometryIdentifier | withSensitive (Value sensitive) const |
Return a new identifier with the sensitive set to sensitive. | |
| constexpr GeometryIdentifier | withVolume (Value volume) const |
Return a new identifier with the volume set to volume. | |
Static Public Member Functions | |
| static constexpr Value | getMaxApproach () |
| Get the maximum value for the approach identifier. | |
| static constexpr Value | getMaxBoundary () |
| Get the maximum value for the boundary identifier. | |
| static constexpr Value | getMaxExtra () |
| Get the maximum value for the extra identifier. | |
| static constexpr Value | getMaxLayer () |
| Get the maximum value for the layer identifier. | |
| static constexpr Value | getMaxSensitive () |
| Get the maximum value for the sensitive identifier. | |
| static constexpr Value | getMaxVolume () |
| Get the maximum value for the volume identifier. | |
Identifier for geometry nodes within the geometry hierarchy.
An identifier can be split into the following components. They define a hierarchy of objects starting from the high-level volumes:
| using Acts::GeometryIdentifier::Value = std::uint64_t |
Type alias for underlying value type (64-bit unsigned integer).
|
explicitconstexpr |
Construct from an already encoded value.
| encoded | The encoded geometry identifier value |
|
default |
Construct default GeometryIdentifier with all values set to zero.
|
default |
Move constructor.
|
default |
Copy constructor.
|
default |
|
constexpr |
Return the approach identifier.
|
constexpr |
Return the boundary identifier.
|
constexpr |
Return the extra identifier Usage can be experiment-specific, like tagging which kind of detector a surface object corresponds to, or which subsystem it belongs to.
|
staticconstexpr |
Get the maximum value for the approach identifier.
|
staticconstexpr |
Get the maximum value for the boundary identifier.
|
staticconstexpr |
Get the maximum value for the extra identifier.
|
staticconstexpr |
Get the maximum value for the layer identifier.
|
staticconstexpr |
Get the maximum value for the sensitive identifier.
|
staticconstexpr |
Get the maximum value for the volume identifier.
|
constexpr |
Return the layer identifier.
|
default |
Copy assignment operator.
|
default |
Move assignment operator.
|
constexpr |
Return the passive identifier.
|
constexpr |
Return the sensitive identifier.
|
constexpr |
Return the encoded value.
|
constexpr |
Return the volume identifier.
|
nodiscardconstexpr |
Return a new identifier with the approach set to approach.
| approach | the new approach identifier |
approach
|
nodiscardconstexpr |
Return a new identifier with the boundary set to boundary.
| boundary | the new boundary identifier |
boundary
|
nodiscardconstexpr |
Return a new identifier with the extra set to extra.
| extra | the new extra identifier |
extra
|
nodiscardconstexpr |
Return a new identifier with the layer set to layer.
| layer | the new layer identifier |
layer
|
nodiscardconstexpr |
Return a new identifier with the passive set to passive.
| passive | the new passive identifier |
passive
|
nodiscardconstexpr |
Return a new identifier with the sensitive set to sensitive.
| sensitive | the new sensitive identifier |
sensitive
|
nodiscardconstexpr |
Return a new identifier with the volume set to volume.
| volume | the new volume identifier |
volume