LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
CBAlgoPolyOverlap.h
Go to the documentation of this file.
1 
14 #ifndef RECOTOOL_CBALGOPOLYOVERLAP_H
15 #define RECOTOOL_CBALGOPOLYOVERLAP_H
16 
19 
20 namespace cmtool {
26 
27  public:
30 
32  virtual ~CBAlgoPolyOverlap(){};
33 
38  virtual bool Bool(const ::cluster::ClusterParamsAlg& cluster1,
39  const ::cluster::ClusterParamsAlg& cluster2);
40 
41  void SetDebug(bool debug) { _debug = debug; }
42 
43  //both clusters must have > this # of hits to be considered for merging
44  void SetMinNumHits(size_t nhits) { _min_hits = nhits; }
45 
47  void reconfigure();
48 
49  private:
50  bool _debug;
51  size_t _min_hits;
52  };
53 }
54 
55 #endif
56  // end of doxygen group
Class def header for algorithm classes for CMergeManager.
void SetMinNumHits(size_t nhits)
DebugStuff debug
Definition: DebugStruct.cxx:4
CBAlgoPolyOverlap()
Default constructor.
virtual bool Bool(const ::cluster::ClusterParamsAlg &cluster1, const ::cluster::ClusterParamsAlg &cluster2)
void reconfigure()
Method to re-configure the instance.
virtual ~CBAlgoPolyOverlap()
Default destructor.