Belle II Software  release-06-01-15
NodeCompatibilityCheckerCA.h
1 /**************************************************************************
2  * basf2 (Belle II Analysis Software Framework) *
3  * Author: The Belle II Collaboration *
4  * *
5  * See git log for contributors and copyright holders. *
6  * This file is licensed under LGPL-3.0, see LICENSE.md. *
7  **************************************************************************/
8 #pragma once
9 
10 
11 namespace Belle2 {
18  template<class NodeType>
20 
25  bool areCompatible(NodeType* outerNode, NodeType* innerNode)
26  {
27 // return true;
28  return (outerNode->getMetaInfo().getState() == (innerNode->getMetaInfo().getState()));
29  }
30  };
31 
33 } //Belle2 namespace
Abstract base class for different kinds of events.
simple NodeCompatibilityChecker, which checks for compatible Neighboring states of passed nodes (does...
bool areCompatible(NodeType *outerNode, NodeType *innerNode)
returns true, if state of outerNode is state of innerNode.