LArSoft  v09_90_00
Liquid Argon Software toolkit - https://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 #include "RtypesCore.h"
20 
21 namespace cmtool {
28 
29  public:
32 
34  virtual ~CPAlgoIgnoreTracks(){};
35 
36  //
37  // Author should be aware of 3 functions at least: Priority, Report,
38  // and Reset. More possibly-useful functions can be found in the later
39  // part but commented out. All of these functions are virtual and defined
40  // in the base class.
41 
46  virtual float Priority(const ::cluster::ClusterParamsAlg& cluster);
47 
52  virtual void Report();
53 
55  virtual void Reset();
56 
60  //virtual void EventBegin(const std::vector<cluster::ClusterParamsAlg> &clusters);
61 
65  //virtual void EventEnd();
66 
72  //virtual void IterationBegin(const std::vector<cluster::ClusterParamsAlg> &clusters);
73 
77  //virtual void IterationEnd();
78 
80  bool IsTrack(const ::cluster::ClusterParamsAlg& cluster);
81 
83  void SetMinHits(size_t BAKA) { _min_hits = BAKA; }
84  void SetMinModHitDens(Double_t AHO) { _min_mod_hit_dens = AHO; }
85  void SetMinMHitWires(Double_t BOKE) { _min_multihit_wires = BOKE; }
86  void SetMinPrincipal(Double_t HEKOKI) { _min_principal = HEKOKI; }
87 
88  protected:
89  size_t _min_hits;
92  Double_t _min_principal;
93  };
94 }
95 #endif
96  // end of doxygen group
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()