ACTS
Experiment-independent tracking
Loading...
Searching...
No Matches
ActsPlugins::PodioTrackStateContainerBase Class Reference

Base class for PODIO track state containers. More...

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

Inheritance diagram for ActsPlugins::PodioTrackStateContainerBase:
[legend]

Public Types

template<std::size_t M>
using Calibrated
 Calibrated measurement vector type.
template<std::size_t M>
using CalibratedCovariance
 Calibrated measurement covariance matrix type.
template<std::size_t M>
using ConstCalibrated
 Const calibrated measurement vector type.
template<std::size_t M>
using ConstCalibratedCovariance
 Const calibrated measurement covariance matrix type.
using ConstCovariance
 Const covariance map type.
using ConstParameters
 Const parameters map type.
using Covariance
 Mutable covariance map type.
using Parameters
 Mutable parameters map type.

Static Protected Member Functions

template<bool EnsureConst, typename T>
static std::any component_impl (T &instance, Acts::HashedString key, Acts::TrackIndexType istate)
 Get a component from a track state.
template<typename T>
static constexpr bool has_impl (T &instance, Acts::HashedString key, Acts::TrackIndexType istate)
 Check if a component exists for a track state.
template<typename T>
static constexpr bool hasColumn_impl (T &instance, Acts::HashedString key)
 Check if a column exists.
static void populateSurfaceBuffer (const PodioUtil::ConversionHelper &helper, const ActsPodioEdm::TrackStateCollection &collection, std::vector< std::shared_ptr< const Acts::Surface > > &surfaces) noexcept
 Populate surface buffer from track state collection.

Detailed Description

Base class for PODIO track state containers.

Member Typedef Documentation

◆ Calibrated

Initial value:
typename Acts::detail_tsp::FixedSizeTypes<M, false>::CoefficientsMap

Calibrated measurement vector type.

◆ CalibratedCovariance

Initial value:
typename Acts::detail_tsp::FixedSizeTypes<M, false>::CovarianceMap

Calibrated measurement covariance matrix type.

◆ ConstCalibrated

Initial value:
typename Acts::detail_tsp::FixedSizeTypes<M, true>::CoefficientsMap

Const calibrated measurement vector type.

◆ ConstCalibratedCovariance

Initial value:
typename Acts::detail_tsp::FixedSizeTypes<M, true>::CovarianceMap

Const calibrated measurement covariance matrix type.

◆ ConstCovariance

Initial value:
typename Acts::detail_tsp::FixedSizeTypes<Acts::eBoundSize,
true>::CovarianceMap

Const covariance map type.

◆ ConstParameters

Initial value:
typename Acts::detail_tsp::FixedSizeTypes<Acts::eBoundSize,
true>::CoefficientsMap

Const parameters map type.

◆ Covariance

Initial value:
typename Acts::detail_tsp::FixedSizeTypes<Acts::eBoundSize,
false>::CovarianceMap

Mutable covariance map type.

◆ Parameters

Initial value:
typename Acts::detail_tsp::FixedSizeTypes<Acts::eBoundSize,
false>::CoefficientsMap

Mutable parameters map type.

Member Function Documentation

◆ component_impl()

template<bool EnsureConst, typename T>
std::any ActsPlugins::PodioTrackStateContainerBase::component_impl ( T & instance,
Acts::HashedString key,
Acts::TrackIndexType istate )
staticprotected

Get a component from a track state.

Parameters
instanceContainer instance
keyComponent key
istateTrack state index
Returns
Component value as std::any

◆ has_impl()

template<typename T>
constexpr bool ActsPlugins::PodioTrackStateContainerBase::has_impl ( T & instance,
Acts::HashedString key,
Acts::TrackIndexType istate )
staticconstexprprotected

Check if a component exists for a track state.

Parameters
instanceContainer instance
keyComponent key
istateTrack state index
Returns
True if component exists

◆ hasColumn_impl()

template<typename T>
constexpr bool ActsPlugins::PodioTrackStateContainerBase::hasColumn_impl ( T & instance,
Acts::HashedString key )
staticconstexprprotected

Check if a column exists.

Parameters
instanceContainer instance
keyColumn key
Returns
True if column exists

◆ populateSurfaceBuffer()

void ActsPlugins::PodioTrackStateContainerBase::populateSurfaceBuffer ( const PodioUtil::ConversionHelper & helper,
const ActsPodioEdm::TrackStateCollection & collection,
std::vector< std::shared_ptr< const Acts::Surface > > & surfaces )
staticprotectednoexcept

Populate surface buffer from track state collection.

Parameters
helperConversion helper
collectionTrack state collection
surfacesOutput surface buffer