LArSoft  v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
CPAlgoIgnoreTracks.h
Go to the documentation of this file.
1 
14 #ifndef RECOTOOL_CPALGOIGNORETRACKS_H
15 #define RECOTOOL_CPALGOIGNORETRACKS_H
16 
18 
19 namespace cmtool {
26 
27  public:
28 
31 
33  virtual ~CPAlgoIgnoreTracks(){};
34 
35  //
36  // Author should be aware of 3 functions at least: Priority, Report,
37  // and Reset. More possibly-useful functions can be found in the later
38  // part but commented out. All of these functions are virtual and defined
39  // in the base class.
40 
45  virtual float Priority(const ::cluster::ClusterParamsAlg &cluster);
46 
51  virtual void Report();
52 
54  virtual void Reset();
55 
59  //virtual void EventBegin(const std::vector<cluster::ClusterParamsAlg> &clusters);
60 
64  //virtual void EventEnd();
65 
71  //virtual void IterationBegin(const std::vector<cluster::ClusterParamsAlg> &clusters);
72 
76  //virtual void IterationEnd();
77 
79  bool IsTrack(const ::cluster::ClusterParamsAlg &cluster);
80 
82  void SetMinHits(size_t BAKA) { _min_hits = BAKA; }
83  void SetMinModHitDens(Double_t AHO) { _min_mod_hit_dens = AHO; }
84  void SetMinMHitWires(Double_t BOKE) { _min_multihit_wires = BOKE; }
85  void SetMinPrincipal(Double_t HEKOKI) { _min_principal = HEKOKI; }
86 
87 
88  protected:
89 
90  size_t _min_hits;
93  Double_t _min_principal;
94 
95  };
96 }
97 #endif
98  // end of doxygen group
99 
bool IsTrack(const ::cluster::ClusterParamsAlg &cluster)
Function to check if cluster is a track.
void SetMinModHitDens(Double_t AHO)
Cluster finding and building.
void SetMinMHitWires(Double_t BOKE)
Class def header for a class CPriorityAlgoBase.
CPAlgoIgnoreTracks()
Default constructor.
void SetMinPrincipal(Double_t HEKOKI)
void SetMinHits(size_t BAKA)
Setter for track-like parameters.
virtual float Priority(const ::cluster::ClusterParamsAlg &cluster)
virtual ~CPAlgoIgnoreTracks()
Default destructor.
virtual void Reset()
Function to reset the algorithm instance, called together with manager&#39;s Reset()