ATLAS Offline Software
Public Types | Public Member Functions | Private Attributes | List of all members
ActsTrk::SpacePointIndexSubset Struct Reference

#include <SeedContainer.h>

Inheritance diagram for ActsTrk::SpacePointIndexSubset:
Collaboration diagram for ActsTrk::SpacePointIndexSubset:

Public Types

using Base = Acts::SpacePointIndexSubset2
 
using value_type = SeedContainer::SpacePointValue
 
using SpacePointContainer = SeedContainer::SpacePointContainer
 
using Index = Base::size_type
 
using const_iterator = Acts::detail::ContainerIterator< SpacePointIndexSubset, value_type, Index, true >
 

Public Member Functions

 SpacePointIndexSubset ()=default
 
 SpacePointIndexSubset (const SpacePointContainer &spacePointContainer, Base spacePointIndices)
 
const_iterator begin () const noexcept
 
const_iterator end () const noexcept
 
value_type operator[] (Index index) const noexcept
 
value_type at (Index index) const
 
value_type front () const
 
value_type back () const
 

Private Attributes

const SpacePointContainerm_spacePointContainer {nullptr}
 

Detailed Description

Definition at line 111 of file SeedContainer.h.

Member Typedef Documentation

◆ Base

using ActsTrk::SpacePointIndexSubset::Base = Acts::SpacePointIndexSubset2

Definition at line 112 of file SeedContainer.h.

◆ const_iterator

Definition at line 116 of file SeedContainer.h.

◆ Index

using ActsTrk::SpacePointIndexSubset::Index = Base::size_type

Definition at line 115 of file SeedContainer.h.

◆ SpacePointContainer

Definition at line 114 of file SeedContainer.h.

◆ value_type

Definition at line 113 of file SeedContainer.h.

Constructor & Destructor Documentation

◆ SpacePointIndexSubset() [1/2]

ActsTrk::SpacePointIndexSubset::SpacePointIndexSubset ( )
default

◆ SpacePointIndexSubset() [2/2]

ActsTrk::SpacePointIndexSubset::SpacePointIndexSubset ( const SpacePointContainer spacePointContainer,
Base  spacePointIndices 
)
inline

Definition at line 119 of file SeedContainer.h.

120  : Base(spacePointIndices), m_spacePointContainer(&spacePointContainer) {}

Member Function Documentation

◆ at()

value_type ActsTrk::SpacePointIndexSubset::at ( Index  index) const
inline

Definition at line 125 of file SeedContainer.h.

125 { return m_spacePointContainer->at(Base::operator[](index)); }

◆ back()

value_type ActsTrk::SpacePointIndexSubset::back ( ) const
inline

Definition at line 127 of file SeedContainer.h.

127 { return operator[](size() - 1ul); }

◆ begin()

const_iterator ActsTrk::SpacePointIndexSubset::begin ( ) const
inlinenoexcept

Definition at line 122 of file SeedContainer.h.

122 { return const_iterator(*this, 0); }

◆ end()

const_iterator ActsTrk::SpacePointIndexSubset::end ( ) const
inlinenoexcept

Definition at line 123 of file SeedContainer.h.

123 { return const_iterator(*this, size()); }

◆ front()

value_type ActsTrk::SpacePointIndexSubset::front ( ) const
inline

Definition at line 126 of file SeedContainer.h.

126 { return operator[](0ul); }

◆ operator[]()

value_type ActsTrk::SpacePointIndexSubset::operator[] ( Index  index) const
inlinenoexcept

Definition at line 124 of file SeedContainer.h.

Member Data Documentation

◆ m_spacePointContainer

const SpacePointContainer* ActsTrk::SpacePointIndexSubset::m_spacePointContainer {nullptr}
private

Definition at line 130 of file SeedContainer.h.


The documentation for this struct was generated from the following file:
index
Definition: index.py:1
ActsTrk::SpacePointIndexSubset::m_spacePointContainer
const SpacePointContainer * m_spacePointContainer
Definition: SeedContainer.h:130
ActsTrk::SpacePointIndexSubset::operator[]
value_type operator[](Index index) const noexcept
Definition: SeedContainer.h:124
python.setupRTTAlg.size
int size
Definition: setupRTTAlg.py:39
ActsTrk::SpacePointIndexSubset::Base
Acts::SpacePointIndexSubset2 Base
Definition: SeedContainer.h:112
detail::ul
unsigned long ul
Definition: PrimitiveHelpers.h:46
columnar::operator[]
ObjectId< CI, CM > operator[](std::size_t) const noexcept
Definition: ObjectRange.h:173
ActsTrk::SpacePointIndexSubset::const_iterator
Acts::detail::ContainerIterator< SpacePointIndexSubset, value_type, Index, true > const_iterator
Definition: SeedContainer.h:116