BoundedRegionClusterMergingAlgorithm class.
std::unordered_map< const pandora::Cluster *, pandora::ClusterList > ClusterMergeMap
void GetListOfBoundedRegionClusters(const pandora::ClusterList *const pClusterList, pandora::ClusterVector &clusterVector) const
Populate cluster vector with all clusters starting in the defined region.
void PopulateClusterMergeMap(const pandora::ClusterVector &clusterVector, ClusterMergeMap &clusterMergeMap) const
Form associations between pointing clusters.
virtual pandora::StatusCode Run()
virtual pandora::StatusCode ReadSettings(const pandora::TiXmlHandle xmlHandle)
float m_maxDistance
Maximum distance below which clusters can be associated.
float m_xRegionMin
Minimum x value of the bounded region box.
float m_zRegionMax
Maximum z value (wire dimension) of the bounded region box.
float m_xRegionMax
Maximum x value of the bounded region box.
unsigned int m_minClusterHits
Threshold on the size of clusters to be considered for merging.
void GetListOfCleanClusters(const pandora::ClusterList *const pClusterList, pandora::ClusterVector &clusterVector) const
Populate cluster vector with subset of cluster list, containing clusters judged to be clean...
float m_zRegionMin
Minimum z value (wire dimension) of the bounded region box.
bool AreClustersAssociated(const pandora::Cluster *const pCluster1, const pandora::Cluster *const pCluster2) const
Compare two clusters and decide if they should be associated with each other.
ClusterMergingAlgorithm class.