30 template<
typename EntryType,
typename MetaInfoType>
130 template <
class EntryType,
class MetaInfoType>
133 return (a == b.getConstEntry());
Network of directed nodes of the type EntryType.
MetaInfoType m_metaInfo
Contains a MetaInfo for doing extra-stuff (whatever you need)
short getFamily() const
Returns identifier of this cell.
DirectedNode(EntryType &entry)
************************* CONSTRUCTORS *************************
EntryType & m_entry
************************* DATA MEMBERS *************************
short m_family
Identifier for all connected nodes.
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< EntryType, MetaInfoType > * > m_innerNodes
Carries all links to inner nodes.
DirectedNode & operator=(const DirectedNode &node)=delete
Forbid assignment operator.
std::vector< DirectedNode< EntryType, MetaInfoType > * > m_outerNodes
Carries all links to outer nodes.
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.