SimpleClusterGrowingAlgorithm.h
Go to the documentation of this file.
1 /**
2  * @file larpandoracontent/LArTwoDReco/LArClusterAssociation/SimpleClusterGrowingAlgorithm.h
3  *
4  * @brief Header file for the simple cluster growing algorithm class.
5  *
6  * $Log: $
7  */
8 #ifndef LAR_SIMPLE_CLUSTER_GROWING_ALGORITHM_H
9 #define LAR_SIMPLE_CLUSTER_GROWING_ALGORITHM_H 1
10 
11 #include "Pandora/Algorithm.h"
12 
14 
15 namespace lar_content
16 {
17 
18 /**
19  * @brief SimpleClusterGrowingAlgorithm class
20  */
22 {
23 public:
24  /**
25  * @brief Default constructor
26  */
28 
29 private:
30  void GetListOfCleanClusters(const pandora::ClusterList *const pClusterList, pandora::ClusterVector &cleanClusters) const;
31  void GetListOfSeedClusters(const pandora::ClusterVector &inputClusters, pandora::ClusterVector &seedClusters) const;
32 
33  pandora::StatusCode ReadSettings(const pandora::TiXmlHandle xmlHandle);
34 
35  unsigned int m_minCaloHitsPerCluster; ///< The minimum number of calo hits per seed cluster
36 };
37 
38 } // namespace lar_content
39 
40 #endif // #ifndef LAR_SIMPLE_CLUSTER_GROWING_ALGORITHM_H
Header file for the cluster growing algorithm class.
pandora::StatusCode ReadSettings(const pandora::TiXmlHandle xmlHandle)
void GetListOfSeedClusters(const pandora::ClusterVector &inputClusters, pandora::ClusterVector &seedClusters) const
Select seed clusters for growing.
ClusterGrowingAlgorithm class.
void GetListOfCleanClusters(const pandora::ClusterList *const pClusterList, pandora::ClusterVector &cleanClusters) const
Populate cluster vector with the subset of clusters judged to be clean.
std::vector< art::Ptr< recob::Cluster > > ClusterVector
unsigned int m_minCaloHitsPerCluster
The minimum number of calo hits per seed cluster.