#include <DBScan3DAlg.h>
Public Member Functions | |
DBScan3DAlg (fhicl::ParameterSet const &pset) | |
void | init (const std::vector< art::Ptr< recob::SpacePoint >> &sps, art::FindManyP< recob::Hit > &hitFromSp) |
void | dbscan () |
Public Attributes | |
std::vector< point_t > | points |
Private Member Functions | |
node_t * | create_node (unsigned int index) |
int | append_at_end (unsigned int index, epsilon_neighbours_t *en) |
epsilon_neighbours_t * | get_epsilon_neighbours (unsigned int index) |
void | destroy_epsilon_neighbours (epsilon_neighbours_t *en) |
int | expand (unsigned int index, unsigned int cluster_id) |
int | spread (unsigned int index, epsilon_neighbours_t *seeds, unsigned int cluster_id) |
float | dist (point_t *a, point_t *b) const |
Private Attributes | |
double | epsilon |
unsigned int | minpts |
double | badchannelweight |
unsigned int | neighbors |
std::map< geo::WireID, int > | badchannelmap |
Definition at line 77 of file DBScan3DAlg.h.
cluster::DBScan3DAlg::DBScan3DAlg | ( | fhicl::ParameterSet const & | pset | ) |
Definition at line 18 of file DBScan3DAlg.cxx.
|
private |
Definition at line 77 of file DBScan3DAlg.cxx.
|
private |
Definition at line 65 of file DBScan3DAlg.cxx.
void cluster::DBScan3DAlg::dbscan | ( | ) |
Definition at line 133 of file DBScan3DAlg.cxx.
|
private |
Definition at line 120 of file DBScan3DAlg.cxx.
Definition at line 207 of file DBScan3DAlg.cxx.
|
private |
Definition at line 144 of file DBScan3DAlg.cxx.
|
private |
Definition at line 96 of file DBScan3DAlg.cxx.
void cluster::DBScan3DAlg::init | ( | const std::vector< art::Ptr< recob::SpacePoint >> & | sps, |
art::FindManyP< recob::Hit > & | hitFromSp | ||
) |
Definition at line 29 of file DBScan3DAlg.cxx.
|
private |
Definition at line 175 of file DBScan3DAlg.cxx.
|
private |
Definition at line 95 of file DBScan3DAlg.h.
|
private |
Definition at line 93 of file DBScan3DAlg.h.
|
private |
Definition at line 91 of file DBScan3DAlg.h.
|
private |
Definition at line 92 of file DBScan3DAlg.h.
|
private |
Definition at line 94 of file DBScan3DAlg.h.
std::vector<point_t> cluster::DBScan3DAlg::points |
Definition at line 83 of file DBScan3DAlg.h.