ACTS
Experiment-independent tracking
Loading...
Searching...
No Matches
Acts::SpacePointProxy< container_t > Class Template Reference

Proxy giving read access to space point data in a container. More...

#include <Acts/EventData/SpacePointProxy.hpp>

Inheritance diagram for Acts::SpacePointProxy< container_t >:
[legend]

Public Types

using ContainerType = container_t
 Container type.
using ValueType = typename ContainerType::ValueType
 Value type of the container.

Public Member Functions

 SpacePointProxy (const container_t &container, std::size_t index)
 Construct from container reference and index.
 SpacePointProxy (container_t &&container, std::size_t index)=delete
const Acts::Vector3bottomStripVector () const
 Get the bottom strip vector.
const ValueTypeexternalSpacePoint () const
 Access the external space point.
std::size_t index () const
 Get the index of this space point.
float phi () const
 Get the azimuthal angle.
float radius () const
 Get the radius.
const Acts::Vector3stripCenterDistance () const
 Get the strip center distance.
const Acts::Vector3topStripCenterPosition () const
 Get the top strip center position.
const Acts::Vector3topStripVector () const
 Get the top strip vector.
float varianceR () const
 Get the variance in r.
float varianceZ () const
 Get the variance in z.
float x () const
 Get the x coordinate.
float y () const
 Get the y coordinate.
float z () const
 Get the z coordinate.

Detailed Description

template<typename container_t>
class Acts::SpacePointProxy< container_t >

Proxy giving read access to space point data in a container.

Constructor & Destructor Documentation

◆ SpacePointProxy()

template<typename container_t>
Acts::SpacePointProxy< container_t >::SpacePointProxy ( const container_t & container,
std::size_t index )

Construct from container reference and index.

Parameters
containerReference to the space point container
indexIndex of the space point in the container

Member Function Documentation

◆ bottomStripVector()

template<typename container_t>
const Acts::Vector3 & Acts::SpacePointProxy< container_t >::bottomStripVector ( ) const

Get the bottom strip vector.

Returns
Bottom strip vector

◆ externalSpacePoint()

template<typename container_t>
const ValueType & Acts::SpacePointProxy< container_t >::externalSpacePoint ( ) const

Access the external space point.

Returns
Const reference to the external space point

◆ index()

template<typename container_t>
std::size_t Acts::SpacePointProxy< container_t >::index ( ) const

Get the index of this space point.

Returns
Index of this space point

◆ phi()

template<typename container_t>
float Acts::SpacePointProxy< container_t >::phi ( ) const

Get the azimuthal angle.

Returns
Azimuthal angle phi

◆ radius()

template<typename container_t>
float Acts::SpacePointProxy< container_t >::radius ( ) const

Get the radius.

Returns
Radius in the transverse plane

◆ stripCenterDistance()

template<typename container_t>
const Acts::Vector3 & Acts::SpacePointProxy< container_t >::stripCenterDistance ( ) const

Get the strip center distance.

Returns
Strip center distance vector

◆ topStripCenterPosition()

template<typename container_t>
const Acts::Vector3 & Acts::SpacePointProxy< container_t >::topStripCenterPosition ( ) const

Get the top strip center position.

Returns
Top strip center position vector

◆ topStripVector()

template<typename container_t>
const Acts::Vector3 & Acts::SpacePointProxy< container_t >::topStripVector ( ) const

Get the top strip vector.

Returns
Top strip vector

◆ varianceR()

template<typename container_t>
float Acts::SpacePointProxy< container_t >::varianceR ( ) const

Get the variance in r.

Returns
Variance in r

◆ varianceZ()

template<typename container_t>
float Acts::SpacePointProxy< container_t >::varianceZ ( ) const

Get the variance in z.

Returns
Variance in z

◆ x()

template<typename container_t>
float Acts::SpacePointProxy< container_t >::x ( ) const

Get the x coordinate.

Returns
x coordinate

◆ y()

template<typename container_t>
float Acts::SpacePointProxy< container_t >::y ( ) const

Get the y coordinate.

Returns
y coordinate

◆ z()

template<typename container_t>
float Acts::SpacePointProxy< container_t >::z ( ) const

Get the z coordinate.

Returns
z coordinate