Juggler
Juggling algorithms and event processing using gaudi framework
Jug::IndexSourceLink Class Referencefinal

#include <IndexSourceLink.hpp>

Public Member Functions

constexpr IndexSourceLink (Acts::GeometryIdentifier gid, Index idx)
 Construct from geometry identifier and index. More...
 
 IndexSourceLink ()=default
 satisfy SourceLinkConcept. More...
 
 IndexSourceLink (const IndexSourceLink &)=default
 
 IndexSourceLink (IndexSourceLink &&)=default
 
IndexSourceLinkoperator= (const IndexSourceLink &)=default
 
IndexSourceLinkoperator= (IndexSourceLink &&)=default
 
constexpr Acts::GeometryIdentifier geometryId () const
 Access the geometry identifier. More...
 
constexpr Index index () const
 Access the index. More...
 
constexpr IndexSourceLink (Acts::GeometryIdentifier gid, Index idx)
 Construct from geometry identifier and index. More...
 
 IndexSourceLink ()
 satisfy SourceLinkConcept. More...
 
 IndexSourceLink (const IndexSourceLink &)=default
 
 IndexSourceLink (IndexSourceLink &&)=default
 
IndexSourceLinkoperator= (const IndexSourceLink &)=default
 
IndexSourceLinkoperator= (IndexSourceLink &&)=default
 
constexpr Index index () const
 Access the index. More...
 

Public Attributes

Acts::GeometryIdentifier m_geometryId
 
Index m_index
 

Friends

constexpr friend bool operator== (const IndexSourceLink &lhs, const IndexSourceLink &rhs)
 
constexpr friend bool operator!= (const IndexSourceLink &lhs, const IndexSourceLink &rhs)
 
constexpr friend bool operator== (const IndexSourceLink &lhs, const IndexSourceLink &rhs)
 
constexpr friend bool operator!= (const IndexSourceLink &lhs, const IndexSourceLink &rhs)
 

Detailed Description

A source link that stores just an index.

This is intentionally kept as barebones as possible. The source link is just a reference and will be copied, moved around, etc. often. Keeping it small and separate from the actual, potentially large, measurement data should result in better overall performance. Using an index instead of e.g. a pointer, means source link and measurement are decoupled and the measurement represenation can be easily changed without having to also change the source link.

Constructor & Destructor Documentation

◆ IndexSourceLink() [1/8]

constexpr Jug::IndexSourceLink::IndexSourceLink ( Acts::GeometryIdentifier  gid,
Index  idx 
)
inlineconstexpr

Construct from geometry identifier and index.

◆ IndexSourceLink() [2/8]

Jug::IndexSourceLink::IndexSourceLink ( )
default

satisfy SourceLinkConcept.

◆ IndexSourceLink() [3/8]

Jug::IndexSourceLink::IndexSourceLink ( const IndexSourceLink )
default

◆ IndexSourceLink() [4/8]

Jug::IndexSourceLink::IndexSourceLink ( IndexSourceLink &&  )
default

◆ IndexSourceLink() [5/8]

constexpr Jug::IndexSourceLink::IndexSourceLink ( Acts::GeometryIdentifier  gid,
Index  idx 
)
inlineconstexpr

Construct from geometry identifier and index.

◆ IndexSourceLink() [6/8]

Jug::IndexSourceLink::IndexSourceLink ( )
inline

satisfy SourceLinkConcept.

◆ IndexSourceLink() [7/8]

Jug::IndexSourceLink::IndexSourceLink ( const IndexSourceLink )
default

◆ IndexSourceLink() [8/8]

Jug::IndexSourceLink::IndexSourceLink ( IndexSourceLink &&  )
default

Member Function Documentation

◆ geometryId()

constexpr Acts::GeometryIdentifier Jug::IndexSourceLink::geometryId ( ) const
inlineconstexpr

Access the geometry identifier.

◆ index() [1/2]

constexpr Index Jug::IndexSourceLink::index ( ) const
inlineconstexpr

Access the index.

◆ index() [2/2]

constexpr Index Jug::IndexSourceLink::index ( ) const
inlineconstexpr

Access the index.

◆ operator=() [1/4]

IndexSourceLink& Jug::IndexSourceLink::operator= ( const IndexSourceLink )
default

◆ operator=() [2/4]

IndexSourceLink& Jug::IndexSourceLink::operator= ( const IndexSourceLink )
default

◆ operator=() [3/4]

IndexSourceLink& Jug::IndexSourceLink::operator= ( IndexSourceLink &&  )
default

◆ operator=() [4/4]

IndexSourceLink& Jug::IndexSourceLink::operator= ( IndexSourceLink &&  )
default

Friends And Related Function Documentation

◆ operator!= [1/2]

constexpr friend bool operator!= ( const IndexSourceLink lhs,
const IndexSourceLink rhs 
)
friend

◆ operator!= [2/2]

constexpr friend bool operator!= ( const IndexSourceLink lhs,
const IndexSourceLink rhs 
)
friend

◆ operator== [1/2]

constexpr friend bool operator== ( const IndexSourceLink lhs,
const IndexSourceLink rhs 
)
friend

◆ operator== [2/2]

constexpr friend bool operator== ( const IndexSourceLink lhs,
const IndexSourceLink rhs 
)
friend

Member Data Documentation

◆ m_geometryId

Acts::GeometryIdentifier Jug::IndexSourceLink::m_geometryId

◆ m_index

Index Jug::IndexSourceLink::m_index

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