All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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"
18 #include "canvas/Persistency/Common/Ptr.h"
19 
20 namespace fhicl {
21  class ParameterSet;
22 }
23 
26 namespace detinfo {
27  class DetectorClocksData;
28  class DetectorPropertiesData;
29 }
30 
31 #include <vector>
32 
33 namespace cluster {
35  public:
36  ClusterMatchTQ(fhicl::ParameterSet const& pset);
37 
38  std::vector<std::vector<unsigned int>> MatchedClusters(
39  const detinfo::DetectorClocksData& clockdata,
41  const std::vector<art::Ptr<recob::Cluster>>& clusterlist,
42  const art::FindManyP<recob::Hit>& fm) const;
43 
44  private:
45  double fKSCut;
46  bool fEnableU;
47  bool fEnableV;
48  bool fEnableZ;
49 
50  }; // class ClusterMatchTQ
51 } // namespace cluster
52 
53 #endif //ifndef CLUSTERMATCHTQ_H
ClusterMatchTQ(fhicl::ParameterSet const &pset)
process_name cluster
Definition: cheaterreco.fcl:51
Declaration of signal hit object.
std::vector< std::vector< unsigned int > > MatchedClusters(const detinfo::DetectorClocksData &clockdata, const detinfo::DetectorPropertiesData &detProp, const std::vector< art::Ptr< recob::Cluster >> &clusterlist, const art::FindManyP< recob::Hit > &fm) const
auto vector(Vector const &v)
Returns a manipulator which will print the specified array.
Definition: DumpUtils.h:265
Declaration of cluster object.
Contains all timing reference information for the detector.
auto const detProp