30 template<
typename EntryType,
typename MetaInfoType>
130 template <
class EntryType,
class MetaInfoType>
133 return (a == b.getConstEntry());
Belle2::CACell m_metaInfo
short getFamily() const
Returns identifier of this cell.
DirectedNode(EntryType &entry)
************************* CONSTRUCTORS *************************
Belle2::Segment< Belle2::TrackNode > & m_entry
friend class DirectedNodeNetwork
DirectedNode< EntryType, MetaInfoType > * getPtr()
Returns Pointer to this node.
std::vector< DirectedNode< EntryType, MetaInfoType > * > & getInnerNodes()
************************* PUBLIC MEMBER FUNCTIONS *************************
MetaInfoType & getMetaInfo()
Returns reference to MetaInfoType attached to this node.
EntryType & getEntry()
Allows access to stored entry.
void setFamily(short family)
Assign a family identifier to this cell.
DirectedNode(const DirectedNode &node)=delete
Forbid copy constructor.
bool operator==(const DirectedNode &b) const
************************* OPERATORS *************************
bool operator!=(const DirectedNode &b) const
!= -operator - compares if two nodes are not identical
const EntryType & getConstEntry() const
Allows const access to stored entry (needed for external operator overload.
std::vector< DirectedNode< EntryType, MetaInfoType > * > & getOuterNodes()
Returns links to all outer nodes attached to this one.
std::vector< DirectedNode< Belle2::Segment< Belle2::TrackNode >, Belle2::CACell > * > m_innerNodes
DirectedNode & operator=(const DirectedNode &node)=delete
Forbid assignment operator.
std::vector< DirectedNode< Belle2::Segment< Belle2::TrackNode >, Belle2::CACell > * > m_outerNodes
void addInnerNode(DirectedNode< EntryType, MetaInfoType > &newNode)
************************* INTERNAL MEMBER FUNCTIONS *************************
void addOuterNode(DirectedNode< EntryType, MetaInfoType > &newNode)
Adds new links to the outward direction.
bool operator==(const DecayNode &node1, const DecayNode &node2)
Compare two Decay Nodes: They are equal if All daughter decay nodes are equal or one of the daughter ...
Abstract base class for different kinds of events.