LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
CBAlgoStartTrack.h
Go to the documentation of this file.
1 
16 #ifndef RECOTOOL_CBALGOSTARTTRACK_H
17 #define RECOTOOL_CBALGOSTARTTRACK_H
18 
21 
22 namespace cmtool {
29 
30  public:
33 
35  virtual ~CBAlgoStartTrack(){};
36 
40  //virtual void EventBegin(const std::vector<cluster::ClusterParamsAlg> &clusters);
41 
45  //virtual void EventEnd();
46 
52  //virtual void IterationBegin(const std::vector<cluster::ClusterParamsAlg> &clusters);
53 
57  //virtual void IterationEnd();
58 
63  virtual bool Bool(const ::cluster::ClusterParamsAlg& cluster1,
64  const ::cluster::ClusterParamsAlg& cluster2);
65 
70  virtual void Report();
71 
73  virtual void Reset();
74 
75  bool IsStartTrack(const ::cluster::ClusterParamsAlg& cluster);
76 
77  bool IsOverlappingBlob(const ::cluster::ClusterParamsAlg& cluster);
78 
79  void SetMinWidth(double value) { _min_width = value; }
80 
82 
83  void SetMinEP(double value) { _min_EP = value; }
84 
85  void SetMinHits(size_t value) { _min_hits = value; }
86 
87  void SetDebug(bool flag) { _debug = flag; }
88 
89  protected:
90  size_t _min_hits;
92  bool _debug;
93  };
94 }
95 #endif
96  // end of doxygen group
Class def header for algorithm classes for CMergeManager.
void SetMinWidth(double value)
virtual bool Bool(const ::cluster::ClusterParamsAlg &cluster1, const ::cluster::ClusterParamsAlg &cluster2)
Cluster finding and building.
void SetMinOpeningAngle(double value)
virtual ~CBAlgoStartTrack()
Default destructor.
void SetMinEP(double value)
void SetMinHits(size_t value)
double value
Definition: spectrum.C:18
bool IsStartTrack(const ::cluster::ClusterParamsAlg &cluster)
CBAlgoStartTrack()
Default constructor.
virtual void Reset()
Function to reset the algorithm instance ... maybe implemented via child class.
bool IsOverlappingBlob(const ::cluster::ClusterParamsAlg &cluster)