22 namespace PHTpcTrackerUtil
27 std::vector<std::vector<double> > kdhits;
30 LOG_WARN(
"tracking.PHTpcTrackerUtil.convert_clusters_to_hits") <<
"cluster map is not provided";
34 for (
auto hitsetitr = hitsetrange.first;
35 hitsetitr != hitsetrange.second;
38 auto range = cluster_map->
getClusters(hitsetitr->first);
39 for(
auto it = range.first;
it != range.second; ++
it )
43 if ((std::pow((
double) cluster->
getPosition(0), 2) +
45 std::pow((
double) cluster->
getPosition(2), 2)) > (25.0 * 25.0))
47 std::vector<double> kdhit(4);
52 std::memcpy(&kdhit[3], &key,
sizeof(key));
59 kdhits.push_back(kdhit);