Function larflow::reco::cluster_dist_from_pcaline

Function Documentation

float larflow::reco::cluster_dist_from_pcaline(const cluster_t &cluster, const std::vector<float> &pt)

get distance of test point from pca-axis

Return
distnce from first PCA line
Parameters
  • cluster: Cluster to test. Using end points saved in clust.pca_ends_v to perform calculation
  • pt: test point