ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PHTpcLookup.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file PHTpcLookup.h
1 
7 #ifndef PHTPCLOOKUP_H_
8 #define PHTPCLOOKUP_H_
9 
10 #include "externals/kdfinder.hpp"
11 #include "externals/nanoflann.hpp" // for KDTreeSingleIndexAdaptor, L2_Simp...
12 
13 #include <cstddef> // for size_t
14 #include <vector>
15 
18 
24 {
25  public:
26  PHTpcLookup();
27  ~PHTpcLookup();
28 
29  void init(TrkrClusterContainer* cluster_map, TrkrHitSetContainer* hitsets);
30  void clear();
31 
32  std::vector<std::vector<double>*> find(double x, double y, double z, double radius, size_t& nMatches);
33 
34  protected:
35 
38  std::vector<std::vector<double> > mKDhits;
42 
43  private:
44 };
45 
46 #endif /* PHTPCLOOKUP_H_ */