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 Public Member Functions

static std::string trackerHitsKey (const std::string &prefix)
 Collection name key for tracker hits in a frame.
static std::string trackStateHitLinksKey (const std::string &prefix)
 Collection name key for track state–hit links in a frame.
static std::string trackStateJacobiansKey (const std::string &prefix)
 Collection name key for track state Jacobians in a frame.
static std::string trackStateParametersKey (const std::string &prefix)
 Collection name key for track state parameters in a frame.
static std::string trackStatesKey (const std::string &prefix)
 Collection name key for track states in a frame.

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 Acts::SourceLink getUncalibratedSourceLink_impl (T &instance, Acts::TrackIndexType istate)
 Get the uncalibrated source link for 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.
template<typename T>
static bool hasUncalibratedSourceLink_impl (T &instance, const ActsPodioEdm::TrackState &trackState)
 Check if a track state has an uncalibrated source link.
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

◆ getUncalibratedSourceLink_impl()

template<typename T>
Acts::SourceLink ActsPlugins::PodioTrackStateContainerBase::getUncalibratedSourceLink_impl ( T & instance,
Acts::TrackIndexType istate )
staticprotected

Get the uncalibrated source link for a track state.

Parameters
instanceContainer instance
istateTrack state index
Returns
Uncalibrated source link

◆ 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

◆ hasUncalibratedSourceLink_impl()

template<typename T>
bool ActsPlugins::PodioTrackStateContainerBase::hasUncalibratedSourceLink_impl ( T & instance,
const ActsPodioEdm::TrackState & trackState )
staticprotected

Check if a track state has an uncalibrated source link.

Parameters
instanceContainer instance
trackStateThe track state to check
Returns
True if the track state has an uncalibrated source link

◆ 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

◆ trackerHitsKey()

std::string ActsPlugins::PodioTrackStateContainerBase::trackerHitsKey ( const std::string & prefix)
static

Collection name key for tracker hits in a frame.

Parameters
prefixBase name
Returns
Frame key for the tracker hits collection

◆ trackStateHitLinksKey()

std::string ActsPlugins::PodioTrackStateContainerBase::trackStateHitLinksKey ( const std::string & prefix)
static

Collection name key for track state–hit links in a frame.

Parameters
prefixBase name
Returns
Frame key for the track state hit links collection

◆ trackStateJacobiansKey()

std::string ActsPlugins::PodioTrackStateContainerBase::trackStateJacobiansKey ( const std::string & prefix)
static

Collection name key for track state Jacobians in a frame.

Parameters
prefixBase name
Returns
Frame key for the track state Jacobians collection

◆ trackStateParametersKey()

std::string ActsPlugins::PodioTrackStateContainerBase::trackStateParametersKey ( const std::string & prefix)
static

Collection name key for track state parameters in a frame.

Parameters
prefixBase name
Returns
Frame key for the track state parameters collection

◆ trackStatesKey()

std::string ActsPlugins::PodioTrackStateContainerBase::trackStatesKey ( const std::string & prefix)
static

Collection name key for track states in a frame.

Parameters
prefixBase name (e.g. output collection name)
Returns
Frame key for the track states collection