|
ACTS
Experiment-independent tracking
|
A proxy class for accessing individual space points. More...
#include <Acts/EventData/SpacePointProxy2.hpp>
Public Types | |
| using | Container = const_if_t<ReadOnly, SpacePointContainer2> |
| Type alias for container type (const if read-only). | |
| using | Index = SpacePointIndex2 |
| Type alias for space point index type. | |
Public Member Functions | |
| SpacePointProxy2 (const SpacePointProxy2 &other) noexcept=default | |
| Copy construct a space point proxy. | |
| SpacePointProxy2 (const SpacePointProxy2< false > &other) noexcept | |
| Copy construct a mutable space point proxy. | |
| SpacePointProxy2 (Container &container, Index index) noexcept | |
| Constructs a space point proxy for the given container and index. | |
| SpacePointProxy2< true > | asConst () const noexcept |
| Returns a const proxy of the space point. | |
| void | assignSourceLinks (std::span< const SourceLink > sourceLinks) const |
| Assigns source links to the space point. | |
| const std::array< float, 3 > & | bottomStripVector () const noexcept |
| Const access to the bottom strip vector of the space point. | |
| std::array< float, 3 > & | bottomStripVector () const noexcept |
| Mutable access to the bottom strip vector of the space point. | |
| const SpacePointContainer2 & | container () const noexcept |
| Gets the container holding the space point. | |
| SpacePointContainer2 & | container () const noexcept |
| Gets the container holding the space point. | |
| SpacePointIndex2 | copyFromIndex () const noexcept |
| Const access to the copy from index of the space point. | |
| SpacePointIndex2 & | copyFromIndex () const noexcept |
| Mutable access to the copy from index of the space point. | |
| template<typename T> | |
| const T & | extra (const ConstSpacePointColumnProxy< T > &column) const noexcept |
| Const access to an extra column of data for the space point. | |
| template<typename T> | |
| T & | extra (MutableSpacePointColumnProxy< T > &column) const noexcept |
| Mutable access to an extra column of data for the space point. | |
| Index | index () const noexcept |
| Gets the index of the space point in the container. | |
| float | phi () const noexcept |
| Const access to the phi coordinate of the space point. | |
| float & | phi () const noexcept |
| Mutable access to the phi coordinate of the space point. | |
| float | r () const noexcept |
| Const access to the r coordinate of the space point. | |
| float & | r () const noexcept |
| Mutable access to the r coordinate of the space point. | |
| SpacePointIndex2 | resolvedIndex () const noexcept |
| Returns the resolved index of the space point. | |
| std::span< const SourceLink > | sourceLinks () const noexcept |
| Const access to the source links of the space point. | |
| std::span< SourceLink > | sourceLinks () const noexcept |
| Mutable access to the source links of the space point. | |
| const std::array< float, 3 > & | stripCenterDistance () const noexcept |
| Const access to the strip center distance of the space point. | |
| std::array< float, 3 > & | stripCenterDistance () const noexcept |
| Mutable access to the strip center distance of the space point. | |
| float | time () const noexcept |
| Const access to the time information of the space point. | |
| float & | time () const noexcept |
| Mutable access to the time information of the space point. | |
| const std::array< float, 3 > & | topStripCenter () const noexcept |
| Const access to the top strip center of the space point. | |
| std::array< float, 3 > & | topStripCenter () const noexcept |
| Mutable access to the top strip center of the space point. | |
| const std::array< float, 3 > & | topStripVector () const noexcept |
| Const access to the top strip vector of the space point. | |
| std::array< float, 3 > & | topStripVector () const noexcept |
| Mutable access to the top strip vector of the space point. | |
| float | varianceR () const noexcept |
| Const access to the variance in R direction of the space point. | |
| float & | varianceR () const noexcept |
| Mutable access to the variance in R direction of the space point. | |
| float | varianceZ () const noexcept |
| Const access to the variance in Z direction of the space point. | |
| float & | varianceZ () const noexcept |
| Mutable access to the variance in Z direction of the space point. | |
| const std::array< float, 2 > & | varianceZR () const noexcept |
| Get const reference to ZR coordinate variances. | |
| std::array< float, 2 > & | varianceZR () const noexcept |
| Get mutable reference to ZR coordinate variances. | |
| float | x () const noexcept |
| Const access to the x coordinate of the space point. | |
| float & | x () const noexcept |
| Mutable access to the x coordinate of the space point. | |
| const std::array< float, 2 > & | xy () const noexcept |
| Get const reference to XY coordinates of the space point. | |
| std::array< float, 2 > & | xy () const noexcept |
| Get mutable reference to XY coordinates of the space point. | |
| const std::array< float, 4 > & | xyzr () const noexcept |
| Get const reference to XYZR coordinates of the space point. | |
| std::array< float, 4 > & | xyzr () const noexcept |
| Get mutable reference to XYZR coordinates of the space point. | |
| float | y () const noexcept |
| Const access to the y coordinate of the space point. | |
| float & | y () const noexcept |
| Mutable access to the y coordinate of the space point. | |
| float | z () const noexcept |
| Const access to the z coordinate of the space point. | |
| float & | z () const noexcept |
| Mutable access to the z coordinate of the space point. | |
| const std::array< float, 2 > & | zr () const noexcept |
| Get const reference to ZR coordinates of the space point. | |
| std::array< float, 2 > & | zr () const noexcept |
| Get mutable reference to ZR coordinates of the space point. | |
Static Public Attributes | |
| static constexpr bool | ReadOnly = read_only |
| Indicates whether this space point proxy is read-only or data can be modified. | |
A proxy class for accessing individual space points.
| using Acts::SpacePointProxy2< read_only >::Container = const_if_t<ReadOnly, SpacePointContainer2> |
Type alias for container type (const if read-only).
| using Acts::SpacePointProxy2< read_only >::Index = SpacePointIndex2 |
Type alias for space point index type.
|
noexcept |
Constructs a space point proxy for the given container and index.
| container | The container holding the space point. |
| index | The index of the space point in the container. |
|
defaultnoexcept |
Copy construct a space point proxy.
| other | The space point proxy to copy. |
|
explicitnoexcept |
Copy construct a mutable space point proxy.
| other | The mutable space point proxy to copy. |
|
noexcept |
Returns a const proxy of the space point.
| void Acts::SpacePointProxy2< read_only >::assignSourceLinks | ( | std::span< const SourceLink > | sourceLinks | ) | const |
Assigns source links to the space point.
| sourceLinks | A span of source links to assign to the space point. |
| std::out_of_range | if the index is out of range. |
| std::logic_error | if no source links column is available. |
| std::logic_error | if source links are already assigned to the space point. |
|
noexcept |
Const access to the bottom strip vector of the space point.
|
noexcept |
Mutable access to the bottom strip vector of the space point.
|
noexcept |
Gets the container holding the space point.
|
noexcept |
Gets the container holding the space point.
|
noexcept |
Const access to the copy from index of the space point.
|
noexcept |
Mutable access to the copy from index of the space point.
|
noexcept |
Const access to an extra column of data for the space point.
| column | The extra column proxy to access. |
|
noexcept |
Mutable access to an extra column of data for the space point.
| column | The extra column proxy to access. |
|
noexcept |
Gets the index of the space point in the container.
|
noexcept |
Const access to the phi coordinate of the space point.
|
noexcept |
Mutable access to the phi coordinate of the space point.
|
noexcept |
Const access to the r coordinate of the space point.
|
noexcept |
Mutable access to the r coordinate of the space point.
|
noexcept |
Returns the resolved index of the space point.
This resolves the index if the space point was copied from another index.
|
noexcept |
Const access to the source links of the space point.
|
noexcept |
Mutable access to the source links of the space point.
|
noexcept |
Const access to the strip center distance of the space point.
|
noexcept |
Mutable access to the strip center distance of the space point.
|
noexcept |
Const access to the time information of the space point.
|
noexcept |
Mutable access to the time information of the space point.
|
noexcept |
Const access to the top strip center of the space point.
|
noexcept |
Mutable access to the top strip center of the space point.
|
noexcept |
Const access to the top strip vector of the space point.
|
noexcept |
Mutable access to the top strip vector of the space point.
|
noexcept |
Const access to the variance in R direction of the space point.
|
noexcept |
Mutable access to the variance in R direction of the space point.
|
noexcept |
Const access to the variance in Z direction of the space point.
|
noexcept |
Mutable access to the variance in Z direction of the space point.
|
noexcept |
Get const reference to ZR coordinate variances.
|
noexcept |
Get mutable reference to ZR coordinate variances.
|
noexcept |
Const access to the x coordinate of the space point.
|
noexcept |
Mutable access to the x coordinate of the space point.
|
noexcept |
Get const reference to XY coordinates of the space point.
|
noexcept |
Get mutable reference to XY coordinates of the space point.
|
noexcept |
Get const reference to XYZR coordinates of the space point.
|
noexcept |
Get mutable reference to XYZR coordinates of the space point.
|
noexcept |
Const access to the y coordinate of the space point.
|
noexcept |
Mutable access to the y coordinate of the space point.
|
noexcept |
Const access to the z coordinate of the space point.
|
noexcept |
Mutable access to the z coordinate of the space point.
|
noexcept |
Get const reference to ZR coordinates of the space point.
|
noexcept |
Get mutable reference to ZR coordinates of the space point.
|
staticconstexpr |
Indicates whether this space point proxy is read-only or data can be modified.