LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
SimpleClusterGrowingAlgorithm class. More...
#include "SimpleClusterGrowingAlgorithm.h"
Public Member Functions | |
SimpleClusterGrowingAlgorithm () | |
Default constructor. More... | |
Protected Types | |
typedef std::unordered_map< const pandora::Cluster *, pandora::ClusterList > | ClusterMergeMap |
Protected Member Functions | |
virtual pandora::StatusCode | Run () |
Private Member Functions | |
void | GetListOfCleanClusters (const pandora::ClusterList *const pClusterList, pandora::ClusterVector &cleanClusters) const |
Populate cluster vector with the subset of clusters judged to be clean. More... | |
void | GetListOfSeedClusters (const pandora::ClusterVector &inputClusters, pandora::ClusterVector &seedClusters) const |
Select seed clusters for growing. More... | |
pandora::StatusCode | ReadSettings (const pandora::TiXmlHandle xmlHandle) |
Private Attributes | |
unsigned int | m_minCaloHitsPerCluster |
The minimum number of calo hits per seed cluster. More... | |
SimpleClusterGrowingAlgorithm class.
Definition at line 21 of file SimpleClusterGrowingAlgorithm.h.
|
protectedinherited |
Definition at line 33 of file ClusterGrowingAlgorithm.h.
lar_content::SimpleClusterGrowingAlgorithm::SimpleClusterGrowingAlgorithm | ( | ) |
Default constructor.
Definition at line 20 of file SimpleClusterGrowingAlgorithm.cc.
|
privatevirtual |
Populate cluster vector with the subset of clusters judged to be clean.
pClusterList | address of the cluster list |
cleanClusters | the output vector of clean clusters |
Implements lar_content::ClusterGrowingAlgorithm.
Definition at line 27 of file SimpleClusterGrowingAlgorithm.cc.
References lar_content::LArClusterHelper::SortByNHits().
|
privatevirtual |
Select seed clusters for growing.
cleanClusters | the input vector of clean clusters |
seedClusters | the output vector of seed clusters |
Implements lar_content::ClusterGrowingAlgorithm.
Definition at line 44 of file SimpleClusterGrowingAlgorithm.cc.
References m_minCaloHitsPerCluster, and lar_content::LArClusterHelper::SortByNHits().
|
privatevirtual |
Reimplemented from lar_content::ClusterGrowingAlgorithm.
Definition at line 61 of file SimpleClusterGrowingAlgorithm.cc.
References m_minCaloHitsPerCluster, and lar_content::ClusterGrowingAlgorithm::ReadSettings().
|
protectedvirtualinherited |
Definition at line 27 of file ClusterGrowingAlgorithm.cc.
References lar_content::ClusterGrowingAlgorithm::GetListOfCleanClusters(), lar_content::ClusterGrowingAlgorithm::GetListOfNonSeedClusters(), lar_content::ClusterGrowingAlgorithm::GetListOfSeedClusters(), lar_content::ClusterGrowingAlgorithm::m_inputClusterListName, lar_content::ClusterGrowingAlgorithm::MergeClusters(), and lar_content::ClusterGrowingAlgorithm::PopulateClusterMergeMap().
|
private |
The minimum number of calo hits per seed cluster.
Definition at line 35 of file SimpleClusterGrowingAlgorithm.h.
Referenced by GetListOfSeedClusters(), and ReadSettings().