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

Base class for PODIO track containers. More...

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

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

Public Types

using ConstCovariance
 Const track covariance type.
using ConstParameters
 Const track parameters type.
using Covariance
 Mutable track covariance type.
using IndexType = Acts::TrackIndexType
 Track index type.
using Parameters
 Mutable track parameters type.

Static Public Attributes

static constexpr auto kInvalid = Acts::kTrackIndexInvalid
 Invalid track index.
static constexpr auto MeasurementSizeMax = Acts::kMeasurementSizeMax
 Maximum measurement size.

Protected Member Functions

 PodioTrackContainerBase (const PodioUtil::ConversionHelper &helper)
 Constructor.

Static Protected Member Functions

template<bool EnsureConst, typename T>
static std::any component_impl (T &instance, Acts::HashedString key, IndexType itrack)
 Get component implementation.
template<typename T>
static auto dynamicKeys_impl (T &instance)
 Get dynamic keys implementation.
template<typename T>
static Acts::ParticleHypothesis particleHypothesis_impl (T &instance, IndexType itrack)
 Get particle hypothesis implementation.
static void populateSurfaceBuffer (const PodioUtil::ConversionHelper &helper, const ActsPodioEdm::TrackCollection &collection, std::vector< std::shared_ptr< const Acts::Surface > > &surfaces) noexcept
 Populate surface buffer from track collection.

Protected Attributes

std::reference_wrapper< const PodioUtil::ConversionHelperm_helper
 Conversion helper.
std::vector< std::shared_ptr< const Acts::Surface > > m_surfaces
 Surface buffer.

Detailed Description

Base class for PODIO track containers.

Member Typedef Documentation

◆ ConstCovariance

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

Const track covariance type.

◆ ConstParameters

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

Const track parameters type.

◆ Covariance

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

Mutable track covariance type.

◆ Parameters

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

Mutable track parameters type.

Constructor & Destructor Documentation

◆ PodioTrackContainerBase()

ActsPlugins::PodioTrackContainerBase::PodioTrackContainerBase ( const PodioUtil::ConversionHelper & helper)
explicitprotected

Constructor.

Parameters
helperConversion helper

Member Function Documentation

◆ component_impl()

template<bool EnsureConst, typename T>
std::any ActsPlugins::PodioTrackContainerBase::component_impl ( T & instance,
Acts::HashedString key,
IndexType itrack )
staticprotected

Get component implementation.

Parameters
instanceContainer instance
keyComponent key
itrackTrack index
Returns
Component value

◆ dynamicKeys_impl()

template<typename T>
auto ActsPlugins::PodioTrackContainerBase::dynamicKeys_impl ( T & instance)
staticprotected

Get dynamic keys implementation.

Parameters
instanceContainer instance
Returns
Dynamic key range

◆ particleHypothesis_impl()

template<typename T>
Acts::ParticleHypothesis ActsPlugins::PodioTrackContainerBase::particleHypothesis_impl ( T & instance,
IndexType itrack )
staticprotected

Get particle hypothesis implementation.

Parameters
instanceContainer instance
itrackTrack index
Returns
Particle hypothesis

◆ populateSurfaceBuffer()

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

Populate surface buffer from track collection.

Parameters
helperConversion helper
collectionTrack collection
surfacesSurface buffer to populate