LDMX Software
acts_examples::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 acts_examples::GeometryIdMultisetAccessor< IndexSourceLink >
using Container
 
using Key
 
using Value
 
using Iterator
 

Public Member Functions

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

Additional Inherited Members

- Public Attributes inherited from acts_examples::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 73 of file IndexSourceLink.h.

Member Typedef Documentation

◆ BaseIterator

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

Definition at line 75 of file IndexSourceLink.h.

◆ Iterator

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

Definition at line 77 of file IndexSourceLink.h.

Member Function Documentation

◆ range()

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

Definition at line 80 of file IndexSourceLink.h.

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

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