33 #define UNCLASSIFIED -1
37 #define NOT_CORE_POINT 0
42 #include "canvas/Persistency/Common/Ptr.h"
43 #include "canvas/Persistency/Common/FindManyP.h"
44 namespace fhicl {
class ParameterSet; }
56 art::Ptr<recob::SpacePoint>
sp;
85 art::FindManyP<recob::Hit>& hitFromSp);
101 int expand(
unsigned int index,
102 unsigned int cluster_id);
103 int spread(
unsigned int index,
105 unsigned int cluster_id);
112 #endif // ifndef DBSCAN3DALG_H
std::map< geo::WireID, int > badchannelmap
art::Ptr< recob::SpacePoint > sp
Declaration of signal hit object.
epsilon_neighbours_t * get_epsilon_neighbours(unsigned int index)
auto vector(Vector const &v)
Returns a manipulator which will print the specified array.
void init(const std::vector< art::Ptr< recob::SpacePoint >> &sps, art::FindManyP< recob::Hit > &hitFromSp)
float dist(point_t *a, point_t *b) const
int expand(unsigned int index, unsigned int cluster_id)
Definition of data types for geometry description.
node_t * create_node(unsigned int index)
int append_at_end(unsigned int index, epsilon_neighbours_t *en)
std::vector< TrajPoint > seeds
DBScan3DAlg(fhicl::ParameterSet const &pset)
std::vector< point_t > points
int spread(unsigned int index, epsilon_neighbours_t *seeds, unsigned int cluster_id)
unsigned int nbadchannels
void destroy_epsilon_neighbours(epsilon_neighbours_t *en)