|
ACTS
Experiment-independent tracking
|
Proxy object to access a single point on the trajectory. More...
#include <Acts/EventData/TrackStateProxy.hpp>
Public Types | |
| template<std::size_t N> | |
| using | Calibrated = typename TrackStateTraits<N, false>::Calibrated |
| Map-type for a calibrated measurement vector, where the local measurement dimension is variable. | |
| template<std::size_t N> | |
| using | CalibratedCovariance |
| Map-type for a calibrated measurement covariance matrix, where the local measurement dimension is variable. | |
| template<std::size_t N> | |
| using | ConstCalibrated = typename TrackStateTraits<N, true>::Calibrated |
Same as Calibrated, but with const semantics. | |
| template<std::size_t N> | |
| using | ConstCalibratedCovariance |
| Same as CalibratedCovariance, but with const semantics. | |
| using | ConstCovariance = typename TrackStateTraits<M, true>::Covariance |
| Same as Covariance, but with const semantics. | |
| using | ConstEffectiveCalibrated |
Same as EffectiveCalibrated, but with const semantics. | |
| using | ConstEffectiveCalibratedCovariance |
| Same as EffectiveCalibratedCovariance, but with const semantics. | |
| using | ConstJacobian = typename TrackStateTraits<M, true>::Covariance |
| Jacobian shape is identical to Covariance. | |
| using | ConstParameters = typename TrackStateTraits<M, true>::Parameters |
| Same as Parameters, but with const semantics. | |
| using | ConstProxyType = TrackStateProxy<trajectory_t, M, true> |
| Alias for an associated const track state proxy, with the same backends. | |
| using | Covariance = typename TrackStateTraits<M, false>::Covariance |
| Map-type for a bound covariance. | |
| using | EffectiveCalibrated |
| Map-type for a measurement vector, where the local measurement dimension is variable. | |
| using | EffectiveCalibratedCovariance |
| Map-type for a measurement covariance matrix, where the local measurement dimension is variable. | |
| using | IndexType = TrackIndexType |
| The index type of the track state container. | |
| using | Jacobian = typename TrackStateTraits<M, false>::Covariance |
| Jacobian shape is identical to Covariance. | |
| using | Parameters = typename TrackStateTraits<M, false>::Parameters |
| Map-type for a bound parameter vector. | |
| using | Trajectory = trajectory_t |
| The track state container backend given as a template parameter. | |
| Public Types inherited from Acts::TrackStateProxyCommon< TrackStateProxy< trajectory_t, M, true >, true > | |
| 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 | |
| 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. | |
| auto & | container () |
| Get a mutable reference to the track state container backend. | |
| const auto & | container () const |
| Get a const reference to the track state container backend. | |
| 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 | hasColumn (HashedString key) const |
| Check if the track state has a specific dynamic 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 | hasSmoothed () const |
| Check for presence of smoothed track parameters. | |
| Covariance | jacobian () |
| Returns the jacobian from the previous trackstate to this one. | |
| ConstCovariance | jacobian () const |
| Returns the jacobian from the previous trackstate to this one. | |
| 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. | |
| TrackIndexType & | previous () |
| 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. | |
| 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. | |
| MultiTrajectory< Trajectory > & | trajectory () |
| Return a mutable reference to the underlying backend container. | |
| const MultiTrajectory< Trajectory > & | trajectory () const |
| Return a const reference to the underlying backend container. | |
| MutableTrackStateTypeMap | typeFlags () |
| Retrieve mutable track-state type flags. | |
| ConstTrackStateTypeMap | typeFlags () const |
| Retrieve the track-state type flags. | |
Constructors and assignment operator | |
| TrackStateProxy (const TrackStateProxy &other)=default | |
| Copy constructor: const to const or mutable to mutable. | |
| TrackStateProxy & | operator= (const TrackStateProxy &other)=default |
| Copy assignment operator: const to const or mutable to mutable. | |
| TrackStateProxy (const TrackStateProxy< Trajectory, M, false > &other) | |
| Constructor from mutable TrackStateProxy. | |
| TrackStateProxy & | operator= (const TrackStateProxy< Trajectory, M, false > &other) |
Assignment operator to from mutable TrackStateProxy. | |
Track state properties | |
Properties of the track state represented by Many of these methods come in a The track states each have an index in the track state container. The sequence of track states is implemented as a one or two-way linked list, which uses indices into the same container. Each track state has a During track finding and fitting, track states are usually appended to the sequence, populating the The track states have static, optional and dynamic properties. Static properties are always present, and can always be retrieved. Optional components use an extra indirection mechanism that coordinates with the backend to allow both not having the component set, or sharing it with other track states. An example is a branching trajectory from track finding which shares the same predicted parameter vector and associated covariance. Optional components are
They can be unset via unset, getMask can be used to check which components are present. The first four are shareable between track states via shareFrom. | |
| IndexType | index () const |
| Index within the trajectory. | |
| void | unset (TrackStatePropMask target) |
| Unset an optional track state component. | |
| void | addComponents (TrackStatePropMask mask) |
| Add additional components to the track state. | |
| const Surface & | referenceSurface () const |
| Reference surface. | |
| bool | hasReferenceSurface () const |
| Returns if the track state has a non nullptr surface associated. | |
| void | setReferenceSurface (std::shared_ptr< const Surface > srf) |
| Set the reference surface to a given value. | |
Track state measurement properties | |
Properties of the measurement associated with the track state represented. This consists of a vector and an associated square matrix of a measurement dimension which is between one and the size of the track parametrization. The measurement coordinate frame is required to be a strict subset of the bound track parametrization on the local geometry coordinate frame, i.e. using a pure projector matrix to convert from the bound parametrization to the measurement frame is possible. The track state stores the parameter vector and covariance, and the backend is given the possibility to do so in a jagged way, i.e. only storing the number of values needed. This requires calling allocateCalibrated before storing the measurements (even if it might be a no-op). The projector matrix is packed as a bitset, which is converted to a matrix on-demand (and therefore returned by value). The track state also includes a SourceLink which acts as a proxy to the original uncalibrated measurement that the calibrated measurement was derived from. It is set and returned by value, to allow unpacking / repacking by the backend, if needed. | |
| SourceLink | getUncalibratedSourceLink () const |
| Uncalibrated measurement in the form of a source link. | |
| void | setUncalibratedSourceLink (SourceLink &&sourceLink) |
| Set an uncalibrated source link. | |
| bool | hasUncalibratedSourceLink () const |
| Check if the point has an associated uncalibrated measurement. | |
| IndexType | calibratedSize () const |
| Return the (dynamic) number of dimensions stored for this measurement. | |
| void | allocateCalibrated (std::size_t measdim) |
Allocate storage to be able to store a measurement of size measdim. | |
Sharing and copying | |
Methods to share and copy track state components. Sharing means setting up more than one track state to point to the same component. Shareable components are
See TrackStatePropMask. | |
| void | shareFrom (TrackStatePropMask shareSource, TrackStatePropMask shareTarget) |
| Share a shareable component within this track state. | |
| template<bool ReadOnlyOther> requires (!ReadOnly) | |
| void | shareFrom (const TrackStateProxy< Trajectory, M, ReadOnlyOther > &other, TrackStatePropMask component) |
| Share a shareable component from another track state. | |
| template<bool ReadOnlyOther> requires (!ReadOnly) | |
| void | shareFrom (const TrackStateProxy< Trajectory, M, ReadOnlyOther > &other, TrackStatePropMask shareSource, TrackStatePropMask shareTarget) |
| Share a shareable component from another track state. | |
| template<TrackStateProxyConcept track_state_proxy_t> requires (!ReadOnly) | |
| void | copyFrom (const track_state_proxy_t &other, TrackStatePropMask mask=TrackStatePropMask::All, bool onlyAllocated=true) |
| Copy the contents of another track state proxy into this one. | |
Track state proxy Generic component access | |
| template<HashedString key> | |
| constexpr bool | has () const |
| Check if a component is set. | |
| constexpr bool | has (HashedString key) const |
| Check if a component is set. | |
| constexpr bool | has (std::string_view key) const |
| Check if a component is set. | |
| template<typename T, HashedString key> requires (!ReadOnly) | |
| constexpr T & | component () |
| Retrieve a mutable reference to a component. | |
| template<typename T> requires (!ReadOnly) | |
| constexpr T & | component (HashedString key) |
| Retrieve a mutable reference to a component. | |
| template<typename T> requires (!ReadOnly) | |
| constexpr T & | component (std::string_view key) |
| Retrieve a mutable reference to a component. | |
| template<typename T, HashedString key> | |
| constexpr const T & | component () const |
| Retrieve a const reference to a component. | |
| template<typename T> | |
| constexpr const T & | component (HashedString key) const |
| Retrieve a const reference to a component. | |
| template<typename T> | |
| constexpr const T & | component (std::string_view key) const |
| Retrieve a const reference to a component. | |
| Public Member Functions inherited from Acts::TrackStateProxyCommon< TrackStateProxy< trajectory_t, M, true >, true > | |
| 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, true >::Calibrated | calibrated () const |
| Access calibrated measurement data with compile-time dimension. | |
| TrackStateTraits< measdim, true >::CalibratedCovariance | calibratedCovariance () const |
| Access calibrated covariance data with compile-time dimension. | |
| float | chi2 () const |
| Retrieve the local chi2 contribution. | |
| ConstCovarianceMap | covariance () const |
| Access the best available covariance (smoothed, filtered, or predicted). | |
| ConstEffectiveCalibratedMap | effectiveCalibrated () const |
| Access the calibrated measurement values with runtime dimension. | |
| ConstEffectiveCalibratedCovarianceMap | effectiveCalibratedCovariance () const |
| Access the calibrated covariance with runtime dimension. | |
| ConstParametersMap | filtered () const |
| Access the filtered parameter vector. | |
| 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 () const |
| Retrieve the accumulated path length. | |
| ConstParametersMap | predicted () const |
| Access the predicted parameter vector. | |
| ConstCovarianceMap | predictedCovariance () const |
| Access the predicted covariance matrix. | |
| 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. | |
| void | setProjectorSubspaceIndices (const index_range_t &subspaceIndices) |
| Store subspace indices describing the measurement projector. | |
| ConstParametersMap | smoothed () const |
| Access the smoothed parameter vector. | |
| ConstCovarianceMap | smoothedCovariance () const |
| Access the smoothed covariance matrix. | |
| ConstTrackStateTypeMap | typeFlags () const |
| Retrieve the track-state type flags. | |
Static Public Attributes | |
| static constexpr IndexType | kInvalid = kTrackIndexInvalid |
| Sentinel value that indicates an invalid index. | |
| static constexpr bool | ReadOnly = read_only |
| Indicates whether this track state proxy is read-only or if it can be modified. | |
Protected Member Functions | |
| const double * | calibratedCovarianceData () const |
| double * | calibratedCovarianceDataMutable () |
| const double * | calibratedData () const |
| double * | calibratedDataMutable () |
| ConstCovariance | covarianceAtIndex (IndexType covIndex) const |
| Covariance | covarianceAtIndexMutable (IndexType covIndex) |
| ConstParameters | parametersAtIndex (IndexType parIndex) const |
| Parameters | parametersAtIndexMutable (IndexType parIndex) |
| Protected Member Functions inherited from Acts::TrackStateProxyCommon< TrackStateProxy< trajectory_t, M, true >, true > | |
| constexpr TrackStateProxy< trajectory_t, M, true > & | derived () |
Additional Inherited Members | |
| Protected Types inherited from Acts::TrackStateProxyCommon< TrackStateProxy< trajectory_t, M, true >, true > | |
| using | IndexType |
Proxy object to access a single point on the trajectory.
| SourceLink | Type to link back to an original measurement |
| M | Maximum number of measurement dimensions |
| read_only | true for read-only access to underlying storage |
| using Acts::TrackStateProxy< trajectory_t, M, read_only >::Calibrated = typename TrackStateTraits<N, false>::Calibrated |
Map-type for a calibrated measurement vector, where the local measurement dimension is variable.
| using Acts::TrackStateProxy< trajectory_t, M, read_only >::CalibratedCovariance |
Map-type for a calibrated measurement covariance matrix, where the local measurement dimension is variable.
| using Acts::TrackStateProxy< trajectory_t, M, read_only >::ConstCalibrated = typename TrackStateTraits<N, true>::Calibrated |
Same as Calibrated, but with const semantics.
| using Acts::TrackStateProxy< trajectory_t, M, read_only >::ConstCalibratedCovariance |
Same as CalibratedCovariance, but with const semantics.
| using Acts::TrackStateProxy< trajectory_t, M, read_only >::ConstCovariance = typename TrackStateTraits<M, true>::Covariance |
Same as Covariance, but with const semantics.
| using Acts::TrackStateProxy< trajectory_t, M, read_only >::ConstEffectiveCalibrated |
Same as EffectiveCalibrated, but with const semantics.
| using Acts::TrackStateProxy< trajectory_t, M, read_only >::ConstEffectiveCalibratedCovariance |
Same as EffectiveCalibratedCovariance, but with const semantics.
| using Acts::TrackStateProxy< trajectory_t, M, read_only >::ConstJacobian = typename TrackStateTraits<M, true>::Covariance |
Jacobian shape is identical to Covariance.
| using Acts::TrackStateProxy< trajectory_t, M, read_only >::ConstParameters = typename TrackStateTraits<M, true>::Parameters |
Same as Parameters, but with const semantics.
| using Acts::TrackStateProxy< trajectory_t, M, read_only >::ConstProxyType = TrackStateProxy<trajectory_t, M, true> |
Alias for an associated const track state proxy, with the same backends.
| using Acts::TrackStateProxy< trajectory_t, M, read_only >::Covariance = typename TrackStateTraits<M, false>::Covariance |
Map-type for a bound covariance.
This has reference semantics, i.e. points at a matrix by an internal pointer.
| using Acts::TrackStateProxy< trajectory_t, M, read_only >::EffectiveCalibrated |
Map-type for a measurement vector, where the local measurement dimension is variable.
| using Acts::TrackStateProxy< trajectory_t, M, read_only >::EffectiveCalibratedCovariance |
Map-type for a measurement covariance matrix, where the local measurement dimension is variable.
| using Acts::TrackStateProxy< trajectory_t, M, read_only >::IndexType = TrackIndexType |
The index type of the track state container.
| using Acts::TrackStateProxy< trajectory_t, M, read_only >::Jacobian = typename TrackStateTraits<M, false>::Covariance |
Jacobian shape is identical to Covariance.
| using Acts::TrackStateProxy< trajectory_t, M, read_only >::Parameters = typename TrackStateTraits<M, false>::Parameters |
Map-type for a bound parameter vector.
This has reference semantics, i.e. points at a matrix by an internal pointer.
| using Acts::TrackStateProxy< trajectory_t, M, read_only >::Trajectory = trajectory_t |
The track state container backend given as a template parameter.
|
default |
Copy constructor: const to const or mutable to mutable.
| other | The other TrackStateProxy to construct from |
|
explicit |
Constructor from mutable TrackStateProxy.
| other | The other TrackStateProxy to construct from |
| void Acts::TrackStateProxy< trajectory_t, M, read_only >::addComponents | ( | TrackStatePropMask | mask | ) |
Add additional components to the track state.
| mask | The bitmask that instructs which components to allocate |
| void Acts::TrackStateProxyCommon< TrackStateProxy< trajectory_t, M, 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.
| val_t | Eigen vector type holding calibrated values. |
| cov_t | Eigen matrix type holding the covariance. |
| val | Vector to copy into the calibrated storage. |
| cov | Covariance matrix to copy into the calibrated storage. |
| void Acts::TrackStateProxy< trajectory_t, M, read_only >::allocateCalibrated | ( | std::size_t | measdim | ) |
Allocate storage to be able to store a measurement of size measdim.
This must be called before setting the measurement content.
| measdim | Number of measurement dimensions to allocate |
| TrackStateTraits< measdim, false >::Calibrated Acts::TrackStateProxyCommon< TrackStateProxy< trajectory_t, M, read_only >, read_only >::calibrated | ( | ) |
Access calibrated measurement data with compile-time dimension.
| measdim | Measurement dimension. |
| TrackStateTraits< measdim, true >::Calibrated Acts::TrackStateProxyCommon< TrackStateProxy< trajectory_t, M, read_only >, read_only >::calibrated | ( | ) | const |
Access calibrated measurement data with compile-time dimension.
| measdim | Measurement dimension. |
| TrackStateTraits< measdim, false >::CalibratedCovariance Acts::TrackStateProxyCommon< TrackStateProxy< trajectory_t, M, read_only >, read_only >::calibratedCovariance | ( | ) |
Access calibrated covariance data with compile-time dimension.
| measdim | Measurement dimension. |
| TrackStateTraits< measdim, true >::CalibratedCovariance Acts::TrackStateProxyCommon< TrackStateProxy< trajectory_t, M, read_only >, read_only >::calibratedCovariance | ( | ) | const |
Access calibrated covariance data with compile-time dimension.
| measdim | Measurement dimension. |
|
protected |
|
protected |
|
protected |
|
protected |
| IndexType Acts::TrackStateProxy< trajectory_t, M, read_only >::calibratedSize | ( | ) | const |
Return the (dynamic) number of dimensions stored for this measurement.
| float & Acts::TrackStateProxyCommon< TrackStateProxy< trajectory_t, M, read_only >, read_only >::chi2 | ( | ) |
Retrieve a mutable reference to the local chi2 contribution.
| float Acts::TrackStateProxyCommon< TrackStateProxy< trajectory_t, M, read_only >, read_only >::chi2 | ( | ) | const |
Retrieve the local chi2 contribution.
|
constexpr |
Retrieve a mutable reference to a component.
| T | The type of the component to access |
| key | String key for the component to access |
key
|
constexpr |
Retrieve a const reference to a component.
| T | The type of the component to access |
| key | String key for the component to access |
key
|
constexpr |
Retrieve a mutable reference to a component.
| T | The type of the component to access |
| key | String key for the component to access |
key
|
constexpr |
Retrieve a const reference to a component.
| T | The type of the component to access |
| key | String key for the component to access |
key
|
constexpr |
Retrieve a mutable reference to a component.
| T | The type of the component to access |
| key | String key for the component to access |
key at runtime instead of compile-time key
|
constexpr |
Retrieve a const reference to a component.
| T | The type of the component to access |
| key | String key for the component to access |
key at runtime instead of compile-time key | auto & Acts::TrackStateProxy< trajectory_t, M, read_only >::container | ( | ) |
Get a mutable reference to the track state container backend.
| const auto & Acts::TrackStateProxy< trajectory_t, M, read_only >::container | ( | ) | const |
Get a const reference to the track state container backend.
| void Acts::TrackStateProxy< trajectory_t, M, read_only >::copyFrom | ( | const track_state_proxy_t & | other, |
| TrackStatePropMask | mask = TrackStatePropMask::All, | ||
| bool | onlyAllocated = true ) |
Copy the contents of another track state proxy into this one.
| other | The other track state to copy from |
| mask | An optional mask to determine what to copy from |
| onlyAllocated | Whether to only copy allocated components |
onlyAllocated is false, an exception is thrown. | ConstCovarianceMap Acts::TrackStateProxyCommon< TrackStateProxy< trajectory_t, M, read_only >, read_only >::covariance | ( | ) | const |
Access the best available covariance (smoothed, filtered, or predicted).
|
protected |
|
protected |
| EffectiveCalibratedMap Acts::TrackStateProxyCommon< TrackStateProxy< trajectory_t, M, read_only >, read_only >::effectiveCalibrated | ( | ) |
Access mutable calibrated measurement values with runtime dimension.
| ConstEffectiveCalibratedMap Acts::TrackStateProxyCommon< TrackStateProxy< trajectory_t, M, read_only >, read_only >::effectiveCalibrated | ( | ) | const |
Access the calibrated measurement values with runtime dimension.
| EffectiveCalibratedCovarianceMap Acts::TrackStateProxyCommon< TrackStateProxy< trajectory_t, M, read_only >, read_only >::effectiveCalibratedCovariance | ( | ) |
Access mutable calibrated covariance with runtime dimension.
| ConstEffectiveCalibratedCovarianceMap Acts::TrackStateProxyCommon< TrackStateProxy< trajectory_t, M, read_only >, read_only >::effectiveCalibratedCovariance | ( | ) | const |
Access the calibrated covariance with runtime dimension.
| ParametersMap Acts::TrackStateProxyCommon< TrackStateProxy< trajectory_t, M, read_only >, read_only >::filtered | ( | ) |
Access the filtered parameter vector.
| ConstParametersMap Acts::TrackStateProxyCommon< TrackStateProxy< trajectory_t, M, read_only >, read_only >::filtered | ( | ) | const |
Access the filtered parameter vector.
| CovarianceMap Acts::TrackStateProxyCommon< TrackStateProxy< trajectory_t, M, read_only >, read_only >::filteredCovariance | ( | ) |
Access the filtered covariance matrix.
| ConstCovarianceMap Acts::TrackStateProxyCommon< TrackStateProxy< trajectory_t, M, read_only >, read_only >::filteredCovariance | ( | ) | const |
Access the filtered covariance matrix.
| TrackStatePropMask Acts::TrackStateProxyCommon< TrackStateProxy< trajectory_t, M, read_only >, read_only >::getMask | ( | ) | const |
Compute the property mask describing which components are present.
| SourceLink Acts::TrackStateProxy< trajectory_t, M, read_only >::getUncalibratedSourceLink | ( | ) | const |
Uncalibrated measurement in the form of a source link.
Const version
|
constexpr |
Check if a component is set.
| key | Hashed string key to check for |
|
constexpr |
Check if a component is set.
| key | Hashed string key to check for |
|
constexpr |
Check if a component is set.
| key | String key to check for |
key at runtime instead of compile-time | bool Acts::TrackStateProxyCommon< TrackStateProxy< trajectory_t, M, read_only >, read_only >::hasCalibrated | ( | ) | const |
Check for presence of calibrated measurement data.
| bool Acts::TrackStateProxy< trajectory_t, M, read_only >::hasColumn | ( | HashedString | key | ) | const |
Check if the track state has a specific dynamic column.
| key | The hashed column key |
| bool Acts::TrackStateProxyCommon< TrackStateProxy< trajectory_t, M, read_only >, read_only >::hasFiltered | ( | ) | const |
Check for presence of filtered track parameters.
| bool Acts::TrackStateProxyCommon< TrackStateProxy< trajectory_t, M, read_only >, read_only >::hasJacobian | ( | ) | const |
Check for presence of a transport Jacobian.
| bool Acts::TrackStateProxyCommon< TrackStateProxy< trajectory_t, M, read_only >, read_only >::hasPredicted | ( | ) | const |
Check for presence of predicted track parameters.
| bool Acts::TrackStateProxyCommon< TrackStateProxy< trajectory_t, M, read_only >, read_only >::hasPrevious | ( | ) | const |
Check whether this state links to a previous state.
| bool Acts::TrackStateProxyCommon< TrackStateProxy< trajectory_t, M, read_only >, read_only >::hasProjector | ( | ) | const |
Check for presence of a measurement projector.
| bool Acts::TrackStateProxy< trajectory_t, M, read_only >::hasReferenceSurface | ( | ) | const |
Returns if the track state has a non nullptr surface associated.
| bool Acts::TrackStateProxyCommon< TrackStateProxy< trajectory_t, M, read_only >, read_only >::hasSmoothed | ( | ) | const |
Check for presence of smoothed track parameters.
| bool Acts::TrackStateProxy< trajectory_t, M, read_only >::hasUncalibratedSourceLink | ( | ) | const |
Check if the point has an associated uncalibrated measurement.
| IndexType Acts::TrackStateProxy< trajectory_t, M, read_only >::index | ( | ) | const |
Index within the trajectory.
| Covariance Acts::TrackStateProxy< trajectory_t, M, read_only >::jacobian | ( | ) |
Returns the jacobian from the previous trackstate to this one.
| ConstCovariance Acts::TrackStateProxy< trajectory_t, M, read_only >::jacobian | ( | ) | const |
Returns the jacobian from the previous trackstate to this one.
|
default |
Copy assignment operator: const to const or mutable to mutable.
| other | The other TrackStateProxy to assign from |
| TrackStateProxy & Acts::TrackStateProxy< trajectory_t, M, read_only >::operator= | ( | const TrackStateProxy< Trajectory, M, false > & | other | ) |
Assignment operator to from mutable TrackStateProxy.
| other | The other TrackStateProxy to assign from |
| ConstParametersMap Acts::TrackStateProxyCommon< TrackStateProxy< trajectory_t, M, read_only >, read_only >::parameters | ( | ) | const |
Access the best available parameters (smoothed, filtered, or predicted).
|
protected |
|
protected |
| double & Acts::TrackStateProxyCommon< TrackStateProxy< trajectory_t, M, read_only >, read_only >::pathLength | ( | ) |
Retrieve a mutable reference to the accumulated path length.
| double Acts::TrackStateProxyCommon< TrackStateProxy< trajectory_t, M, read_only >, read_only >::pathLength | ( | ) | const |
Retrieve the accumulated path length.
| ParametersMap Acts::TrackStateProxyCommon< TrackStateProxy< trajectory_t, M, read_only >, read_only >::predicted | ( | ) |
Access the predicted parameter vector.
| ConstParametersMap Acts::TrackStateProxyCommon< TrackStateProxy< trajectory_t, M, read_only >, read_only >::predicted | ( | ) | const |
Access the predicted parameter vector.
| CovarianceMap Acts::TrackStateProxyCommon< TrackStateProxy< trajectory_t, M, read_only >, read_only >::predictedCovariance | ( | ) |
Access the predicted covariance matrix.
| ConstCovarianceMap Acts::TrackStateProxyCommon< TrackStateProxy< trajectory_t, M, read_only >, read_only >::predictedCovariance | ( | ) | const |
Access the predicted covariance matrix.
| TrackIndexType & Acts::TrackStateProxyCommon< TrackStateProxy< trajectory_t, M, read_only >, read_only >::previous | ( | ) |
Retrieve a mutable reference to the previous track state index.
| TrackIndexType Acts::TrackStateProxyCommon< TrackStateProxy< trajectory_t, M, read_only >, read_only >::previous | ( | ) | const |
Retrieve the previous track state index in the linked trajectory.
| VariableBoundSubspaceHelper Acts::TrackStateProxyCommon< TrackStateProxy< trajectory_t, M, read_only >, read_only >::projectorSubspaceHelper | ( | ) | const |
Creates a variable size subspace helper.
| BoundSubspaceIndices Acts::TrackStateProxyCommon< TrackStateProxy< trajectory_t, M, read_only >, read_only >::projectorSubspaceIndices | ( | ) | const |
Decode the measurement projector indices.
| const Surface & Acts::TrackStateProxy< trajectory_t, M, read_only >::referenceSurface | ( | ) | const |
Reference surface.
| void Acts::TrackStateProxyCommon< TrackStateProxy< trajectory_t, M, read_only >, read_only >::setProjectorSubspaceIndices | ( | const index_range_t & | subspaceIndices | ) |
Store subspace indices describing the measurement projector.
| index_range_t | Range of indices to encode. |
| subspaceIndices | Collection of bound indices forming the projector rows. |
| void Acts::TrackStateProxy< trajectory_t, M, read_only >::setReferenceSurface | ( | std::shared_ptr< const Surface > | srf | ) |
Set the reference surface to a given value.
| srf | Shared pointer to the surface to set |
ReadOnly is false. | void Acts::TrackStateProxy< trajectory_t, M, read_only >::setUncalibratedSourceLink | ( | SourceLink && | sourceLink | ) |
Set an uncalibrated source link.
| sourceLink | The uncalibrated source link to set |
| void Acts::TrackStateProxy< trajectory_t, M, read_only >::shareFrom | ( | const TrackStateProxy< Trajectory, M, ReadOnlyOther > & | other, |
| TrackStatePropMask | component ) |
Share a shareable component from another track state.
| other | Track state proxy to share component from |
| component | Which component to share. |
MultiTrajectory instance | void Acts::TrackStateProxy< trajectory_t, M, read_only >::shareFrom | ( | const TrackStateProxy< Trajectory, M, ReadOnlyOther > & | other, |
| TrackStatePropMask | shareSource, | ||
| TrackStatePropMask | shareTarget ) |
Share a shareable component from another track state.
| other | Track state proxy to share component(s) from |
| shareSource | Which component to share from |
| shareTarget | Which component to share as. This can be be different from as shareSource, e.g. predicted can be shared as filtered. |
TrackStatePropMask. | void Acts::TrackStateProxy< trajectory_t, M, read_only >::shareFrom | ( | TrackStatePropMask | shareSource, |
| TrackStatePropMask | shareTarget ) |
Share a shareable component within this track state.
| shareSource | Which component to share from |
| shareTarget | Which component to share as. This should be different from as shareSource, e.g. predicted can be shared as filtered. |
| ParametersMap Acts::TrackStateProxyCommon< TrackStateProxy< trajectory_t, M, read_only >, read_only >::smoothed | ( | ) |
Access the smoothed parameter vector.
| ConstParametersMap Acts::TrackStateProxyCommon< TrackStateProxy< trajectory_t, M, read_only >, read_only >::smoothed | ( | ) | const |
Access the smoothed parameter vector.
| CovarianceMap Acts::TrackStateProxyCommon< TrackStateProxy< trajectory_t, M, read_only >, read_only >::smoothedCovariance | ( | ) |
Access the smoothed covariance matrix.
| ConstCovarianceMap Acts::TrackStateProxyCommon< TrackStateProxy< trajectory_t, M, read_only >, read_only >::smoothedCovariance | ( | ) | const |
Access the smoothed covariance matrix.
| MultiTrajectory< Trajectory > & Acts::TrackStateProxy< trajectory_t, M, read_only >::trajectory | ( | ) |
Return a mutable reference to the underlying backend container.
| const MultiTrajectory< Trajectory > & Acts::TrackStateProxy< trajectory_t, M, read_only >::trajectory | ( | ) | const |
Return a const reference to the underlying backend container.
| MutableTrackStateTypeMap Acts::TrackStateProxyCommon< TrackStateProxy< trajectory_t, M, read_only >, read_only >::typeFlags | ( | ) |
Retrieve mutable track-state type flags.
| ConstTrackStateTypeMap Acts::TrackStateProxyCommon< TrackStateProxy< trajectory_t, M, read_only >, read_only >::typeFlags | ( | ) | const |
Retrieve the track-state type flags.
| void Acts::TrackStateProxy< trajectory_t, M, read_only >::unset | ( | TrackStatePropMask | target | ) |
Unset an optional track state component.
| target | The component to unset |
|
staticconstexpr |
Sentinel value that indicates an invalid index.
|
staticconstexpr |
Indicates whether this track state proxy is read-only or if it can be modified.