Function larflow::reco::cluster_closest_endpt_dist

Function Documentation

float larflow::reco::cluster_closest_endpt_dist(const cluster_t &clust_a, const cluster_t &clust_b, std::vector<std::vector<float>> &endpts)

calculate closest distance from cluster pca end points

uses larflow::reco::cluster_t::pca_ends_v

Return
distance between closest end points in cm
Parameters
  • clust_a: First cluster.
  • clust_b: Second cluster.
  • endpts: End point on clust_a and end point on clust_b are returned