|
ACTS
Experiment-independent tracking
|
A proxy class for accessing individual seeds. More...
#include <Acts/EventData/SeedProxy2.hpp>
Classes | |
| class | SpacePointIterator |
| class | SpacePointRange |
Public Types | |
| using | ContainerType = const_if_t<ReadOnly, SeedContainer2> |
| Type alias for container type (const if read-only). | |
| using | IndexType = SeedIndex2 |
| Type alias for seed index type. | |
Public Member Functions | |
| SeedProxy2 (const SeedProxy2 &other) noexcept=default | |
| Copy construct a seed proxy. | |
| SeedProxy2 (const SeedProxy2< false > &other) noexcept | |
| Copy construct a mutable seed proxy. | |
| SeedProxy2 (ContainerType &container, IndexType index) noexcept | |
| Constructs a seed proxy for the given container and index. | |
| void | assignSpacePointIndices (std::span< const SpacePointIndex2 > spacePointIndices) |
| Assigns space point indices to the seed at the given index. | |
| const SeedContainer2 & | container () const noexcept |
| Gets the container holding the seed. | |
| SeedContainer2 & | container () noexcept |
| Gets the container holding the seed. | |
| bool | empty () const noexcept |
| Checks if the seed is empty, i.e., has no space points associated with it. | |
| IndexType | index () const noexcept |
| Gets the index of the seed in the container. | |
| float | quality () const noexcept |
| Const access to the quality of the seed. | |
| float & | quality () noexcept |
| Mutable access to the quality of the seed. | |
| std::size_t | size () const noexcept |
| Returns the size of the seed, i.e., the number of space points associated with it. | |
| std::span< const SpacePointIndex2 > | spacePointIndices () const noexcept |
| Const access to the space point indices of the seed. | |
| std::span< SpacePointIndex2 > | spacePointIndices () noexcept |
| Mutable access to the space point indices of the seed. | |
| SpacePointRange | spacePoints () const |
| Get the space points associated with this seed. | |
| SpacePointRange | spacePoints (const SpacePointContainer2 &spacePointContainer) const noexcept |
| Get the space points associated with this seed using an external space point container. | |
| float | vertexZ () const noexcept |
| Const access to the vertex Z coordinate of the seed. | |
| float & | vertexZ () noexcept |
| Mutable access to the vertex Z coordinate of the seed. | |
Static Public Attributes | |
| static constexpr bool | ReadOnly = read_only |
| Indicates whether this seed proxy is read-only or if it can be modified. | |
A proxy class for accessing individual seeds.
| using Acts::SeedProxy2< read_only >::ContainerType = const_if_t<ReadOnly, SeedContainer2> |
Type alias for container type (const if read-only).
| using Acts::SeedProxy2< read_only >::IndexType = SeedIndex2 |
Type alias for seed index type.
|
noexcept |
Constructs a seed proxy for the given container and index.
| container | The container holding the seed. |
| index | The index of the seed in the container. |
|
defaultnoexcept |
Copy construct a seed proxy.
| other | The seed proxy to copy. |
|
explicitnoexcept |
Copy construct a mutable seed proxy.
| other | The mutable seed proxy to copy. |
| void Acts::SeedProxy2< read_only >::assignSpacePointIndices | ( | std::span< const SpacePointIndex2 > | spacePointIndices | ) |
Assigns space point indices to the seed at the given index.
| spacePointIndices | A span of space point indices to assign to the seed. |
| std::out_of_range | if the index is out of range. |
| std::logic_error | if space point indices are already assigned to the seed. |
|
noexcept |
Gets the container holding the seed.
|
noexcept |
Gets the container holding the seed.
|
nodiscardnoexcept |
Checks if the seed is empty, i.e., has no space points associated with it.
|
noexcept |
Gets the index of the seed in the container.
|
noexcept |
Const access to the quality of the seed.
|
noexcept |
Mutable access to the quality of the seed.
|
nodiscardnoexcept |
Returns the size of the seed, i.e., the number of space points associated with it.
|
noexcept |
Const access to the space point indices of the seed.
|
noexcept |
Mutable access to the space point indices of the seed.
| SpacePointRange Acts::SeedProxy2< read_only >::spacePoints | ( | ) | const |
Get the space points associated with this seed.
The space point container is taken from the seed container.
|
noexcept |
Get the space points associated with this seed using an external space point container.
| spacePointContainer | External container holding all space points |
|
noexcept |
Const access to the vertex Z coordinate of the seed.
|
noexcept |
Mutable access to the vertex Z coordinate of the seed.
|
staticconstexpr |
Indicates whether this seed proxy is read-only or if it can be modified.