LArSoft  v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
CBAlgoPolyOverlap.h
Go to the documentation of this file.
1 
14 #ifndef RECOTOOL_CBALGOPOLYOVERLAP_H
15 #define RECOTOOL_CBALGOPOLYOVERLAP_H
16 
17 #include <iostream>
20 
21 
22 namespace cmtool {
28 
29  public:
30 
33 
35  virtual ~CBAlgoPolyOverlap(){};
36 
41  virtual bool Bool(const ::cluster::ClusterParamsAlg &cluster1,
42  const ::cluster::ClusterParamsAlg &cluster2);
43 
44  void SetDebug(bool debug) { _debug = debug; }
45 
46  //both clusters must have > this # of hits to be considered for merging
47  void SetMinNumHits(size_t nhits) { _min_hits = nhits; }
48 
50  void reconfigure();
51 
52  private:
53 
54  bool _debug;
55  size_t _min_hits;
56  };
57 }
58 
59 #endif
60  // end of doxygen group
61 
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.