LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
CPAlgoNHits.h
Go to the documentation of this file.
1 
14 #ifndef RECOTOOL_CPALGONHITS_H
15 #define RECOTOOL_CPALGONHITS_H
16 
18 
19 namespace cmtool {
25  class CPAlgoNHits : public CPriorityAlgoBase {
26 
27  public:
29  CPAlgoNHits();
30 
32  virtual ~CPAlgoNHits(){};
33 
38  virtual float Priority(const ::cluster::ClusterParamsAlg& cluster);
39 
41  void SetMinHits(size_t n) { _min_hits = n; }
42 
43  protected:
44  size_t _min_hits;
45  };
46 }
47 #endif
48  // end of doxygen group
void SetMinHits(size_t n)
Setter for minimum # hits.
Definition: CPAlgoNHits.h:41
virtual ~CPAlgoNHits()
Default destructor.
Definition: CPAlgoNHits.h:32
Cluster finding and building.
Class def header for a class CPriorityAlgoBase.
CPAlgoNHits()
Default constructor.
Definition: CPAlgoNHits.cxx:6
virtual float Priority(const ::cluster::ClusterParamsAlg &cluster)
Definition: CPAlgoNHits.cxx:13
Char_t n[5]