Belle II Software development
NodeCompatibilityCheckerPathCollector< NodeType > Struct Template Reference

simple NodeCompatibilityChecker, which checks for compatible Neighboring states of passed nodes (does no extended validation check) More...

#include <NodeCompatibilityCheckerPathCollector.h>

Public Member Functions

bool areCompatible (NodeType *outerNode, NodeType *innerNode)
 returns true, if state of outerNode is state of innerNode +1.
 

Detailed Description

template<class NodeType>
struct Belle2::NodeCompatibilityCheckerPathCollector< NodeType >

simple NodeCompatibilityChecker, which checks for compatible Neighboring states of passed nodes (does no extended validation check)

Definition at line 19 of file NodeCompatibilityCheckerPathCollector.h.

Member Function Documentation

◆ areCompatible()

bool areCompatible ( NodeType outerNode,
NodeType innerNode 
)
inline

returns true, if state of outerNode is state of innerNode +1.

WARNING does not check if innerNode is in List of OuterNodes!

Definition at line 25 of file NodeCompatibilityCheckerPathCollector.h.

26 {
27// return true;
28 return (outerNode->getMetaInfo().getState() == (innerNode->getMetaInfo().getState() + 1));
29 }

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