21 namespace recob {
class Hit; }
43 std::set<uint32_t> badChannels,
44 const std::vector<geo::WireID> & wireids = std::vector< geo::WireID>());
45 double getSimilarity(
const std::vector<double> v1,
46 const std::vector<double> v2);
47 std::vector<unsigned int> findNeighbors(
unsigned int pid,
50 void computeSimilarity();
52 double getSimilarity2(
const std::vector<double> v1,
53 const std::vector<double> v2);
54 void computeSimilarity2();
55 double getWidthFactor(
const std::vector<double> v1,
56 const std::vector<double> v2);
57 void computeWidthFactor();
61 std::vector<std::vector<double> >
fps;
63 std::vector<std::vector<double> >
fsim;
64 std::vector<std::vector<double> >
fsim2;
65 std::vector<std::vector<double> >
fsim3;
93 void run_dbscan_cluster();
94 void run_FN_cluster();
95 void run_FN_naive_cluster();
99 bool ExpandCluster(
unsigned int point ,
100 unsigned int clusterID );
101 std::set<unsigned int> RegionQuery(
unsigned int point);
103 std::vector<unsigned int> RegionQuery_vector(
unsigned int point);
109 #endif // ifndef DBSCANALG_H Reconstruction base classes.
std::vector< uint32_t > fBadWireSum
Implementation of an RTree with an R* index.
std::vector< std::vector< double > > fps
the collection of points we are working on
Cluster finding and building.
std::vector< std::vector< double > > fsim3
auto vector(Vector const &v)
Returns a manipulator which will print the specified array.
std::vector< unsigned int > fpointId_to_clusterId
mapping point_id -> clusterId
RTree::BoundingBox BoundingBox
std::vector< std::vector< double > > fsim
unsigned int fClusterMethod
Which clustering method to use.
std::vector< bool > fvisited
std::vector< dbsPoint > fRect
std::vector< double > fWirePitch
the pitch of the wires in each plane
std::vector< std::vector< unsigned int > > fclusters
collection of something
RStarTree< uint32_t, 2, 32, 64 > RTree
std::set< uint32_t > fBadChannels
set of bad channels in this detector
std::vector< std::vector< double > > fsim2
art framework interface to geometry description
std::vector< bool > fnoise
unsigned int fDistanceMetric
Which distance metric to use.