LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
CBoolAlgoBase.h
Go to the documentation of this file.
1 
14 #ifndef RECOTOOL_CBOOLALGOBASE_H
15 #define RECOTOOL_CBOOLALGOBASE_H
16 
18 
19 namespace cmtool {
20 
27  class CBoolAlgoBase : public CMAlgoBase {
28 
29  public:
32 
34  virtual ~CBoolAlgoBase() {}
35 
40  virtual bool Bool(const ::cluster::ClusterParamsAlg& cluster1,
41  const ::cluster::ClusterParamsAlg& cluster2)
42  {
43  if (cluster1.Plane() != cluster2.Plane())
44  return false;
45  else
46  return true;
47  }
48  };
49 
50 }
51 
52 #endif
53  // end of doxygen group
virtual ~CBoolAlgoBase()
Default destructor.
Definition: CBoolAlgoBase.h:34
CBoolAlgoBase()
Default constructor.
Definition: CBoolAlgoBase.h:31
Class def header for a class CMAlgoBase.
virtual bool Bool(const ::cluster::ClusterParamsAlg &cluster1, const ::cluster::ClusterParamsAlg &cluster2)
Definition: CBoolAlgoBase.h:40