LArSoft  v06_85_00
Liquid Argon Software toolkit - http://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:
28 
30  CPAlgoNHits();
31 
33  virtual ~CPAlgoNHits(){};
34 
39  virtual float Priority(const ::cluster::ClusterParamsAlg &cluster);
40 
42  void SetMinHits(size_t n) { _min_hits = n; }
43 
44  protected:
45 
46  size_t _min_hits;
47 
48  };
49 }
50 #endif
51  // end of doxygen group
52 
void SetMinHits(size_t n)
Setter for minimum # hits.
Definition: CPAlgoNHits.h:42
virtual ~CPAlgoNHits()
Default destructor.
Definition: CPAlgoNHits.h:33
Cluster finding and building.
Class def header for a class CPriorityAlgoBase.
CPAlgoNHits()
Default constructor.
Definition: CPAlgoNHits.cxx:9
virtual float Priority(const ::cluster::ClusterParamsAlg &cluster)
Definition: CPAlgoNHits.cxx:16
Char_t n[5]