File SourceLink.hpp
Defines
-
ACTS_SOURCELINK_SBO_SIZE
-
namespace Acts
Note
This file is foreseen for the
Geometry
module to replaceExtent
Typedefs
-
using SourceLinkSurfaceAccessor = Delegate<const Surface*(const SourceLink&)>
Delegate to unpack the surface associated with a source link.
-
class SourceLink
- #include <Acts/EventData/SourceLink.hpp>
Public Functions
-
SourceLink(const SourceLink &other) = default
-
SourceLink(SourceLink &&other) = default
-
template<typename T, typename = std::enable_if_t<!std::is_same_v<std::decay_t<T>, SourceLink>>>
inline explicit SourceLink(T &&upstream) Constructor from concrete sourcelink.
- Template Parameters
T – The source link type
- Parameters
upstream – The upstream source link to store
-
template<typename T>
inline T &get() Concrete source link class getter.
- Template Parameters
T – The source link type to retrieve
- Returns
Reference to the stored source link
-
template<typename T>
inline const T &get() const Concrete source link class getter, const version.
- Template Parameters
T – The source link type to retrieve
- Returns
Const reference to the stored source link
-
SourceLink &operator=(const SourceLink &other) = default
-
SourceLink &operator=(SourceLink &&other) = default
-
SourceLink(const SourceLink &other) = default
-
template<typename T>
struct SourceLinkAdapterIterator - #include <Acts/EventData/SourceLink.hpp>
Public Types
-
using difference_type = typename BaseIterator::difference_type
-
using iterator_category = typename BaseIterator::iterator_category
-
using pointer = typename BaseIterator::pointer
-
using reference = typename BaseIterator::reference
-
using value_type = typename BaseIterator::value_type
Public Functions
-
inline bool operator!=(const SourceLinkAdapterIterator &other) const
-
inline Acts::SourceLink operator*() const
-
inline SourceLinkAdapterIterator &operator++()
-
inline auto operator-(const SourceLinkAdapterIterator &other) const
-
inline bool operator==(const SourceLinkAdapterIterator &other) const
Public Members
-
BaseIterator m_iterator
-
using difference_type = typename BaseIterator::difference_type
-
using SourceLinkSurfaceAccessor = Delegate<const Surface*(const SourceLink&)>