ACTS
Experiment-independent tracking
Loading...
Searching...
No Matches
ActsPlugins::MutablePodioTrackStateContainer Class Referencefinal

#include </home/runner/work/acts/acts/Plugins/EDM4hep/include/ActsPlugins/EDM4hep/PodioTrackStateContainer.hpp>

Inheritance diagram for ActsPlugins::MutablePodioTrackStateContainer:
[legend]
Collaboration diagram for ActsPlugins::MutablePodioTrackStateContainer:
[legend]

Public Member Functions

 MutablePodioTrackStateContainer (PodioUtil::ConversionHelper &helper)
template<typename T>
constexpr void addColumn_impl (std::string_view key)
IndexType addTrackState_impl (Acts::TrackStatePropMask mask=Acts::TrackStatePropMask::All, Acts::TrackIndexType iprevious=Acts::kTrackIndexInvalid)
void addTrackStateComponents_impl (IndexType istate, Acts::TrackStatePropMask mask)
template<typename val_t, typename cov_t>
requires (Acts::Concepts::eigen_base_is_fixed_size<val_t> && Eigen::PlainObjectBase<val_t>::RowsAtCompileTime <= toUnderlying(Acts::eBoundSize) && Acts::Concepts::eigen_bases_have_same_num_rows<val_t, cov_t> && Acts::Concepts::eigen_base_is_square<cov_t>)
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 index)
template<std::size_t measdim>
ConstTrackStateProxy::ConstCalibrated< measdim > calibrated_impl (IndexType index) const
template<std::size_t measdim>
TrackStateProxy::CalibratedCovariance< measdim > calibratedCovariance_impl (IndexType index)
template<std::size_t measdim>
ConstTrackStateProxy::ConstCalibratedCovariance< measdim > calibratedCovariance_impl (IndexType index) const
Acts::TrackIndexType calibratedSize_impl (IndexType istate) const
void clear_impl ()
std::any component_impl (Acts::HashedString key, IndexType istate)
std::any component_impl (Acts::HashedString key, IndexType istate) const
void copyDynamicFrom_impl (IndexType dstIdx, Acts::HashedString key, const std::any &srcPtr)
Covariance covariance_impl (IndexType istate)
ConstCovariance covariance_impl (IndexType istate) const
Acts::detail::DynamicKeyRange< podio_detail::DynamicColumnBase > dynamicKeys_impl () const
Acts::SourceLink getUncalibratedSourceLink_impl (IndexType istate) const
constexpr bool has_impl (Acts::HashedString key, IndexType istate) const
constexpr bool hasColumn_impl (Acts::HashedString key) const
Covariance jacobian_impl (IndexType istate)
ConstCovariance jacobian_impl (IndexType istate) const
Parameters parameters_impl (IndexType istate)
ConstParameters parameters_impl (IndexType istate) const
const Acts::SurfacereferenceSurface_impl (IndexType istate) const
void releaseInto (podio::Frame &frame, const std::string &suffix="")
void setReferenceSurface_impl (IndexType istate, std::shared_ptr< const Acts::Surface > surface)
void setUncalibratedSourceLink_impl (IndexType istate, const Acts::SourceLink &sourceLink)
void shareFrom_impl (Acts::TrackIndexType iself, Acts::TrackIndexType iother, Acts::TrackStatePropMask shareSource, Acts::TrackStatePropMask shareTarget)
IndexType size_impl () const
void unset_impl (Acts::TrackStatePropMask target, Acts::TrackIndexType istate)
Public Member Functions inherited from Acts::MultiTrajectory< MutablePodioTrackStateContainer >
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 ActsPlugins::PodioTrackStateContainerBase
using ConstCovariance
using ConstParameters
using Covariance
using Parameters
Public Types inherited from Acts::MultiTrajectory< MutablePodioTrackStateContainer >
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< MutablePodioTrackStateContainer >
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< MutablePodioTrackStateContainer >
 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.
Static Protected Member Functions inherited from ActsPlugins::PodioTrackStateContainerBase
template<bool EnsureConst, typename T>
static std::any component_impl (T &instance, Acts::HashedString key, Acts::TrackIndexType istate)
template<typename T>
static constexpr bool has_impl (T &instance, Acts::HashedString key, Acts::TrackIndexType istate)
template<typename T>
static constexpr bool hasColumn_impl (T &instance, Acts::HashedString key)
static void populateSurfaceBuffer (const PodioUtil::ConversionHelper &helper, const ActsPodioEdm::TrackStateCollection &collection, std::vector< std::shared_ptr< const Acts::Surface > > &surfaces) noexcept

Constructor & Destructor Documentation

◆ MutablePodioTrackStateContainer()

ActsPlugins::MutablePodioTrackStateContainer::MutablePodioTrackStateContainer ( PodioUtil::ConversionHelper & helper)
explicit

Member Function Documentation

◆ addColumn_impl()

template<typename T>
void ActsPlugins::MutablePodioTrackStateContainer::addColumn_impl ( std::string_view key)
constexpr

◆ addTrackState_impl()

IndexType ActsPlugins::MutablePodioTrackStateContainer::addTrackState_impl ( Acts::TrackStatePropMask mask = Acts::TrackStatePropMask::All,
Acts::TrackIndexType iprevious = Acts::kTrackIndexInvalid )

◆ addTrackStateComponents_impl()

void ActsPlugins::MutablePodioTrackStateContainer::addTrackStateComponents_impl ( IndexType istate,
Acts::TrackStatePropMask mask )

◆ allocateCalibrated_impl()

template<typename val_t, typename cov_t>
requires (Acts::Concepts::eigen_base_is_fixed_size<val_t> && Eigen::PlainObjectBase<val_t>::RowsAtCompileTime <= toUnderlying(Acts::eBoundSize) && Acts::Concepts::eigen_bases_have_same_num_rows<val_t, cov_t> && Acts::Concepts::eigen_base_is_square<cov_t>)
void ActsPlugins::MutablePodioTrackStateContainer::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 > ActsPlugins::MutablePodioTrackStateContainer::calibrated_impl ( IndexType index)

◆ calibrated_impl() [2/2]

template<std::size_t measdim>
ConstTrackStateProxy::ConstCalibrated< measdim > ActsPlugins::MutablePodioTrackStateContainer::calibrated_impl ( IndexType index) const

◆ calibratedCovariance_impl() [1/2]

template<std::size_t measdim>
TrackStateProxy::CalibratedCovariance< measdim > ActsPlugins::MutablePodioTrackStateContainer::calibratedCovariance_impl ( IndexType index)

◆ calibratedCovariance_impl() [2/2]

template<std::size_t measdim>
ConstTrackStateProxy::ConstCalibratedCovariance< measdim > ActsPlugins::MutablePodioTrackStateContainer::calibratedCovariance_impl ( IndexType index) const

◆ calibratedSize_impl()

Acts::TrackIndexType ActsPlugins::MutablePodioTrackStateContainer::calibratedSize_impl ( IndexType istate) const

◆ clear_impl()

void ActsPlugins::MutablePodioTrackStateContainer::clear_impl ( )

◆ component_impl() [1/2]

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

◆ component_impl() [2/2]

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

◆ copyDynamicFrom_impl()

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

◆ covariance_impl() [1/2]

Covariance ActsPlugins::MutablePodioTrackStateContainer::covariance_impl ( IndexType istate)

◆ covariance_impl() [2/2]

ConstCovariance ActsPlugins::MutablePodioTrackStateContainer::covariance_impl ( IndexType istate) const

◆ dynamicKeys_impl()

Acts::detail::DynamicKeyRange< podio_detail::DynamicColumnBase > ActsPlugins::MutablePodioTrackStateContainer::dynamicKeys_impl ( ) const

◆ getUncalibratedSourceLink_impl()

Acts::SourceLink ActsPlugins::MutablePodioTrackStateContainer::getUncalibratedSourceLink_impl ( IndexType istate) const

◆ has_impl()

bool ActsPlugins::MutablePodioTrackStateContainer::has_impl ( Acts::HashedString key,
IndexType istate ) const
constexpr

◆ hasColumn_impl()

bool ActsPlugins::MutablePodioTrackStateContainer::hasColumn_impl ( Acts::HashedString key) const
constexpr

◆ jacobian_impl() [1/2]

Covariance ActsPlugins::MutablePodioTrackStateContainer::jacobian_impl ( IndexType istate)

◆ jacobian_impl() [2/2]

ConstCovariance ActsPlugins::MutablePodioTrackStateContainer::jacobian_impl ( IndexType istate) const

◆ parameters_impl() [1/2]

Parameters ActsPlugins::MutablePodioTrackStateContainer::parameters_impl ( IndexType istate)

◆ parameters_impl() [2/2]

ConstParameters ActsPlugins::MutablePodioTrackStateContainer::parameters_impl ( IndexType istate) const

◆ referenceSurface_impl()

const Acts::Surface * ActsPlugins::MutablePodioTrackStateContainer::referenceSurface_impl ( IndexType istate) const

◆ releaseInto()

void ActsPlugins::MutablePodioTrackStateContainer::releaseInto ( podio::Frame & frame,
const std::string & suffix = "" )

◆ setReferenceSurface_impl()

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

◆ setUncalibratedSourceLink_impl()

void ActsPlugins::MutablePodioTrackStateContainer::setUncalibratedSourceLink_impl ( IndexType istate,
const Acts::SourceLink & sourceLink )

◆ shareFrom_impl()

void ActsPlugins::MutablePodioTrackStateContainer::shareFrom_impl ( Acts::TrackIndexType iself,
Acts::TrackIndexType iother,
Acts::TrackStatePropMask shareSource,
Acts::TrackStatePropMask shareTarget )

◆ size_impl()

IndexType ActsPlugins::MutablePodioTrackStateContainer::size_impl ( ) const

◆ unset_impl()

void ActsPlugins::MutablePodioTrackStateContainer::unset_impl ( Acts::TrackStatePropMask target,
Acts::TrackIndexType istate )