ACTS
Experiment-independent tracking
Loading...
Searching...
No Matches
Acts::VectorMultiTrajectory Class Referencefinal

In-memory transient multi-trajectory implementation using std::vector as backend. More...

#include <Acts/EventData/VectorMultiTrajectory.hpp>

Inheritance diagram for Acts::VectorMultiTrajectory:
[legend]
Collaboration diagram for Acts::VectorMultiTrajectory:
[legend]

Public Member Functions

 VectorMultiTrajectory ()=default
template<typename T>
void addColumn_impl (std::string_view key)
IndexType addTrackState_impl (TrackStatePropMask mask=TrackStatePropMask::All, IndexType iprevious=kInvalid)
void addTrackStateComponents_impl (IndexType istate, TrackStatePropMask mask)
template<typename val_t, typename cov_t>
requires (Concepts::eigen_base_is_fixed_size<val_t> && Concepts::eigen_bases_have_same_num_rows<val_t, cov_t> && Concepts::eigen_base_is_square<cov_t> && Eigen::PlainObjectBase<val_t>::RowsAtCompileTime <= toUnderlying(eBoundSize))
void allocateCalibrated_impl (IndexType istate, const Eigen::DenseBase< val_t > &val, const Eigen::DenseBase< cov_t > &cov)
template<std::size_t measdim>
TrackStateProxy::Calibrated< measdim > calibrated_impl (IndexType istate)
template<std::size_t measdim>
ConstTrackStateProxy::ConstCalibrated< measdim > calibrated_impl (IndexType istate) const
template<std::size_t measdim>
TrackStateProxy::CalibratedCovariance< measdim > calibratedCovariance_impl (IndexType istate)
template<std::size_t measdim>
ConstTrackStateProxy::ConstCalibratedCovariance< measdim > calibratedCovariance_impl (IndexType istate) const
void clear_impl ()
std::any component_impl (HashedString key, IndexType istate)
std::any component_impl (HashedString key, IndexType istate) const
void copyDynamicFrom_impl (IndexType dstIdx, HashedString key, const std::any &srcPtr)
TrackStateProxy::Covariance covariance_impl (IndexType parIdx)
ConstTrackStateProxy::ConstCovariance covariance_impl (IndexType parIdx) const
bool has_impl (HashedString key, IndexType istate) const
bool hasColumn_impl (HashedString key) const
TrackStateProxy::Covariance jacobian_impl (IndexType istate)
ConstTrackStateProxy::ConstCovariance jacobian_impl (IndexType istate) const
TrackStateProxy::Parameters parameters_impl (IndexType parIdx)
ConstTrackStateProxy::ConstParameters parameters_impl (IndexType parIdx) const
void reserve (std::size_t n)
void setReferenceSurface_impl (IndexType istate, std::shared_ptr< const Surface > surface)
void setUncalibratedSourceLink_impl (IndexType istate, SourceLink &&sourceLink)
void shareFrom_impl (IndexType iself, IndexType iother, TrackStatePropMask shareSource, TrackStatePropMask shareTarget)
IndexType size_impl () const
Statistics statistics () const
void unset_impl (TrackStatePropMask target, IndexType istate)
Public Member Functions inherited from Acts::MultiTrajectory< VectorMultiTrajectory >
void clear ()
 Clear the MultiTrajectory.
IndexType size () const
 Returns the number of track states contained.
ConstTrackStateProxy getTrackState (IndexType istate) const
 Access a read-only point on the trajectory by index.
IndexType addTrackState (TrackStatePropMask mask=TrackStatePropMask::All, IndexType iprevious=kInvalid)
 Add a track state without providing explicit information.
TrackStateProxy makeTrackState (TrackStatePropMask mask=TrackStatePropMask::All, IndexType iprevious=kInvalid)
 Add a track state to the container and return a track state proxy to it This effectively calls addTrackState and getTrackState.
void visitBackwards (IndexType iendpoint, F &&callable) const
 Visit all previous states starting at a given endpoint.
void applyBackwards (IndexType iendpoint, F &&callable)
 Apply a function to all previous states starting at a given endpoint.
auto reverseTrackStateRange (IndexType iendpoint) const
 Range for the track states from iendpoint to the trajectory start.
auto forwardTrackStateRange (IndexType istartpoint) const
 Range for the track states from istartpoint to the trajectory end, i.e from inside out.
void addColumn (std::string_view key)
 Add a column to the MultiTrajectory.
bool hasColumn (HashedString key) const
 Check if a column with a key key exists.

Additional Inherited Members

Public Types inherited from Acts::MultiTrajectory< VectorMultiTrajectory >
using ConstTrackStateProxy
 Alias for the const version of a track state proxy, with the same backends as this container.
using Derived
 Type alias for derived multi-trajectory implementation.
using IndexType
 The index type of the track state container.
using TrackStateProxy
 Alias for the mutable version of a track state proxy, with the same backends as this container.
Static Public Attributes inherited from Acts::MultiTrajectory< VectorMultiTrajectory >
static constexpr IndexType kInvalid
 Sentinel value that indicates an invalid index.
static constexpr unsigned int MeasurementSizeMax
 Maximum number of measurement dimensions supported by this trajectory.
static constexpr bool ReadOnly
 Flag indicating whether this multi-trajectory is read-only.
Protected Member Functions inherited from Acts::MultiTrajectory< VectorMultiTrajectory >
 MultiTrajectory ()=default
void addTrackStateComponents (IndexType istate, TrackStatePropMask mask)
 Add additional components to an existing track state.
void allocateCalibrated (IndexType istate, std::size_t measdim)
 Allocate storage for a calibrated measurement of specified dimension.
TrackStateProxy::template Calibrated< measdim > calibrated (IndexType istate)
 Retrieve a calibrated measurement proxy instance for a measurement at a given index.
TrackStateProxy::template CalibratedCovariance< measdim > calibratedCovariance (IndexType istate)
 Retrieve a calibrated measurement covariance proxy instance for a measurement at a given index.
IndexType calibratedSize (IndexType istate) const
 Get the calibrated measurement size for a track state.
T & component (IndexType istate)
 Retrieve a mutable reference to a component.
TrackStateProxy::Covariance covariance (IndexType covIdx)
TrackStateProxy::EffectiveCalibrated effectiveCalibrated (IndexType istate)
 Retrieve a calibrated measurement covariance proxy instance for a measurement at a given index.
TrackStateProxy::EffectiveCalibratedCovariance effectiveCalibratedCovariance (IndexType istate)
 Retrieve a calibrated measurement covariance proxy instance for a measurement at a given index.
SourceLink getUncalibratedSourceLink (IndexType istate) const
 Get the uncalibrated source link for a track state.
bool has (HashedString key, IndexType istate) const
 Check for component existence of key in track satet istate.
TrackStateProxy::Jacobian jacobian (IndexType istate)
 Retrieve a jacobian proxy instance for a jacobian at a given index.
TrackStateProxy::Parameters parameters (IndexType parIdx)
const SurfacereferenceSurface (IndexType istate) const
 Get the reference surface for a track state.
void setReferenceSurface (IndexType istate, std::shared_ptr< const Surface > surface)
 Set the reference surface for a track state.
void setUncalibratedSourceLink (IndexType istate, SourceLink &&sourceLink)
 Set the uncalibrated source link for a track state.
void shareFrom (IndexType iself, IndexType iother, TrackStatePropMask shareSource, TrackStatePropMask shareTarget)
 Share a shareable component from between track state.
void unset (TrackStatePropMask target, IndexType istate)
 Unset an optional track state component.

Detailed Description

In-memory transient multi-trajectory implementation using std::vector as backend.

Constructor & Destructor Documentation

◆ VectorMultiTrajectory()

Acts::VectorMultiTrajectory::VectorMultiTrajectory ( )
default

Member Function Documentation

◆ addColumn_impl()

template<typename T>
void Acts::VectorMultiTrajectory::addColumn_impl ( std::string_view key)

◆ addTrackState_impl()

IndexType Acts::VectorMultiTrajectory::addTrackState_impl ( TrackStatePropMask mask = TrackStatePropMask::All,
IndexType iprevious = kInvalid )

◆ addTrackStateComponents_impl()

void Acts::VectorMultiTrajectory::addTrackStateComponents_impl ( IndexType istate,
TrackStatePropMask mask )

◆ allocateCalibrated_impl()

template<typename val_t, typename cov_t>
requires (Concepts::eigen_base_is_fixed_size<val_t> && Concepts::eigen_bases_have_same_num_rows<val_t, cov_t> && Concepts::eigen_base_is_square<cov_t> && Eigen::PlainObjectBase<val_t>::RowsAtCompileTime <= toUnderlying(eBoundSize))
void Acts::VectorMultiTrajectory::allocateCalibrated_impl ( IndexType istate,
const Eigen::DenseBase< val_t > & val,
const Eigen::DenseBase< cov_t > & cov )

◆ calibrated_impl() [1/2]

template<std::size_t measdim>
TrackStateProxy::Calibrated< measdim > Acts::VectorMultiTrajectory::calibrated_impl ( IndexType istate)

◆ calibrated_impl() [2/2]

template<std::size_t measdim>
ConstTrackStateProxy::ConstCalibrated< measdim > Acts::VectorMultiTrajectory::calibrated_impl ( IndexType istate) const

◆ calibratedCovariance_impl() [1/2]

template<std::size_t measdim>
TrackStateProxy::CalibratedCovariance< measdim > Acts::VectorMultiTrajectory::calibratedCovariance_impl ( IndexType istate)

◆ calibratedCovariance_impl() [2/2]

template<std::size_t measdim>
ConstTrackStateProxy::ConstCalibratedCovariance< measdim > Acts::VectorMultiTrajectory::calibratedCovariance_impl ( IndexType istate) const

◆ clear_impl()

void Acts::VectorMultiTrajectory::clear_impl ( )

◆ component_impl() [1/2]

std::any Acts::VectorMultiTrajectory::component_impl ( HashedString key,
IndexType istate )

◆ component_impl() [2/2]

std::any Acts::VectorMultiTrajectory::component_impl ( HashedString key,
IndexType istate ) const

◆ copyDynamicFrom_impl()

void Acts::VectorMultiTrajectory::copyDynamicFrom_impl ( IndexType dstIdx,
HashedString key,
const std::any & srcPtr )

◆ covariance_impl() [1/2]

TrackStateProxy::Covariance Acts::VectorMultiTrajectory::covariance_impl ( IndexType parIdx)

◆ covariance_impl() [2/2]

ConstTrackStateProxy::ConstCovariance Acts::VectorMultiTrajectory::covariance_impl ( IndexType parIdx) const

◆ has_impl()

bool Acts::VectorMultiTrajectory::has_impl ( HashedString key,
IndexType istate ) const

◆ hasColumn_impl()

bool Acts::VectorMultiTrajectory::hasColumn_impl ( HashedString key) const

◆ jacobian_impl() [1/2]

TrackStateProxy::Covariance Acts::VectorMultiTrajectory::jacobian_impl ( IndexType istate)

◆ jacobian_impl() [2/2]

ConstTrackStateProxy::ConstCovariance Acts::VectorMultiTrajectory::jacobian_impl ( IndexType istate) const

◆ parameters_impl() [1/2]

TrackStateProxy::Parameters Acts::VectorMultiTrajectory::parameters_impl ( IndexType parIdx)

◆ parameters_impl() [2/2]

ConstTrackStateProxy::ConstParameters Acts::VectorMultiTrajectory::parameters_impl ( IndexType parIdx) const

◆ reserve()

void Acts::VectorMultiTrajectory::reserve ( std::size_t n)

◆ setReferenceSurface_impl()

void Acts::VectorMultiTrajectory::setReferenceSurface_impl ( IndexType istate,
std::shared_ptr< const Surface > surface )

◆ setUncalibratedSourceLink_impl()

void Acts::VectorMultiTrajectory::setUncalibratedSourceLink_impl ( IndexType istate,
SourceLink && sourceLink )

◆ shareFrom_impl()

void Acts::VectorMultiTrajectory::shareFrom_impl ( IndexType iself,
IndexType iother,
TrackStatePropMask shareSource,
TrackStatePropMask shareTarget )

◆ size_impl()

IndexType Acts::VectorMultiTrajectory::size_impl ( ) const

◆ statistics()

Statistics Acts::VectorMultiTrajectory::statistics ( ) const

◆ unset_impl()

void Acts::VectorMultiTrajectory::unset_impl ( TrackStatePropMask target,
IndexType istate )