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

#include <Acts/EventData/AnyTrackStateProxy.hpp>

Inheritance diagram for Acts::AnyTrackStateProxy< read_only >:
[legend]
Collaboration diagram for Acts::AnyTrackStateProxy< read_only >:
[legend]

Public Types

using ConstCovarianceMap
using ConstEffectiveCalibratedCovarianceMap
using ConstEffectiveCalibratedMap
using ConstParametersMap
using ConstProxyType = AnyTrackStateProxy<true>
using ConstTrackState = AnyTrackStateProxy<true>
using ContainerPointer = std::conditional_t<ReadOnly, const void*, void*>
using CovarianceMap
using MutableEffectiveCalibratedCovarianceMap
using MutableEffectiveCalibratedMap
using MutableTrackState = AnyTrackStateProxy<false>
using ParametersMap
Public Types inherited from Acts::TrackStateProxyCommon< AnyTrackStateProxy< read_only >, read_only >
using ParametersMap
 Mutable Eigen map type for bound track parameters.
using ConstParametersMap
 Const Eigen map type for bound track parameters.
using CovarianceMap
 Mutable Eigen map type for bound track parameter covariance.
using ConstCovarianceMap
 Const Eigen map type for bound track parameter covariance.
using EffectiveCalibratedMap
 Mutable Eigen map type for calibrated measurements (dynamic size).
using ConstEffectiveCalibratedMap
 Const Eigen map type for calibrated measurements (dynamic size).
using EffectiveCalibratedCovarianceMap
 Mutable Eigen map type for calibrated measurement covariance (dynamic size).
using ConstEffectiveCalibratedCovarianceMap
 Const Eigen map type for calibrated measurement covariance (dynamic size).

Public Member Functions

template<TrackStateProxyConcept track_state_proxy_t>
requires (ReadOnly || !track_state_proxy_t::ReadOnly)
 AnyTrackStateProxy (track_state_proxy_t &ts)
 Construct an AnyTrackStateProxy from a concrete track-state proxy.
void allocateCalibrated (const Eigen::DenseBase< val_t > &val, const Eigen::DenseBase< cov_t > &cov)
 Allocate and initialize calibrated data from static-size Eigen objects.
void allocateCalibrated (std::size_t measdim)
 Allocate memory for runtime-dimension calibrated data.
TrackStateTraits< measdim, false >::Calibrated calibrated ()
 Access calibrated measurement data with compile-time dimension.
TrackStateTraits< measdim, true >::Calibrated calibrated () const
 Access calibrated measurement data with compile-time dimension.
TrackStateTraits< measdim, false >::CalibratedCovariance calibratedCovariance ()
 Access calibrated covariance data with compile-time dimension.
TrackStateTraits< measdim, true >::CalibratedCovariance calibratedCovariance () const
 Access calibrated covariance data with compile-time dimension.
TrackIndexType calibratedSize () const
 Retrieve the measurement dimension of the calibrated data.
float & chi2 ()
 Retrieve a mutable reference to the local chi2 contribution.
float chi2 () const
 Retrieve the local chi2 contribution.
template<typename T, HashedString key>
requires (!ReadOnly)
T & component ()
 Access a mutable component through a compile-time key.
template<typename T, HashedString key>
const T & component () const
 Access a const component through a compile-time key.
template<typename T>
requires (!ReadOnly)
T & component (HashedString key)
 Access a mutable component by hashed key.
template<typename T>
const T & component (HashedString key) const
 Access a const component by hashed key.
template<typename T>
requires (!ReadOnly)
T & component (std::string_view key)
 Access a mutable component by string key.
template<typename T>
const T & component (std::string_view key) const
 Access a const component by string key.
ConstCovarianceMap covariance () const
 Access the best available covariance (smoothed, filtered, or predicted).
EffectiveCalibratedMap effectiveCalibrated ()
 Access mutable calibrated measurement values with runtime dimension.
ConstEffectiveCalibratedMap effectiveCalibrated () const
 Access the calibrated measurement values with runtime dimension.
EffectiveCalibratedCovarianceMap effectiveCalibratedCovariance ()
 Access mutable calibrated covariance with runtime dimension.
ConstEffectiveCalibratedCovarianceMap effectiveCalibratedCovariance () const
 Access the calibrated covariance with runtime dimension.
ParametersMap filtered ()
 Access the filtered parameter vector.
ConstParametersMap filtered () const
 Access the filtered parameter vector.
CovarianceMap filteredCovariance ()
 Access the filtered covariance matrix.
ConstCovarianceMap filteredCovariance () const
 Access the filtered covariance matrix.
TrackStatePropMask getMask () const
 Compute the property mask describing which components are present.
SourceLink getUncalibratedSourceLink () const
 Retrieve the original, uncalibrated source link.
template<HashedString key>
bool has () const
 Check if a compile-time keyed component exists on this track state.
bool has (HashedString key) const
 Check if a hashed component exists on this track state.
bool has (std::string_view key) const
 Check if a string-named component exists on this track state.
bool hasCalibrated () const
 Check for presence of calibrated measurement data.
bool hasColumn (HashedString key) const
 Check if the trajectory container exposes a column.
bool hasColumn (std::string_view key) const
 Check if the trajectory container exposes a column.
bool hasFiltered () const
 Check for presence of filtered track parameters.
bool hasJacobian () const
 Check for presence of a transport Jacobian.
bool hasPredicted () const
 Check for presence of predicted track parameters.
bool hasPrevious () const
 Check whether this state links to a previous state.
bool hasProjector () const
 Check for presence of a measurement projector.
bool hasReferenceSurface () const
 Check whether a reference surface is attached.
bool hasSmoothed () const
 Check for presence of smoothed track parameters.
TrackIndexType index () const
 Get the index of the underlying track state.
CovarianceMap jacobian ()
 Access the transport Jacobian.
ConstCovarianceMap jacobian () const
 Access the transport Jacobian.
ConstParametersMap parameters () const
 Access the best available parameters (smoothed, filtered, or predicted).
double & pathLength ()
 Retrieve a mutable reference to the accumulated path length.
double pathLength () const
 Retrieve the accumulated path length.
ParametersMap predicted ()
 Access the predicted parameter vector.
ConstParametersMap predicted () const
 Access the predicted parameter vector.
CovarianceMap predictedCovariance ()
 Access the predicted covariance matrix.
ConstCovarianceMap predictedCovariance () const
 Access the predicted covariance matrix.
TrackIndexTypeprevious ()
 Retrieve a mutable reference to the previous track state index.
TrackIndexType previous () const
 Retrieve the previous track state index in the linked trajectory.
VariableBoundSubspaceHelper projectorSubspaceHelper () const
 Creates a variable size subspace helper.
BoundSubspaceIndices projectorSubspaceIndices () const
 Decode the measurement projector indices.
const SurfacereferenceSurface () const
 Access the surface the state is referenced to.
void setProjectorSubspaceIndices (const index_range_t &subspaceIndices)
 Store subspace indices describing the measurement projector.
void setReferenceSurface (std::shared_ptr< const Surface > surface)
 Assign a new reference surface to the track state.
void setUncalibratedSourceLink (SourceLink sourceLink)
 Store an uncalibrated source link on this state.
ParametersMap smoothed ()
 Access the smoothed parameter vector.
ConstParametersMap smoothed () const
 Access the smoothed parameter vector.
CovarianceMap smoothedCovariance ()
 Access the smoothed covariance matrix.
ConstCovarianceMap smoothedCovariance () const
 Access the smoothed covariance matrix.
MutableTrackStateTypeMap typeFlags ()
 Retrieve mutable track-state type flags.
ConstTrackStateTypeMap typeFlags () const
 Retrieve the track-state type flags.
void unset (TrackStatePropMask target)
 Remove dynamic components according to a mask.
Public Member Functions inherited from Acts::TrackStateProxyCommon< AnyTrackStateProxy< read_only >, read_only >
void allocateCalibrated (const Eigen::DenseBase< val_t > &val, const Eigen::DenseBase< cov_t > &cov)
 Allocate and initialize calibrated data from static-size Eigen objects.
TrackStateTraits< measdim, false >::Calibrated calibrated ()
 Access calibrated measurement data with compile-time dimension.
TrackStateTraits< measdim, true >::Calibrated calibrated () const
 Access calibrated measurement data with compile-time dimension.
TrackStateTraits< measdim, false >::CalibratedCovariance calibratedCovariance ()
 Access calibrated covariance data with compile-time dimension.
TrackStateTraits< measdim, true >::CalibratedCovariance calibratedCovariance () const
 Access calibrated covariance data with compile-time dimension.
float & chi2 ()
 Retrieve a mutable reference to the local chi2 contribution.
float chi2 () const
 Retrieve the local chi2 contribution.
ConstCovarianceMap covariance () const
 Access the best available covariance (smoothed, filtered, or predicted).
EffectiveCalibratedMap effectiveCalibrated ()
 Access mutable calibrated measurement values with runtime dimension.
ConstEffectiveCalibratedMap effectiveCalibrated () const
 Access the calibrated measurement values with runtime dimension.
EffectiveCalibratedCovarianceMap effectiveCalibratedCovariance ()
 Access mutable calibrated covariance with runtime dimension.
ConstEffectiveCalibratedCovarianceMap effectiveCalibratedCovariance () const
 Access the calibrated covariance with runtime dimension.
ParametersMap filtered ()
 Access the filtered parameter vector.
ConstParametersMap filtered () const
 Access the filtered parameter vector.
CovarianceMap filteredCovariance ()
 Access the filtered covariance matrix.
ConstCovarianceMap filteredCovariance () const
 Access the filtered covariance matrix.
TrackStatePropMask getMask () const
 Compute the property mask describing which components are present.
bool hasCalibrated () const
 Check for presence of calibrated measurement data.
bool hasFiltered () const
 Check for presence of filtered track parameters.
bool hasJacobian () const
 Check for presence of a transport Jacobian.
bool hasPredicted () const
 Check for presence of predicted track parameters.
bool hasPrevious () const
 Check whether this state links to a previous state.
bool hasProjector () const
 Check for presence of a measurement projector.
bool hasSmoothed () const
 Check for presence of smoothed track parameters.
ConstParametersMap parameters () const
 Access the best available parameters (smoothed, filtered, or predicted).
double & pathLength ()
 Retrieve a mutable reference to the accumulated path length.
double pathLength () const
 Retrieve the accumulated path length.
ParametersMap predicted ()
 Access the predicted parameter vector.
ConstParametersMap predicted () const
 Access the predicted parameter vector.
CovarianceMap predictedCovariance ()
 Access the predicted covariance matrix.
ConstCovarianceMap predictedCovariance () const
 Access the predicted covariance matrix.
TrackIndexTypeprevious ()
 Retrieve a mutable reference to the previous track state index.
TrackIndexType previous () const
 Retrieve the previous track state index in the linked trajectory.
FixedBoundSubspaceHelper< measdim > projectorSubspaceHelper () const
 Creates a fixed size subspace helper.
VariableBoundSubspaceHelper projectorSubspaceHelper () const
 Creates a variable size subspace helper.
SubspaceIndices< measdim > projectorSubspaceIndices () const
 Returns the projector subspace indices.
BoundSubspaceIndices projectorSubspaceIndices () const
 Decode the measurement projector indices.
void setProjectorSubspaceIndices (const index_range_t &subspaceIndices)
 Store subspace indices describing the measurement projector.
ParametersMap smoothed ()
 Access the smoothed parameter vector.
ConstParametersMap smoothed () const
 Access the smoothed parameter vector.
CovarianceMap smoothedCovariance ()
 Access the smoothed covariance matrix.
ConstCovarianceMap smoothedCovariance () const
 Access the smoothed covariance matrix.
MutableTrackStateTypeMap typeFlags ()
 Retrieve mutable track-state type flags.
ConstTrackStateTypeMap typeFlags () const
 Retrieve the track-state type flags.

Static Public Attributes

static constexpr bool ReadOnly = read_only

Protected Member Functions

const double * calibratedCovarianceData () const
double * calibratedCovarianceDataMutable ()
const double * calibratedData () const
double * calibratedDataMutable ()
ConstCovarianceMap covarianceAtIndex (IndexType covIndex) const
CovarianceMap covarianceAtIndexMutable (IndexType covIndex) const
ConstParametersMap parametersAtIndex (IndexType parIndex) const
ParametersMap parametersAtIndexMutable (IndexType parIndex) const
Protected Member Functions inherited from Acts::TrackStateProxyCommon< AnyTrackStateProxy< read_only >, read_only >
constexpr AnyTrackStateProxy< read_only > & derived ()
constexpr const AnyTrackStateProxy< read_only > & derived () const

Additional Inherited Members

Protected Types inherited from Acts::TrackStateProxyCommon< AnyTrackStateProxy< read_only >, read_only >
using IndexType

Member Typedef Documentation

◆ ConstCovarianceMap

template<bool read_only>
using Acts::AnyTrackStateProxy< read_only >::ConstCovarianceMap
Initial value:
detail_anytstate::TrackStateHandlerConstBase::ConstCovarianceMap

◆ ConstEffectiveCalibratedCovarianceMap

template<bool read_only>
using Acts::AnyTrackStateProxy< read_only >::ConstEffectiveCalibratedCovarianceMap
Initial value:
detail_anytstate::
TrackStateHandlerConstBase::ConstEffectiveCalibratedCovarianceMap

◆ ConstEffectiveCalibratedMap

template<bool read_only>
using Acts::AnyTrackStateProxy< read_only >::ConstEffectiveCalibratedMap
Initial value:
detail_anytstate::TrackStateHandlerConstBase::ConstEffectiveCalibratedMap

◆ ConstParametersMap

template<bool read_only>
using Acts::AnyTrackStateProxy< read_only >::ConstParametersMap
Initial value:
detail_anytstate::TrackStateHandlerConstBase::ConstParametersMap

◆ ConstProxyType

template<bool read_only>
using Acts::AnyTrackStateProxy< read_only >::ConstProxyType = AnyTrackStateProxy<true>

◆ ConstTrackState

template<bool read_only>
using Acts::AnyTrackStateProxy< read_only >::ConstTrackState = AnyTrackStateProxy<true>

◆ ContainerPointer

template<bool read_only>
using Acts::AnyTrackStateProxy< read_only >::ContainerPointer = std::conditional_t<ReadOnly, const void*, void*>

◆ CovarianceMap

template<bool read_only>
using Acts::AnyTrackStateProxy< read_only >::CovarianceMap
Initial value:
detail_anytstate::TrackStateHandlerConstBase::CovarianceMap

◆ MutableEffectiveCalibratedCovarianceMap

template<bool read_only>
using Acts::AnyTrackStateProxy< read_only >::MutableEffectiveCalibratedCovarianceMap
Initial value:
detail_anytstate::
TrackStateHandlerConstBase::EffectiveCalibratedCovarianceMap

◆ MutableEffectiveCalibratedMap

template<bool read_only>
using Acts::AnyTrackStateProxy< read_only >::MutableEffectiveCalibratedMap
Initial value:
detail_anytstate::TrackStateHandlerConstBase::EffectiveCalibratedMap

◆ MutableTrackState

template<bool read_only>
using Acts::AnyTrackStateProxy< read_only >::MutableTrackState = AnyTrackStateProxy<false>

◆ ParametersMap

template<bool read_only>
using Acts::AnyTrackStateProxy< read_only >::ParametersMap
Initial value:
detail_anytstate::TrackStateHandlerConstBase::ParametersMap

Constructor & Destructor Documentation

◆ AnyTrackStateProxy()

template<bool read_only>
template<TrackStateProxyConcept track_state_proxy_t>
requires (ReadOnly || !track_state_proxy_t::ReadOnly)
Acts::AnyTrackStateProxy< read_only >::AnyTrackStateProxy ( track_state_proxy_t & ts)
explicit

Construct an AnyTrackStateProxy from a concrete track-state proxy.

Template Parameters
track_state_proxy_tProxy type satisfying the concept.
Parameters
tsProxy that supplies the trajectory backend and index.

Member Function Documentation

◆ allocateCalibrated() [1/2]

template<bool read_only>
void Acts::TrackStateProxyCommon< AnyTrackStateProxy< read_only >, read_only >::allocateCalibrated ( const Eigen::DenseBase< val_t > & val,
const Eigen::DenseBase< cov_t > & cov )

Allocate and initialize calibrated data from static-size Eigen objects.

Template Parameters
val_tEigen vector type holding calibrated values.
cov_tEigen matrix type holding the covariance.
Parameters
valVector to copy into the calibrated storage.
covCovariance matrix to copy into the calibrated storage.

◆ allocateCalibrated() [2/2]

template<bool read_only>
void Acts::AnyTrackStateProxy< read_only >::allocateCalibrated ( std::size_t measdim)

Allocate memory for runtime-dimension calibrated data.

Parameters
measdimNumber of measurement rows to reserve.

◆ calibrated() [1/2]

template<bool read_only>
TrackStateTraits< measdim, false >::Calibrated Acts::TrackStateProxyCommon< AnyTrackStateProxy< read_only >, read_only >::calibrated ( )

Access calibrated measurement data with compile-time dimension.

Template Parameters
measdimMeasurement dimension.
Returns
Mutable Eigen map referencing the calibrated measurement vector.

◆ calibrated() [2/2]

template<bool read_only>
TrackStateTraits< measdim, true >::Calibrated Acts::TrackStateProxyCommon< AnyTrackStateProxy< read_only >, read_only >::calibrated ( ) const

Access calibrated measurement data with compile-time dimension.

Template Parameters
measdimMeasurement dimension.
Returns
Eigen map referencing the calibrated measurement vector.

◆ calibratedCovariance() [1/2]

template<bool read_only>
TrackStateTraits< measdim, false >::CalibratedCovariance Acts::TrackStateProxyCommon< AnyTrackStateProxy< read_only >, read_only >::calibratedCovariance ( )

Access calibrated covariance data with compile-time dimension.

Template Parameters
measdimMeasurement dimension.
Returns
Mutable Eigen map referencing the covariance matrix.

◆ calibratedCovariance() [2/2]

template<bool read_only>
TrackStateTraits< measdim, true >::CalibratedCovariance Acts::TrackStateProxyCommon< AnyTrackStateProxy< read_only >, read_only >::calibratedCovariance ( ) const

Access calibrated covariance data with compile-time dimension.

Template Parameters
measdimMeasurement dimension.
Returns
Eigen map referencing the covariance matrix.

◆ calibratedCovarianceData()

template<bool read_only>
const double * Acts::AnyTrackStateProxy< read_only >::calibratedCovarianceData ( ) const
protected

◆ calibratedCovarianceDataMutable()

template<bool read_only>
double * Acts::AnyTrackStateProxy< read_only >::calibratedCovarianceDataMutable ( )
protected

◆ calibratedData()

template<bool read_only>
const double * Acts::AnyTrackStateProxy< read_only >::calibratedData ( ) const
protected

◆ calibratedDataMutable()

template<bool read_only>
double * Acts::AnyTrackStateProxy< read_only >::calibratedDataMutable ( )
protected

◆ calibratedSize()

template<bool read_only>
TrackIndexType Acts::AnyTrackStateProxy< read_only >::calibratedSize ( ) const

Retrieve the measurement dimension of the calibrated data.

Returns
Number of calibrated measurement entries.

◆ chi2() [1/2]

template<bool read_only>
float & Acts::TrackStateProxyCommon< AnyTrackStateProxy< read_only >, read_only >::chi2 ( )

Retrieve a mutable reference to the local chi2 contribution.

Returns
Mutable chi2 value.

◆ chi2() [2/2]

template<bool read_only>
float Acts::TrackStateProxyCommon< AnyTrackStateProxy< read_only >, read_only >::chi2 ( ) const

Retrieve the local chi2 contribution.

Returns
Chi2 value associated with this state.

◆ component() [1/6]

template<bool read_only>
template<typename T, HashedString key>
requires (!ReadOnly)
T & Acts::AnyTrackStateProxy< read_only >::component ( )

Access a mutable component through a compile-time key.

Template Parameters
TComponent type.
keyComponent key encoded as a hashed string literal.
Returns
Mutable reference to the requested component.

◆ component() [2/6]

template<bool read_only>
template<typename T, HashedString key>
const T & Acts::AnyTrackStateProxy< read_only >::component ( ) const

Access a const component through a compile-time key.

Template Parameters
TComponent type.
keyComponent key encoded as a hashed string literal.
Returns
Const reference to the requested component.

◆ component() [3/6]

template<bool read_only>
template<typename T>
requires (!ReadOnly)
T & Acts::AnyTrackStateProxy< read_only >::component ( HashedString key)

Access a mutable component by hashed key.

Template Parameters
TComponent type.
Parameters
keyComponent identifier.
Returns
Mutable reference to the requested component.

◆ component() [4/6]

template<bool read_only>
template<typename T>
const T & Acts::AnyTrackStateProxy< read_only >::component ( HashedString key) const

Access a const component by hashed key.

Template Parameters
TComponent type.
Parameters
keyComponent identifier.
Returns
Const reference to the requested component.

◆ component() [5/6]

template<bool read_only>
template<typename T>
requires (!ReadOnly)
T & Acts::AnyTrackStateProxy< read_only >::component ( std::string_view key)

Access a mutable component by string key.

Template Parameters
TComponent type.
Parameters
keyComponent identifier as a string.
Returns
Mutable reference to the requested component.

◆ component() [6/6]

template<bool read_only>
template<typename T>
const T & Acts::AnyTrackStateProxy< read_only >::component ( std::string_view key) const

Access a const component by string key.

Template Parameters
TComponent type.
Parameters
keyComponent identifier as a string.
Returns
Const reference to the requested component.

◆ covariance()

template<bool read_only>
ConstCovarianceMap Acts::TrackStateProxyCommon< AnyTrackStateProxy< read_only >, read_only >::covariance ( ) const

Access the best available covariance (smoothed, filtered, or predicted).

Returns
Bound covariance map for the state.

◆ covarianceAtIndex()

template<bool read_only>
ConstCovarianceMap Acts::AnyTrackStateProxy< read_only >::covarianceAtIndex ( IndexType covIndex) const
protected

◆ covarianceAtIndexMutable()

template<bool read_only>
CovarianceMap Acts::AnyTrackStateProxy< read_only >::covarianceAtIndexMutable ( IndexType covIndex) const
protected

◆ effectiveCalibrated() [1/2]

template<bool read_only>
EffectiveCalibratedMap Acts::TrackStateProxyCommon< AnyTrackStateProxy< read_only >, read_only >::effectiveCalibrated ( )

Access mutable calibrated measurement values with runtime dimension.

Returns
Eigen map referencing the calibrated measurement vector.

◆ effectiveCalibrated() [2/2]

template<bool read_only>
ConstEffectiveCalibratedMap Acts::TrackStateProxyCommon< AnyTrackStateProxy< read_only >, read_only >::effectiveCalibrated ( ) const

Access the calibrated measurement values with runtime dimension.

Returns
Eigen map referencing the calibrated measurement vector.

◆ effectiveCalibratedCovariance() [1/2]

template<bool read_only>
EffectiveCalibratedCovarianceMap Acts::TrackStateProxyCommon< AnyTrackStateProxy< read_only >, read_only >::effectiveCalibratedCovariance ( )

Access mutable calibrated covariance with runtime dimension.

Returns
Eigen map referencing the measurement covariance matrix.

◆ effectiveCalibratedCovariance() [2/2]

template<bool read_only>
ConstEffectiveCalibratedCovarianceMap Acts::TrackStateProxyCommon< AnyTrackStateProxy< read_only >, read_only >::effectiveCalibratedCovariance ( ) const

Access the calibrated covariance with runtime dimension.

Returns
Eigen map referencing the measurement covariance matrix.

◆ filtered() [1/2]

template<bool read_only>
ParametersMap Acts::TrackStateProxyCommon< AnyTrackStateProxy< read_only >, read_only >::filtered ( )

Access the filtered parameter vector.

Returns
Mutable bound parameter map for the filtered state.

◆ filtered() [2/2]

template<bool read_only>
ConstParametersMap Acts::TrackStateProxyCommon< AnyTrackStateProxy< read_only >, read_only >::filtered ( ) const

Access the filtered parameter vector.

Returns
Bound parameter map for the filtered state.

◆ filteredCovariance() [1/2]

template<bool read_only>
CovarianceMap Acts::TrackStateProxyCommon< AnyTrackStateProxy< read_only >, read_only >::filteredCovariance ( )

Access the filtered covariance matrix.

Returns
Mutable bound covariance map for the filtered state.

◆ filteredCovariance() [2/2]

template<bool read_only>
ConstCovarianceMap Acts::TrackStateProxyCommon< AnyTrackStateProxy< read_only >, read_only >::filteredCovariance ( ) const

Access the filtered covariance matrix.

Returns
Bound covariance map for the filtered state.

◆ getMask()

template<bool read_only>
TrackStatePropMask Acts::TrackStateProxyCommon< AnyTrackStateProxy< read_only >, read_only >::getMask ( ) const

Compute the property mask describing which components are present.

Returns
Bit mask of available properties.

◆ getUncalibratedSourceLink()

template<bool read_only>
SourceLink Acts::AnyTrackStateProxy< read_only >::getUncalibratedSourceLink ( ) const

Retrieve the original, uncalibrated source link.

Returns
Copy of the stored source link.

◆ has() [1/3]

template<bool read_only>
template<HashedString key>
bool Acts::AnyTrackStateProxy< read_only >::has ( ) const

Check if a compile-time keyed component exists on this track state.

Template Parameters
keyComponent key encoded as a hashed string literal.
Returns
True if the component is available.

◆ has() [2/3]

template<bool read_only>
bool Acts::AnyTrackStateProxy< read_only >::has ( HashedString key) const

Check if a hashed component exists on this track state.

Parameters
keyComponent identifier.
Returns
True if the component is available.

◆ has() [3/3]

template<bool read_only>
bool Acts::AnyTrackStateProxy< read_only >::has ( std::string_view key) const

Check if a string-named component exists on this track state.

Parameters
keyComponent identifier as a string.
Returns
True if the component is available.

◆ hasCalibrated()

template<bool read_only>
bool Acts::TrackStateProxyCommon< AnyTrackStateProxy< read_only >, read_only >::hasCalibrated ( ) const

Check for presence of calibrated measurement data.

Returns
True if calibrated measurements exist.

◆ hasColumn() [1/2]

template<bool read_only>
bool Acts::AnyTrackStateProxy< read_only >::hasColumn ( HashedString key) const

Check if the trajectory container exposes a column.

Parameters
keyColumn identifier.
Returns
True if the column exists.

◆ hasColumn() [2/2]

template<bool read_only>
bool Acts::AnyTrackStateProxy< read_only >::hasColumn ( std::string_view key) const

Check if the trajectory container exposes a column.

Parameters
keyColumn identifier as a string.
Returns
True if the column exists.

◆ hasFiltered()

template<bool read_only>
bool Acts::TrackStateProxyCommon< AnyTrackStateProxy< read_only >, read_only >::hasFiltered ( ) const

Check for presence of filtered track parameters.

Returns
True if the filtered component exists.

◆ hasJacobian()

template<bool read_only>
bool Acts::TrackStateProxyCommon< AnyTrackStateProxy< read_only >, read_only >::hasJacobian ( ) const

Check for presence of a transport Jacobian.

Returns
True if a Jacobian is stored.

◆ hasPredicted()

template<bool read_only>
bool Acts::TrackStateProxyCommon< AnyTrackStateProxy< read_only >, read_only >::hasPredicted ( ) const

Check for presence of predicted track parameters.

Returns
True if the predicted component exists.

◆ hasPrevious()

template<bool read_only>
bool Acts::TrackStateProxyCommon< AnyTrackStateProxy< read_only >, read_only >::hasPrevious ( ) const

Check whether this state links to a previous state.

Returns
True if the previous index is valid.

◆ hasProjector()

template<bool read_only>
bool Acts::TrackStateProxyCommon< AnyTrackStateProxy< read_only >, read_only >::hasProjector ( ) const

Check for presence of a measurement projector.

Returns
True if projector indices are stored.

◆ hasReferenceSurface()

template<bool read_only>
bool Acts::AnyTrackStateProxy< read_only >::hasReferenceSurface ( ) const

Check whether a reference surface is attached.

Returns
True if a valid reference surface exists.

◆ hasSmoothed()

template<bool read_only>
bool Acts::TrackStateProxyCommon< AnyTrackStateProxy< read_only >, read_only >::hasSmoothed ( ) const

Check for presence of smoothed track parameters.

Returns
True if the smoothed component exists.

◆ index()

template<bool read_only>
TrackIndexType Acts::AnyTrackStateProxy< read_only >::index ( ) const

Get the index of the underlying track state.

Returns
Track state index within its container.

◆ jacobian() [1/2]

template<bool read_only>
CovarianceMap Acts::AnyTrackStateProxy< read_only >::jacobian ( )

Access the transport Jacobian.

Returns
Mutable map referencing the Jacobian matrix.

◆ jacobian() [2/2]

template<bool read_only>
ConstCovarianceMap Acts::AnyTrackStateProxy< read_only >::jacobian ( ) const

Access the transport Jacobian.

Returns
Const map referencing the Jacobian matrix.

◆ parameters()

template<bool read_only>
ConstParametersMap Acts::TrackStateProxyCommon< AnyTrackStateProxy< read_only >, read_only >::parameters ( ) const

Access the best available parameters (smoothed, filtered, or predicted).

Returns
Bound parameter map for the state.

◆ parametersAtIndex()

template<bool read_only>
ConstParametersMap Acts::AnyTrackStateProxy< read_only >::parametersAtIndex ( IndexType parIndex) const
protected

◆ parametersAtIndexMutable()

template<bool read_only>
ParametersMap Acts::AnyTrackStateProxy< read_only >::parametersAtIndexMutable ( IndexType parIndex) const
protected

◆ pathLength() [1/2]

template<bool read_only>
double & Acts::TrackStateProxyCommon< AnyTrackStateProxy< read_only >, read_only >::pathLength ( )

Retrieve a mutable reference to the accumulated path length.

Returns
Mutable path length.

◆ pathLength() [2/2]

template<bool read_only>
double Acts::TrackStateProxyCommon< AnyTrackStateProxy< read_only >, read_only >::pathLength ( ) const

Retrieve the accumulated path length.

Returns
Path length stored on the state.

◆ predicted() [1/2]

template<bool read_only>
ParametersMap Acts::TrackStateProxyCommon< AnyTrackStateProxy< read_only >, read_only >::predicted ( )

Access the predicted parameter vector.

Returns
Mutable bound parameter map for the predicted state.

◆ predicted() [2/2]

template<bool read_only>
ConstParametersMap Acts::TrackStateProxyCommon< AnyTrackStateProxy< read_only >, read_only >::predicted ( ) const

Access the predicted parameter vector.

Returns
Bound parameter map for the predicted state.

◆ predictedCovariance() [1/2]

template<bool read_only>
CovarianceMap Acts::TrackStateProxyCommon< AnyTrackStateProxy< read_only >, read_only >::predictedCovariance ( )

Access the predicted covariance matrix.

Returns
Mutable bound covariance map for the predicted state.

◆ predictedCovariance() [2/2]

template<bool read_only>
ConstCovarianceMap Acts::TrackStateProxyCommon< AnyTrackStateProxy< read_only >, read_only >::predictedCovariance ( ) const

Access the predicted covariance matrix.

Returns
Bound covariance map for the predicted state.

◆ previous() [1/2]

template<bool read_only>
TrackIndexType & Acts::TrackStateProxyCommon< AnyTrackStateProxy< read_only >, read_only >::previous ( )

Retrieve a mutable reference to the previous track state index.

Returns
Mutable index of the previous state.

◆ previous() [2/2]

template<bool read_only>
TrackIndexType Acts::TrackStateProxyCommon< AnyTrackStateProxy< read_only >, read_only >::previous ( ) const

Retrieve the previous track state index in the linked trajectory.

Returns
Index of the previous state or kTrackIndexInvalid.

◆ projectorSubspaceHelper()

template<bool read_only>
VariableBoundSubspaceHelper Acts::TrackStateProxyCommon< AnyTrackStateProxy< read_only >, read_only >::projectorSubspaceHelper ( ) const

Creates a variable size subspace helper.

Returns
The subspace helper

◆ projectorSubspaceIndices()

template<bool read_only>
BoundSubspaceIndices Acts::TrackStateProxyCommon< AnyTrackStateProxy< read_only >, read_only >::projectorSubspaceIndices ( ) const

Decode the measurement projector indices.

Returns
Bound parameter indices used for projection.

◆ referenceSurface()

template<bool read_only>
const Surface & Acts::AnyTrackStateProxy< read_only >::referenceSurface ( ) const

Access the surface the state is referenced to.

Returns
Reference surface of the track state.

◆ setProjectorSubspaceIndices()

template<bool read_only>
void Acts::TrackStateProxyCommon< AnyTrackStateProxy< read_only >, read_only >::setProjectorSubspaceIndices ( const index_range_t & subspaceIndices)

Store subspace indices describing the measurement projector.

Template Parameters
index_range_tRange of indices to encode.
Parameters
subspaceIndicesCollection of bound indices forming the projector rows.

◆ setReferenceSurface()

template<bool read_only>
void Acts::AnyTrackStateProxy< read_only >::setReferenceSurface ( std::shared_ptr< const Surface > surface)

Assign a new reference surface to the track state.

Parameters
surfaceSurface that should be referenced.

◆ setUncalibratedSourceLink()

template<bool read_only>
void Acts::AnyTrackStateProxy< read_only >::setUncalibratedSourceLink ( SourceLink sourceLink)

Store an uncalibrated source link on this state.

Parameters
sourceLinkSource link to copy into the track state.

◆ smoothed() [1/2]

template<bool read_only>
ParametersMap Acts::TrackStateProxyCommon< AnyTrackStateProxy< read_only >, read_only >::smoothed ( )

Access the smoothed parameter vector.

Returns
Mutable bound parameter map for the smoothed state.

◆ smoothed() [2/2]

template<bool read_only>
ConstParametersMap Acts::TrackStateProxyCommon< AnyTrackStateProxy< read_only >, read_only >::smoothed ( ) const

Access the smoothed parameter vector.

Returns
Bound parameter map for the smoothed state.

◆ smoothedCovariance() [1/2]

template<bool read_only>
CovarianceMap Acts::TrackStateProxyCommon< AnyTrackStateProxy< read_only >, read_only >::smoothedCovariance ( )

Access the smoothed covariance matrix.

Returns
Mutable bound covariance map for the smoothed state.

◆ smoothedCovariance() [2/2]

template<bool read_only>
ConstCovarianceMap Acts::TrackStateProxyCommon< AnyTrackStateProxy< read_only >, read_only >::smoothedCovariance ( ) const

Access the smoothed covariance matrix.

Returns
Bound covariance map for the smoothed state.

◆ typeFlags() [1/2]

template<bool read_only>
MutableTrackStateTypeMap Acts::TrackStateProxyCommon< AnyTrackStateProxy< read_only >, read_only >::typeFlags ( )

Retrieve mutable track-state type flags.

Returns
Mutable bit mask describing the state type.

◆ typeFlags() [2/2]

template<bool read_only>
ConstTrackStateTypeMap Acts::TrackStateProxyCommon< AnyTrackStateProxy< read_only >, read_only >::typeFlags ( ) const

Retrieve the track-state type flags.

Returns
Bit mask describing the state type.

◆ unset()

template<bool read_only>
void Acts::AnyTrackStateProxy< read_only >::unset ( TrackStatePropMask target)

Remove dynamic components according to a mask.

Parameters
targetProperty mask describing which components to drop.

Member Data Documentation

◆ ReadOnly

template<bool read_only>
bool Acts::AnyTrackStateProxy< read_only >::ReadOnly = read_only
staticconstexpr