LArSoft  v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
CBAlgoStartNearEnd.h
Go to the documentation of this file.
1 
14 #ifndef RECOTOOL_CBALGOSTARTNEAREND_H
15 #define RECOTOOL_CBALGOSTARTNEAREND_H
16 
17 #include <iostream>
19 
20 namespace cmtool {
27 
28  public:
29 
32 
34  virtual ~CBAlgoStartNearEnd(){};
35 
42 
43  void SetMaxAngle(double a) { _maxopeningangle=a; }
44 
45  void SetMinHits(size_t n) { _MinHits=n; }
46 
47  virtual bool Bool(const ::cluster::ClusterParamsAlg &cluster1,
48  const ::cluster::ClusterParamsAlg &cluster2);
49 
51  virtual void Reset(){}
52 
54  virtual void Report();
55 
56  protected:
57 
59  double _separation;
60  size_t _MinHits;
61 
62  };
63 }
64 
65 #endif
66  // end of doxygen group
67 
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:237
Char_t n[5]
virtual void Report()
Function to report what&#39;s going on per merging.