SimpleClusterMergingAlgorithm class. More...
#include <SimpleClusterMergingAlgorithm.h>
Public Member Functions | |
SimpleClusterMergingAlgorithm () | |
Default constructor. More... | |
Private Member Functions | |
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. More... | |
void | PopulateClusterMergeMap (const pandora::ClusterVector &clusterVector, ClusterMergeMap &clusterMergeMap) const |
Form associations between pointing clusters. More... | |
bool | IsAssociated (const pandora::Cluster *const pClusterI, const pandora::Cluster *const pClusterJ) const |
Decide whether two clusters are associated. More... | |
pandora::StatusCode | ReadSettings (const pandora::TiXmlHandle xmlHandle) |
Private Attributes | |
unsigned int | m_minCaloHitsPerCluster |
The min number of calo hits per candidate cluster. More... | |
float | m_maxClusterSeparation |
Maximum distance at which clusters can be joined. More... | |
Additional Inherited Members | |
Protected Types inherited from lar_content::ClusterMergingAlgorithm | |
typedef std::unordered_map < const pandora::Cluster *, pandora::ClusterList > | ClusterMergeMap |
Protected Member Functions inherited from lar_content::ClusterMergingAlgorithm | |
virtual pandora::StatusCode | Run () |
void | MergeClusters (pandora::ClusterVector &clusterVector, ClusterMergeMap &clusterMergeMap) const |
Merge associated clusters. More... | |
void | CollectAssociatedClusters (const pandora::Cluster *const pSeedCluster, const ClusterMergeMap &clusterMergeMap, pandora::ClusterList &associatedClusterList) const |
Collect up all clusters associations related to a given seed cluster. More... | |
void | CollectAssociatedClusters (const pandora::Cluster *const pSeedCluster, const pandora::Cluster *const pCurrentCluster, const ClusterMergeMap &clusterMergeMap, const pandora::ClusterSet &clusterVetoList, pandora::ClusterList &associatedClusterList) const |
Collect up all clusters associations related to a given seed cluster. More... | |
void | GetSortedListOfCleanClusters (const pandora::ClusterVector &inputClusters, pandora::ClusterVector &outputClusters) const |
Sort the selected clusters, so that they have a well-defined ordering. More... | |
Protected Attributes inherited from lar_content::ClusterMergingAlgorithm | |
std::string | m_inputClusterListName |
The name of the input cluster list. If not specified, will access current list. More... | |
SimpleClusterMergingAlgorithm class.
Definition at line 21 of file SimpleClusterMergingAlgorithm.h.
lar_content::SimpleClusterMergingAlgorithm::SimpleClusterMergingAlgorithm | ( | ) |
Default constructor.
Definition at line 20 of file SimpleClusterMergingAlgorithm.cc.
|
privatevirtual |
Populate cluster vector with subset of cluster list, containing clusters judged to be clean.
pClusterList | address of the cluster list |
clusterVector | to receive the populated cluster vector |
Implements lar_content::ClusterMergingAlgorithm.
Definition at line 26 of file SimpleClusterMergingAlgorithm.cc.
|
private |
Decide whether two clusters are associated.
pClusterI | the address of the first cluster |
pClusterJ | the address of the second cluster |
Definition at line 70 of file SimpleClusterMergingAlgorithm.cc.
|
privatevirtual |
Form associations between pointing clusters.
clusterVector | the vector of clean clusters |
clusterMergeMap | the matrix of cluster associations |
Implements lar_content::ClusterMergingAlgorithm.
Definition at line 46 of file SimpleClusterMergingAlgorithm.cc.
|
privatevirtual |
Reimplemented from lar_content::ClusterMergingAlgorithm.
Definition at line 80 of file SimpleClusterMergingAlgorithm.cc.
|
private |
Maximum distance at which clusters can be joined.
Definition at line 46 of file SimpleClusterMergingAlgorithm.h.
|
private |
The min number of calo hits per candidate cluster.
Definition at line 45 of file SimpleClusterMergingAlgorithm.h.