|
ACTS
Experiment-independent tracking
|
Mutable Podio-based track container implementation. More...
#include </home/runner/work/acts/acts/Plugins/EDM4hep/include/ActsPlugins/EDM4hep/PodioTrackContainer.hpp>
Public Member Functions | |
| template<template< typename... > class other_holder_t> | |
| MutablePodioTrackContainer (const ConstPodioTrackContainer< other_holder_t > &other) | |
| Constructor from const container. | |
| MutablePodioTrackContainer (const MutablePodioTrackContainer &other) | |
| Copy constructor. | |
| MutablePodioTrackContainer (const PodioUtil::ConversionHelper &helper, ActsPodioEdm::TrackCollection &collection) | |
| Constructor from reference (for RefHolder). | |
| MutablePodioTrackContainer (const PodioUtil::ConversionHelper &helper, holder_t< ActsPodioEdm::TrackCollection > collection) | |
| Constructor. | |
| MutablePodioTrackContainer (MutablePodioTrackContainer &&other)=default | |
| Move constructor. | |
| template<typename T> | |
| constexpr void | addColumn_impl (std::string_view key) |
| Add a column. | |
| IndexType | addTrack_impl () |
| Add a new track. | |
| void | clear () |
| Clear all tracks. | |
| std::any | component_impl (Acts::HashedString key, IndexType itrack) |
| Access component. | |
| std::any | component_impl (Acts::HashedString key, IndexType itrack) const |
| Access component (const). | |
| void | copyDynamicFrom_impl (IndexType dstIdx, Acts::HashedString key, const std::any &srcPtr) |
| Copy dynamic column from source. | |
| Covariance | covariance (IndexType itrack) |
| Get track covariance. | |
| ConstCovariance | covariance (IndexType itrack) const |
| Get track covariance (const). | |
| Acts::detail::DynamicKeyRange< podio_detail::DynamicColumnBase > | dynamicKeys_impl () const |
| Get dynamic keys. | |
| void | ensureDynamicColumns_impl (const MutablePodioTrackContainer &other) |
| Ensure dynamic columns match other container. | |
| bool | hasColumn_impl (Acts::HashedString key) const |
| Check if column exists. | |
| Parameters | parameters (IndexType itrack) |
| Get track parameters. | |
| ConstParameters | parameters (IndexType itrack) const |
| Get track parameters (const). | |
| Acts::ParticleHypothesis | particleHypothesis_impl (IndexType itrack) const |
| Get particle hypothesis. | |
| const Acts::Surface * | referenceSurface_impl (IndexType itrack) const |
| Get reference surface. | |
| void | releaseInto (podio::Frame &frame, const std::string &suffix="") |
| Release into frame. | |
| void | removeTrack_impl (IndexType itrack) |
| Remove a track. | |
| void | reserve (IndexType) |
| Reserve storage. | |
| void | setParticleHypothesis_impl (IndexType itrack, const Acts::ParticleHypothesis &particleHypothesis) |
| Set particle hypothesis. | |
| void | setReferenceSurface_impl (IndexType itrack, std::shared_ptr< const Acts::Surface > surface) |
| Set reference surface. | |
| std::size_t | size_impl () const |
| Get container size. | |
| ActsPodioEdm::TrackCollection & | trackCollection () |
| Get track collection. | |
Additional Inherited Members | |
| Public Types inherited from ActsPlugins::PodioTrackContainerBase | |
| 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 inherited from ActsPlugins::PodioTrackContainerBase | |
| static constexpr auto | kInvalid = Acts::kTrackIndexInvalid |
| Invalid track index. | |
| static constexpr auto | MeasurementSizeMax = Acts::kMeasurementSizeMax |
| Maximum measurement size. | |
| Protected Member Functions inherited from ActsPlugins::PodioTrackContainerBase | |
| PodioTrackContainerBase (const PodioUtil::ConversionHelper &helper) | |
| Constructor. | |
| Static Protected Member Functions inherited from ActsPlugins::PodioTrackContainerBase | |
| 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 inherited from ActsPlugins::PodioTrackContainerBase | |
| std::reference_wrapper< const PodioUtil::ConversionHelper > | m_helper |
| Conversion helper. | |
| std::vector< std::shared_ptr< const Acts::Surface > > | m_surfaces |
| Surface buffer. | |
Mutable Podio-based track container implementation.
|
explicit |
Constructor.
| helper | Conversion helper |
| collection | Track collection |
|
explicit |
Constructor from reference (for RefHolder).
| helper | Conversion helper |
| collection | Track collection reference |
| ActsPlugins::MutablePodioTrackContainer< holder_t >::MutablePodioTrackContainer | ( | const MutablePodioTrackContainer< holder_t > & | other | ) |
Copy constructor.
| other | Source container |
|
default |
Move constructor.
| other | Source container |
|
explicit |
Constructor from const container.
| other | Source container |
|
constexpr |
Add a column.
| T | Column value type |
| key | Column key |
| IndexType ActsPlugins::MutablePodioTrackContainer< holder_t >::addTrack_impl | ( | ) |
Add a new track.
| std::any ActsPlugins::MutablePodioTrackContainer< holder_t >::component_impl | ( | Acts::HashedString | key, |
| IndexType | itrack ) |
Access component.
| key | Column key |
| itrack | Track index |
| std::any ActsPlugins::MutablePodioTrackContainer< holder_t >::component_impl | ( | Acts::HashedString | key, |
| IndexType | itrack ) const |
Access component (const).
| key | Column key |
| itrack | Track index |
| void ActsPlugins::MutablePodioTrackContainer< holder_t >::copyDynamicFrom_impl | ( | IndexType | dstIdx, |
| Acts::HashedString | key, | ||
| const std::any & | srcPtr ) |
Copy dynamic column from source.
| dstIdx | Destination track index |
| key | Column key |
| srcPtr | Source pointer |
| Covariance ActsPlugins::MutablePodioTrackContainer< holder_t >::covariance | ( | IndexType | itrack | ) |
Get track covariance.
| itrack | Track index |
| ConstCovariance ActsPlugins::MutablePodioTrackContainer< holder_t >::covariance | ( | IndexType | itrack | ) | const |
Get track covariance (const).
| itrack | Track index |
| Acts::detail::DynamicKeyRange< podio_detail::DynamicColumnBase > ActsPlugins::MutablePodioTrackContainer< holder_t >::dynamicKeys_impl | ( | ) | const |
Get dynamic keys.
| void ActsPlugins::MutablePodioTrackContainer< holder_t >::ensureDynamicColumns_impl | ( | const MutablePodioTrackContainer< holder_t > & | other | ) |
Ensure dynamic columns match other container.
| other | Other container |
| bool ActsPlugins::MutablePodioTrackContainer< holder_t >::hasColumn_impl | ( | Acts::HashedString | key | ) | const |
Check if column exists.
| key | Column key |
| Parameters ActsPlugins::MutablePodioTrackContainer< holder_t >::parameters | ( | IndexType | itrack | ) |
Get track parameters.
| itrack | Track index |
| ConstParameters ActsPlugins::MutablePodioTrackContainer< holder_t >::parameters | ( | IndexType | itrack | ) | const |
Get track parameters (const).
| itrack | Track index |
| Acts::ParticleHypothesis ActsPlugins::MutablePodioTrackContainer< holder_t >::particleHypothesis_impl | ( | IndexType | itrack | ) | const |
Get particle hypothesis.
| itrack | Track index |
| const Acts::Surface * ActsPlugins::MutablePodioTrackContainer< holder_t >::referenceSurface_impl | ( | IndexType | itrack | ) | const |
Get reference surface.
| itrack | Track index |
| void ActsPlugins::MutablePodioTrackContainer< holder_t >::releaseInto | ( | podio::Frame & | frame, |
| const std::string & | suffix = "" ) |
Release into frame.
| frame | Destination frame |
| suffix | Collection name suffix |
| void ActsPlugins::MutablePodioTrackContainer< holder_t >::removeTrack_impl | ( | IndexType | itrack | ) |
Remove a track.
| itrack | Track index |
| void ActsPlugins::MutablePodioTrackContainer< holder_t >::setParticleHypothesis_impl | ( | IndexType | itrack, |
| const Acts::ParticleHypothesis & | particleHypothesis ) |
Set particle hypothesis.
| itrack | Track index |
| particleHypothesis | Particle hypothesis |
| void ActsPlugins::MutablePodioTrackContainer< holder_t >::setReferenceSurface_impl | ( | IndexType | itrack, |
| std::shared_ptr< const Acts::Surface > | surface ) |
Set reference surface.
| itrack | Track index |
| surface | Reference surface |
| std::size_t ActsPlugins::MutablePodioTrackContainer< holder_t >::size_impl | ( | ) | const |
Get container size.
| ActsPodioEdm::TrackCollection & ActsPlugins::MutablePodioTrackContainer< holder_t >::trackCollection | ( | ) |
Get track collection.