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