Function larflow::reco::cluster_larflow3dhits¶
- Defined in File cluster_functions.cxx
Function Documentation¶
-
void
larflow::reco::cluster_larflow3dhits(const std::vector<larlite::larflow3dhit> &hit_v, std::vector<cluster_t> &cluster_v, const float maxdist, const int minsize, const int maxkd)¶ use DB scan to cluster vector of larflow3dhit
- Parameters
hit_v: Vector of larflow3dhitcluster_v: Container of larflow::reco::cluster_t objects mademaxdist: maximum distance two points can be connectedminsize: minimum size of clustermaxkd: maximum number of connections a node can have