DBScanAlg class definiton. More...
Public Member Functions | |
DBScanAlg (fhicl::ParameterSet const &pset) | |
Constructor. More... | |
~DBScanAlg () | |
Destructor. More... | |
void | configure (const fhicl::ParameterSet &) override |
Interface for configuring the particular algorithm tool. More... | |
void | Cluster3DHits (reco::HitPairList &hitPairList, reco::ClusterParametersList &clusterParametersList) const override |
Given a set of recob hits, run DBscan to form 3D clusters. More... | |
void | Cluster3DHits (reco::HitPairListPtr &hitPairList, reco::ClusterParametersList &clusterParametersList) const override |
Given a set of recob hits, run DBscan to form 3D clusters. More... | |
float | getTimeToExecute (IClusterAlg::TimeValues index) const override |
If monitoring, recover the time to execute a particular function. More... | |
Public Member Functions inherited from lar_cluster3d::IClusterAlg | |
virtual | ~IClusterAlg () noexcept=default |
Virtual Destructor. More... | |
Private Member Functions | |
void | expandCluster (const kdTree::KdTreeNode &, kdTree::CandPairList &, reco::ClusterParameters &, size_t) const |
the main routine for DBScan More... | |
Private Attributes | |
bool | m_enableMonitoring |
Data members to follow. More... | |
size_t | m_minPairPts |
std::vector< float > | m_timeVector |
std::unique_ptr< lar_cluster3d::IClusterParametersBuilder > | m_clusterBuilder |
Common cluster builder tool. More... | |
kdTree | m_kdTree |
Additional Inherited Members | |
Public Types inherited from lar_cluster3d::IClusterAlg | |
enum | TimeValues { BUILDTHREEDHITS = 0, BUILDHITTOHITMAP = 1, RUNDBSCAN = 2, BUILDCLUSTERINFO = 3, PATHFINDING = 4, NUMTIMEVALUES } |
enumerate the possible values for time checking if monitoring timing More... | |
DBScanAlg class definiton.
Definition at line 34 of file DBScanAlg_tool.cc.
|
explicit |
Constructor.
pset |
Definition at line 95 of file DBScanAlg_tool.cc.
lar_cluster3d::DBScanAlg::~DBScanAlg | ( | ) |
|
overridevirtual |
Given a set of recob hits, run DBscan to form 3D clusters.
hitPairList | The input list of 3D hits to run clustering on |
clusterParametersList | A list of cluster objects (parameters from associated hits) |
Driver for processing input 2D hits, transforming to 3D hits and building lists of associated 3D hits (candidate 3D clusters)
Implements lar_cluster3d::IClusterAlg.
Definition at line 135 of file DBScanAlg_tool.cc.
|
overridevirtual |
Given a set of recob hits, run DBscan to form 3D clusters.
hitPairList | The input list of 3D hits to run clustering on |
clusterParametersList | A list of cluster objects (parameters from associated hits) |
Driver for processing input 2D hits, transforming to 3D hits and building lists of associated 3D hits (candidate 3D clusters)
Implements lar_cluster3d::IClusterAlg.
Definition at line 218 of file DBScanAlg_tool.cc.
|
overridevirtual |
Interface for configuring the particular algorithm tool.
ParameterSet | The input set of parameters for configuration |
Implements lar_cluster3d::IClusterAlg.
Definition at line 108 of file DBScanAlg_tool.cc.
|
private |
the main routine for DBScan
Definition at line 301 of file DBScanAlg_tool.cc.
|
inlineoverridevirtual |
If monitoring, recover the time to execute a particular function.
Implements lar_cluster3d::IClusterAlg.
Definition at line 72 of file DBScanAlg_tool.cc.
|
private |
Common cluster builder tool.
Definition at line 91 of file DBScanAlg_tool.cc.
|
private |
Data members to follow.
Definition at line 87 of file DBScanAlg_tool.cc.
|
private |
Definition at line 92 of file DBScanAlg_tool.cc.
|
private |
Definition at line 88 of file DBScanAlg_tool.cc.
|
mutableprivate |
Definition at line 89 of file DBScanAlg_tool.cc.