LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
CBAlgoStartNearEnd.h
Go to the documentation of this file.
1 
14 #ifndef RECOTOOL_CBALGOSTARTNEAREND_H
15 #define RECOTOOL_CBALGOSTARTNEAREND_H
16 
19 
20 namespace cmtool {
27 
28  public:
31 
33  virtual ~CBAlgoStartNearEnd(){};
34 
41 
42  void SetMaxAngle(double a) { _maxopeningangle = a; }
43 
44  void SetMinHits(size_t n) { _MinHits = n; }
45 
46  virtual bool Bool(const ::cluster::ClusterParamsAlg& cluster1,
47  const ::cluster::ClusterParamsAlg& cluster2);
48 
50  virtual void Reset() {}
51 
53  virtual void Report();
54 
55  protected:
57  double _separation;
58  size_t _MinHits;
59  };
60 }
61 
62 #endif
63  // end of doxygen group
Class def header for algorithm classes for CMergeManager.
virtual void Reset()
Function to reset the algorithm instance ... maybe implemented via child class.
virtual bool Bool(const ::cluster::ClusterParamsAlg &cluster1, const ::cluster::ClusterParamsAlg &cluster2)
virtual ~CBAlgoStartNearEnd()
Default destructor.
void SetMaxStartEndSeparation(double d)
CBAlgoStartNearEnd()
Default constructor.
Float_t d
Definition: plot.C:235
Char_t n[5]
virtual void Report()
Function to report what's going on per merging.