Belle II Software  release-05-02-19
NodeCompatibilityCheckerPathCollector.h
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2015 - Belle II Collaboration *
4  * *
5  * Author: The Belle II Collaboration *
6  * Contributors: Jakob Lettenbichler *
7  * *
8  * This software is provided "as is" without any warranty. *
9  **************************************************************************/
10 #pragma once
11 
12 
13 namespace Belle2 {
20  template<class NodeType>
21  struct NodeCompatibilityCheckerPathCollector {
22 
27  bool areCompatible(NodeType* outerNode, NodeType* innerNode)
28  {
29 // return true;
30  return (outerNode->getMetaInfo().getState() == (innerNode->getMetaInfo().getState() + 1));
31  }
32  };
33 
35 } //Belle2 namespace
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::NodeCompatibilityCheckerPathCollector::areCompatible
bool areCompatible(NodeType *outerNode, NodeType *innerNode)
returns true, if state of outerNode is state of innerNode +1.
Definition: NodeCompatibilityCheckerPathCollector.h:35