Belle II Software development
NodeCompatibilityCheckerCA< NodeType > Struct Template Reference

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

#include <NodeCompatibilityCheckerCA.h>

Public Member Functions

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

Detailed Description

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

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

Definition at line 19 of file NodeCompatibilityCheckerCA.h.

Member Function Documentation

◆ areCompatible()

bool areCompatible ( NodeType outerNode,
NodeType innerNode 
)
inline

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

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

Definition at line 25 of file NodeCompatibilityCheckerCA.h.

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

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