Function larflow::reco::cluster_spacepoint_v

Function Documentation

void larflow::reco::cluster_spacepoint_v(const std::vector<std::vector<float>> &points_v, std::vector<cluster_t> &cluster_v, const float maxdist, const int minsize, const int maxkd)

make clusters from vector of floats using DB scan

Parameters
  • points_v: vector of 3D space points represented as a vector<float>
  • cluster_v: Container of larflow::reco::cluster_t objects made
  • maxdist: maximum distance two points can be connected
  • minsize: minimum size of cluster
  • maxkd: maximum number of connections a node can have