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

#include <AtlasUncalibSourceLinkAccessor.h>

Inheritance diagram for ActsTrk::detail::GenMeasurementRangeList< T_MeasurementContainerList >:
Collaboration diagram for ActsTrk::detail::GenMeasurementRangeList< T_MeasurementContainerList >:

Public Types

using MeasurementContainer = typename T_MeasurementContainerList::measurement_container_variant_t
 

Public Member Functions

const std::vector< MeasurementContainer > & measurementContainerList () const
 
void setContainer (unsigned int container_index, const xAOD::UncalibratedMeasurementContainer *container)
 
std::size_t numContainers () const
 
const MeasurementContainercontainer (unsigned index) const
 

Public Attributes

keys
 STL member. More...
 
elements
 STL member. More...
 

Private Attributes

T_MeasurementContainerList m_measurementContainerList
 

Detailed Description

template<typename T_MeasurementContainerList>
class ActsTrk::detail::GenMeasurementRangeList< T_MeasurementContainerList >

Definition at line 76 of file AtlasUncalibSourceLinkAccessor.h.

Member Typedef Documentation

◆ MeasurementContainer

template<typename T_MeasurementContainerList >
using ActsTrk::detail::GenMeasurementRangeList< T_MeasurementContainerList >::MeasurementContainer = typename T_MeasurementContainerList::measurement_container_variant_t

Definition at line 79 of file AtlasUncalibSourceLinkAccessor.h.

Member Function Documentation

◆ container()

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

Definition at line 96 of file AtlasUncalibSourceLinkAccessor.h.

96 { return m_measurementContainerList.at(index); }

◆ measurementContainerList()

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

Definition at line 85 of file AtlasUncalibSourceLinkAccessor.h.

85 { return m_measurementContainerList.containerList(); }

◆ numContainers()

template<typename T_MeasurementContainerList >
std::size_t ActsTrk::detail::GenMeasurementRangeList< T_MeasurementContainerList >::numContainers ( ) const
inline

Definition at line 94 of file AtlasUncalibSourceLinkAccessor.h.

94 { return m_measurementContainerList.size(); }

◆ setContainer()

template<typename T_MeasurementContainerList >
void ActsTrk::detail::GenMeasurementRangeList< T_MeasurementContainerList >::setContainer ( unsigned int  container_index,
const xAOD::UncalibratedMeasurementContainer container 
)
inline

Definition at line 88 of file AtlasUncalibSourceLinkAccessor.h.

88  {
89  if (container) {
90  // @TODO allow for container == nullprt ?
91  m_measurementContainerList.setContainer(container_index, *container);
92  }
93  }

Member Data Documentation

◆ elements

T std::unordered_map< K, T >::elements
inherited

STL member.

◆ keys

K std::unordered_map< K, T >::keys
inherited

STL member.

◆ m_measurementContainerList

template<typename T_MeasurementContainerList >
T_MeasurementContainerList ActsTrk::detail::GenMeasurementRangeList< T_MeasurementContainerList >::m_measurementContainerList
private

Definition at line 81 of file AtlasUncalibSourceLinkAccessor.h.


The documentation for this class was generated from the following file:
index
Definition: index.py:1
ActsTrk::detail::GenMeasurementRangeList::m_measurementContainerList
T_MeasurementContainerList m_measurementContainerList
Definition: AtlasUncalibSourceLinkAccessor.h:81
ActsTrk::detail::GenMeasurementRangeList::container
const MeasurementContainer & container(unsigned index) const
Definition: AtlasUncalibSourceLinkAccessor.h:96