7 #ifndef TRACKRECO_PHSIMPLEKFPROP_H
8 #define TRACKRECO_PHSIMPLEKFPROP_H
39 using PositionMap = std::map<TrkrDefs::cluskey, Acts::Vector3F>;
54 std::cout <<
"rescale: " << rescale << std::endl;
123 std::vector<std::vector<TrkrDefs::cluskey>>
RemoveBadClusters(
const std::vector<std::vector<TrkrDefs::cluskey>>& seeds,
const PositionMap& globalPositions)
const;
124 template <
typename T>
128 std::vector<std::vector<T>>
pts;
135 const T d0 = p1[0] -
pts[idx_p2][0];
136 const T d1 = p1[1] - pts[idx_p2][1];
137 const T d2 = p1[2] - pts[idx_p2][2];
138 return d0 * d0 + d1 * d1 + d2 *
d2;
149 template <
class BBOX>
155 std::vector<std::shared_ptr<KDPointCloud<double>>>
_ptclouds;
156 std::vector<std::shared_ptr<nanoflann::KDTreeSingleIndexAdaptor<nanoflann::L2_Simple_Adaptor<double, KDPointCloud<double>>,
KDPointCloud<double>,3>>>
_kdtrees;
158 double get_Bz(
double x,
double y,
double z)
const;