ATLAS Offline Software
Loading...
Searching...
No Matches
ActsTrk::SpacePointRange Struct Referencefinal

#include <SeedContainer.h>

Inheritance diagram for ActsTrk::SpacePointRange:
Collaboration diagram for ActsTrk::SpacePointRange:

Public Types

using Base = std::span<const xAOD::SpacePoint* const>

Public Member Functions

const xAOD::SpacePointat (std::size_t index) const

Public Attributes

elements
 STL member.

Detailed Description

Definition at line 29 of file SeedContainer.h.

Member Typedef Documentation

◆ Base

using ActsTrk::SpacePointRange::Base = std::span<const xAOD::SpacePoint* const>

Definition at line 30 of file SeedContainer.h.

Member Function Documentation

◆ at()

const xAOD::SpacePoint * ActsTrk::SpacePointRange::at ( std::size_t index) const
inline

Definition at line 34 of file SeedContainer.h.

34 {
35 if (index >= size()) {
36 throw std::out_of_range("SpacePointRange index out of range");
37 }
38 return Base::operator[](index);
39 }

Member Data Documentation

◆ elements

T std::span< T >::elements
inherited

STL member.


The documentation for this struct was generated from the following file: