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

Const version of VectorMultiTrajectory. More...

#include <Acts/EventData/VectorMultiTrajectory.hpp>

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

Public Member Functions

 ConstVectorMultiTrajectory (const VectorMultiTrajectory &other)
 Constructor from VectorMultiTrajectory.
 ConstVectorMultiTrajectory (VectorMultiTrajectory &&other)
 Move constructor from VectorMultiTrajectory.
template<std::size_t measdim>
ConstTrackStateProxy::ConstCalibrated< measdim > calibrated_impl (IndexType istate) const
 Get calibrated measurement for a track state.
template<std::size_t measdim>
ConstTrackStateProxy::ConstCalibratedCovariance< measdim > calibratedCovariance_impl (IndexType istate) const
 Get calibrated measurement covariance for a track state.
std::any component_impl (HashedString key, IndexType istate) const
 Get a component from a track state.
ConstTrackStateProxy::ConstCovariance covariance_impl (IndexType parIdx) const
 Get covariance for a track state.
bool has_impl (HashedString key, IndexType istate) const
 Check if a track state has a component.
bool hasColumn_impl (HashedString key) const
 Check if a column exists.
ConstTrackStateProxy::ConstCovariance jacobian_impl (IndexType istate) const
 Get jacobian for a track state.
ConstTrackStateProxy::ConstParameters parameters_impl (IndexType parIdx) const
 Get parameters for a track state.
IndexType size_impl () const
 Get the number of track states.
Statistics statistics () const
 Get statistics about this multi trajectory.
Public Member Functions inherited from Acts::MultiTrajectory< ConstVectorMultiTrajectory >
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< ConstVectorMultiTrajectory >
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< ConstVectorMultiTrajectory >
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< ConstVectorMultiTrajectory >
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)
 Get covariance for a track state.
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)
 Get parameters for a track state.
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

Const version of VectorMultiTrajectory.

Constructor & Destructor Documentation

◆ ConstVectorMultiTrajectory() [1/2]

Acts::ConstVectorMultiTrajectory::ConstVectorMultiTrajectory ( const VectorMultiTrajectory & other)
explicit

Constructor from VectorMultiTrajectory.

Parameters
otherVectorMultiTrajectory to construct from

◆ ConstVectorMultiTrajectory() [2/2]

Acts::ConstVectorMultiTrajectory::ConstVectorMultiTrajectory ( VectorMultiTrajectory && other)
explicit

Move constructor from VectorMultiTrajectory.

Parameters
otherVectorMultiTrajectory to move from

Member Function Documentation

◆ calibrated_impl()

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

Get calibrated measurement for a track state.

Parameters
istateIndex of the track state
Returns
Calibrated measurement

◆ calibratedCovariance_impl()

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

Get calibrated measurement covariance for a track state.

Parameters
istateIndex of the track state
Returns
Calibrated measurement covariance

◆ component_impl()

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

Get a component from a track state.

Parameters
keyThe component key
istateThe track state index
Returns
The component value

◆ covariance_impl()

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

Get covariance for a track state.

Parameters
parIdxThe parameter index
Returns
Covariance matrix

◆ has_impl()

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

Check if a track state has a component.

Parameters
keyThe component key
istateThe track state index
Returns
True if the component exists

◆ hasColumn_impl()

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

Check if a column exists.

Parameters
keyThe column key
Returns
True if the column exists

◆ jacobian_impl()

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

Get jacobian for a track state.

Parameters
istateThe track state index
Returns
Jacobian matrix

◆ parameters_impl()

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

Get parameters for a track state.

Parameters
parIdxThe parameter index
Returns
Parameters vector

◆ size_impl()

IndexType Acts::ConstVectorMultiTrajectory::size_impl ( ) const

Get the number of track states.

Returns
Number of track states

◆ statistics()

Statistics Acts::ConstVectorMultiTrajectory::statistics ( ) const

Get statistics about this multi trajectory.

Returns
Statistics object