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

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

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

Public Member Functions

 ConstPodioTrackStateContainer (const MutablePodioTrackStateContainer &other)
 Construct a const track state container from a mutable.
 ConstPodioTrackStateContainer (const PodioUtil::ConversionHelper &helper, const ActsPodioEdm::TrackStateCollection &trackStates, const ActsPodioEdm::BoundParametersCollection &params, const ActsPodioEdm::JacobianCollection &jacs)
 ConstPodioTrackStateContainer (const PodioUtil::ConversionHelper &helper, const podio::Frame &frame, const std::string &suffix="")
template<std::size_t measdim>
ConstTrackStateProxy::ConstCalibrated< measdim > calibrated_impl (IndexType index) const
template<std::size_t measdim>
ConstTrackStateProxy::ConstCalibratedCovariance< measdim > calibratedCovariance_impl (IndexType index) const
Acts::TrackIndexType calibratedSize_impl (IndexType istate) const
std::any component_impl (Acts::HashedString key, IndexType istate) const
ConstCovariance covariance_impl (IndexType istate) const
Acts::detail::DynamicKeyRange< podio_detail::ConstDynamicColumnBase > 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
ConstCovariance jacobian_impl (IndexType istate) const
ConstParameters parameters_impl (IndexType istate) const
const Acts::SurfacereferenceSurface_impl (IndexType istate) const
IndexType size_impl () const
Public Member Functions inherited from Acts::MultiTrajectory< ConstPodioTrackStateContainer >
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< ConstPodioTrackStateContainer >
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< ConstPodioTrackStateContainer >
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< ConstPodioTrackStateContainer >
 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

◆ ConstPodioTrackStateContainer() [1/2]

ActsPlugins::ConstPodioTrackStateContainer::ConstPodioTrackStateContainer ( const PodioUtil::ConversionHelper & helper,
const ActsPodioEdm::TrackStateCollection & trackStates,
const ActsPodioEdm::BoundParametersCollection & params,
const ActsPodioEdm::JacobianCollection & jacs )

◆ ConstPodioTrackStateContainer() [2/2]

ActsPlugins::ConstPodioTrackStateContainer::ConstPodioTrackStateContainer ( const PodioUtil::ConversionHelper & helper,
const podio::Frame & frame,
const std::string & suffix = "" )

Member Function Documentation

◆ calibrated_impl()

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

◆ calibratedCovariance_impl()

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

◆ calibratedSize_impl()

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

◆ component_impl()

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

◆ covariance_impl()

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

◆ dynamicKeys_impl()

Acts::detail::DynamicKeyRange< podio_detail::ConstDynamicColumnBase > ActsPlugins::ConstPodioTrackStateContainer::dynamicKeys_impl ( ) const

◆ getUncalibratedSourceLink_impl()

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

◆ has_impl()

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

◆ hasColumn_impl()

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

◆ jacobian_impl()

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

◆ parameters_impl()

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

◆ referenceSurface_impl()

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

◆ size_impl()

IndexType ActsPlugins::ConstPodioTrackStateContainer::size_impl ( ) const