7 #ifndef TRACKRECO_PHSIMPLEKFPROP_H
8 #define TRACKRECO_PHSIMPLEKFPROP_H
36 using PositionMap = std::map<TrkrDefs::cluskey, Acts::Vector3>;
111 std::vector<std::vector<TrkrDefs::cluskey>>
RemoveBadClusters(
const std::vector<std::vector<TrkrDefs::cluskey>>& seeds,
const PositionMap& globalPositions)
const;
112 template <
typename T>
116 std::vector<std::vector<T>>
pts;
123 const T d0 = p1[0] -
pts[idx_p2][0];
124 const T d1 = p1[1] - pts[idx_p2][1];
125 const T d2 = p1[2] - pts[idx_p2][2];
126 return d0 * d0 + d1 * d1 + d2 * d2;
137 template <
class BBOX>
143 std::vector<std::shared_ptr<KDPointCloud<double>>>
_ptclouds;
144 std::vector<std::shared_ptr<nanoflann::KDTreeSingleIndexAdaptor<nanoflann::L2_Simple_Adaptor<double, KDPointCloud<double>>,
KDPointCloud<double>,3>>>
_kdtrees;
146 double get_Bz(
double x,
double y,
double z)
const;