LDMX Software
Public Types | Public Member Functions | List of all members
ActsExamples::IndexSourceLinkAccessor Struct Reference

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

#include <IndexSourceLink.h>

Public Types

using BaseIterator = GeometryIdMultisetAccessor< IndexSourceLink >::Iterator
 
using Iterator = Acts::SourceLinkAdapterIterator< BaseIterator >
 
- Public Types inherited from ActsExamples::GeometryIdMultisetAccessor< IndexSourceLink >
using Container = GeometryIdMultiset< IndexSourceLink >
 
using Key = Acts::GeometryIdentifier
 
using Value = typename GeometryIdMultiset< IndexSourceLink >::value_type
 
using Iterator = typename GeometryIdMultiset< IndexSourceLink >::const_iterator
 

Public Member Functions

std::pair< Iterator, Iterator > range (const Acts::Surface &surface) const
 

Additional Inherited Members

- Public Attributes inherited from ActsExamples::GeometryIdMultisetAccessor< IndexSourceLink >
const Container * container
 

Detailed Description

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 72 of file IndexSourceLink.h.

Member Typedef Documentation

◆ BaseIterator

using ActsExamples::IndexSourceLinkAccessor::BaseIterator = GeometryIdMultisetAccessor<IndexSourceLink>::Iterator

Definition at line 73 of file IndexSourceLink.h.

◆ Iterator

using ActsExamples::IndexSourceLinkAccessor::Iterator = Acts::SourceLinkAdapterIterator<BaseIterator>

Definition at line 75 of file IndexSourceLink.h.

Member Function Documentation

◆ range()

std::pair< Iterator, Iterator > ActsExamples::IndexSourceLinkAccessor::range ( const Acts::Surface &  surface) const
inline

Definition at line 78 of file IndexSourceLink.h.

78 {
79 assert(container != nullptr);
80 auto [begin, end] = container->equal_range(surface.geometryId());
81 return {Iterator{begin}, Iterator{end}};
82 }

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