ATLAS Offline Software
Loading...
Searching...
No Matches
EventReco::Edge Class Reference

#include <GraphBase.h>

Collaboration diagram for EventReco::Edge:

Public Member Functions

 Edge ()=default
 Edge (int64_t source, int64_t target, const Features &attributes)
const Features & getFeatures () const
EdgeIndex getIndices () const

Private Attributes

Features m_edgeFeatures = {}
EdgeIndex m_edgeIndex = {}

Detailed Description

Definition at line 35 of file GraphBase.h.

Constructor & Destructor Documentation

◆ Edge() [1/2]

EventReco::Edge::Edge ( )
default

◆ Edge() [2/2]

EventReco::Edge::Edge ( int64_t source,
int64_t target,
const Features & attributes )
inline

Definition at line 38 of file GraphBase.h.

39 : m_edgeFeatures(attributes),
40 m_edgeIndex(std::make_pair(source, target)) {};
EdgeIndex m_edgeIndex
Definition GraphBase.h:46
Features m_edgeFeatures
Definition GraphBase.h:45

Member Function Documentation

◆ getFeatures()

const Features & EventReco::Edge::getFeatures ( ) const
inline

Definition at line 41 of file GraphBase.h.

41{ return m_edgeFeatures; };

◆ getIndices()

EdgeIndex EventReco::Edge::getIndices ( ) const
inline

Definition at line 42 of file GraphBase.h.

42{ return m_edgeIndex; };

Member Data Documentation

◆ m_edgeFeatures

Features EventReco::Edge::m_edgeFeatures = {}
private

Definition at line 45 of file GraphBase.h.

45{};

◆ m_edgeIndex

EdgeIndex EventReco::Edge::m_edgeIndex = {}
private

Definition at line 46 of file GraphBase.h.

46{};

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