ClusterExtensionAlgorithm class. More...
#include <ClusterExtensionAlgorithm.h>
Classes | |
class | ClusterAssociation |
ClusterAssociation class. More... | |
Protected Types | |
typedef std::unordered_map < const pandora::Cluster *, ClusterAssociation > | ClusterAssociationMap |
typedef std::unordered_map < const pandora::Cluster *, ClusterAssociationMap > | ClusterAssociationMatrix |
Protected Types inherited from lar_content::ClusterMergingAlgorithm | |
typedef std::unordered_map < const pandora::Cluster *, pandora::ClusterList > | ClusterMergeMap |
Protected Member Functions | |
void | PopulateClusterMergeMap (const pandora::ClusterVector &clusterVector, ClusterMergeMap &clusterMergeMatrix) const |
Form associations between pointing clusters. More... | |
virtual void | FillClusterAssociationMatrix (const pandora::ClusterVector &clusterVector, ClusterAssociationMatrix &clusterAssociationMatrix) const =0 |
Fill the cluster association matrix. More... | |
virtual void | FillClusterMergeMap (const ClusterAssociationMatrix &clusterAssociationMatrix, ClusterMergeMap &clusterMergeMap) const =0 |
Fill the cluster merge map. More... | |
Protected Member Functions inherited from lar_content::ClusterMergingAlgorithm | |
virtual pandora::StatusCode | Run () |
virtual pandora::StatusCode | ReadSettings (const pandora::TiXmlHandle xmlHandle) |
virtual void | GetListOfCleanClusters (const pandora::ClusterList *const pClusterList, pandora::ClusterVector &clusterVector) const =0 |
Populate cluster vector with subset of cluster list, containing clusters judged to be clean. More... | |
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... | |
Additional Inherited Members | |
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... | |
ClusterExtensionAlgorithm class.
Definition at line 21 of file ClusterExtensionAlgorithm.h.
|
protected |
Definition at line 97 of file ClusterExtensionAlgorithm.h.
|
protected |
Definition at line 98 of file ClusterExtensionAlgorithm.h.
|
protectedpure virtual |
Fill the cluster association matrix.
clusterVector | the input vector of clusters |
clusterAssociationMatrix | the matrix of associations |
Implemented in lar_content::TransverseExtensionAlgorithm, lar_content::CosmicRayExtensionAlgorithm, lar_content::CrossGapsExtensionAlgorithm, lar_content::LongitudinalExtensionAlgorithm, and lar_content::DeltaRayExtensionAlgorithm.
|
protectedpure virtual |
Fill the cluster merge map.
clusterAssociationMatrix | the matrix of cluster associations |
clusterMergeMap | the map of cluster merges |
Implemented in lar_content::TransverseExtensionAlgorithm, lar_content::CosmicRayExtensionAlgorithm, lar_content::CrossGapsExtensionAlgorithm, lar_content::LongitudinalExtensionAlgorithm, and lar_content::DeltaRayExtensionAlgorithm.
|
protectedvirtual |
Form associations between pointing clusters.
clusterVector | the vector of clean clusters |
clusterMergeMap | the matrix of cluster associations |
Implements lar_content::ClusterMergingAlgorithm.
Definition at line 18 of file ClusterExtensionAlgorithm.cc.