ATLAS Offline Software
Classes | Public Types | Public Member Functions | Private Attributes | List of all members
ActsTrk::detail::GenUncalibSourceLinkAccessor< T_MeasurementRangeList > Class Template Reference

Accessor for the above source link container. More...

#include <AtlasUncalibSourceLinkAccessor.h>

Collaboration diagram for ActsTrk::detail::GenUncalibSourceLinkAccessor< T_MeasurementRangeList >:

Classes

class  BaseIterator
 

Public Types

using MeasurementContainer = typename T_MeasurementRangeList::MeasurementContainer
 
using Iterator = Acts::SourceLinkAdapterIterator< BaseIterator >
 

Public Member Functions

 GenUncalibSourceLinkAccessor (const T_MeasurementRangeList &measurement_ranges)
 
std::pair< Iterator, Iteratorrange (const Acts::Surface &surface) const
 
const MeasurementContainercontainer (unsigned index) const
 
const std::vector< MeasurementContainer > & measurementContainerList () const
 

Private Attributes

const T_MeasurementRangeList * m_measurementRanges
 

Detailed Description

template<typename T_MeasurementRangeList>
class ActsTrk::detail::GenUncalibSourceLinkAccessor< T_MeasurementRangeList >

Accessor for the above source link container.

It wraps up a few lookup methods to be used in the Combinatorial Kalman Filter

Definition at line 104 of file AtlasUncalibSourceLinkAccessor.h.

Member Typedef Documentation

◆ Iterator

template<typename T_MeasurementRangeList >
using ActsTrk::detail::GenUncalibSourceLinkAccessor< T_MeasurementRangeList >::Iterator = Acts::SourceLinkAdapterIterator<BaseIterator>

Definition at line 155 of file AtlasUncalibSourceLinkAccessor.h.

◆ MeasurementContainer

template<typename T_MeasurementRangeList >
using ActsTrk::detail::GenUncalibSourceLinkAccessor< T_MeasurementRangeList >::MeasurementContainer = typename T_MeasurementRangeList::MeasurementContainer

Definition at line 110 of file AtlasUncalibSourceLinkAccessor.h.

Constructor & Destructor Documentation

◆ GenUncalibSourceLinkAccessor()

template<typename T_MeasurementRangeList >
ActsTrk::detail::GenUncalibSourceLinkAccessor< T_MeasurementRangeList >::GenUncalibSourceLinkAccessor ( const T_MeasurementRangeList &  measurement_ranges)
inline

Definition at line 156 of file AtlasUncalibSourceLinkAccessor.h.

157  : m_measurementRanges(&measurement_ranges)
158  {
159  }

Member Function Documentation

◆ container()

template<typename T_MeasurementRangeList >
const MeasurementContainer& ActsTrk::detail::GenUncalibSourceLinkAccessor< T_MeasurementRangeList >::container ( unsigned  index) const
inline

Definition at line 174 of file AtlasUncalibSourceLinkAccessor.h.

174 { return m_measurementRanges->container(index); }

◆ measurementContainerList()

template<typename T_MeasurementRangeList >
const std::vector< MeasurementContainer >& ActsTrk::detail::GenUncalibSourceLinkAccessor< T_MeasurementRangeList >::measurementContainerList ( ) const
inline

Definition at line 175 of file AtlasUncalibSourceLinkAccessor.h.

175 { return m_measurementRanges->measurementContainerList(); }

◆ range()

template<typename T_MeasurementRangeList >
std::pair<Iterator, Iterator> ActsTrk::detail::GenUncalibSourceLinkAccessor< T_MeasurementRangeList >::range ( const Acts::Surface &  surface) const
inline

Definition at line 161 of file AtlasUncalibSourceLinkAccessor.h.

162  {
163  typename T_MeasurementRangeList::const_iterator
164  range_iter = m_measurementRanges->find(surface.geometryId().value());
165  if (range_iter == m_measurementRanges->end())
166  {
167  return {Iterator(BaseIterator(nullptr, 0u, 0u)),
168  Iterator(BaseIterator(nullptr, 0u, 0u))};
169  }
170 
171  return {Iterator(BaseIterator(&measurementContainerList(), range_iter->second.containerIndex(), range_iter->second.elementBeginIndex())),
172  Iterator(BaseIterator(&measurementContainerList(), range_iter->second.containerIndex(), range_iter->second.elementEndIndex()))};
173  }

Member Data Documentation

◆ m_measurementRanges

template<typename T_MeasurementRangeList >
const T_MeasurementRangeList* ActsTrk::detail::GenUncalibSourceLinkAccessor< T_MeasurementRangeList >::m_measurementRanges
private

Definition at line 107 of file AtlasUncalibSourceLinkAccessor.h.


The documentation for this class was generated from the following file:
ActsTrk::detail::GenUncalibSourceLinkAccessor::measurementContainerList
const std::vector< MeasurementContainer > & measurementContainerList() const
Definition: AtlasUncalibSourceLinkAccessor.h:175
ActsTrk::detail::GenUncalibSourceLinkAccessor::Iterator
Acts::SourceLinkAdapterIterator< BaseIterator > Iterator
Definition: AtlasUncalibSourceLinkAccessor.h:155
index
Definition: index.py:1
ActsTrk::detail::GenUncalibSourceLinkAccessor::m_measurementRanges
const T_MeasurementRangeList * m_measurementRanges
Definition: AtlasUncalibSourceLinkAccessor.h:107
Trk::u
@ u
Enums for curvilinear frames.
Definition: ParamDefs.h:77