ClusterMatchTQ.h
Go to the documentation of this file.
1 //////////////////////////////////////////////////////////////////////
2 ///
3 /// ClusterMatchTQ class
4 ///
5 /// tjyang@fnal.gov
6 ///
7 /// Algorithm for matching clusters between different views
8 /// based on time and charge information
9 ///
10 /// Input: a list of clusters and all hits associated with clusters
11 /// Output: a vector of index vectors. Each group of indices represent
12 /// a particle candidate
13 ////////////////////////////////////////////////////////////////////////
14 #ifndef CLUSTERMATCHTQ_H
15 #define CLUSTERMATCHTQ_H
16 
17 #include "canvas/Persistency/Common/FindManyP.h"
19 #include "fhiclcpp/fwd.h"
20 
23 namespace detinfo {
24  class DetectorClocksData;
25  class DetectorPropertiesData;
26 }
27 
28 #include <vector>
29 
30 namespace cluster {
32  public:
34 
35  std::vector<std::vector<unsigned int>> MatchedClusters(
36  const detinfo::DetectorClocksData& clockdata,
37  const detinfo::DetectorPropertiesData& detProp,
38  const std::vector<art::Ptr<recob::Cluster>>& clusterlist,
39  const art::FindManyP<recob::Hit>& fm) const;
40 
41  private:
42  double fKSCut;
43  bool fEnableU;
44  bool fEnableV;
45  bool fEnableZ;
46 
47  }; // class ClusterMatchTQ
48 } // namespace cluster
49 
50 #endif //ifndef CLUSTERMATCHTQ_H
struct vector vector
Cluster finding and building.
General LArSoft Utilities.
Declaration of signal hit object.
Contains all timing reference information for the detector.
static constexpr double fm
Definition: Units.h:75