LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
DeltaRayGrowingAlgorithm.h
Go to the documentation of this file.
1 
8 #ifndef LAR_DELTA_RAY_GROWING_ALGORITHM_H
9 #define LAR_DELTA_RAY_GROWING_ALGORITHM_H 1
10 
11 #include "Pandora/Algorithm.h"
12 
14 
15 namespace lar_content
16 {
17 
22 {
23 public:
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 
39  void GetPfos(const std::string inputPfoListName, pandora::PfoVector &pfoVector) const;
40 
41  pandora::StatusCode ReadSettings(const pandora::TiXmlHandle xmlHandle);
42 
43  std::string m_parentPfoListName;
44  std::string m_daughterPfoListName;
45 
46  unsigned int m_minCaloHitsPerCluster;
47  unsigned int m_minSeedClusterCaloHits;
50 };
51 
52 } // namespace lar_content
53 
54 #endif // #ifndef LAR_DELTA_RAY_GROWING_ALGORITHM_H
Header file for the cluster growing algorithm class.
float m_maxSeedClusterLength
The maximum length of a parent clusters.
pandora::StatusCode ReadSettings(const pandora::TiXmlHandle xmlHandle)
void GetListOfSeedClusters(const pandora::ClusterVector &inputClusters, pandora::ClusterVector &seedClusters) const
Select seed clusters for growing.
std::string m_daughterPfoListName
The daughter Pfo list name.
void GetListOfCleanClusters(const pandora::ClusterList *const pClusterList, pandora::ClusterVector &cleanClusters) const
Populate cluster vector with the subset of clusters judged to be clean.
unsigned int m_minCaloHitsPerCluster
The minimum number of calo hits per candidate cluster.
ClusterGrowingAlgorithm class.
unsigned int m_minSeedClusterCaloHits
The minimum number of calo hits for seed clusters.
DeltaRayGrowingAlgorithm class.
std::vector< art::Ptr< recob::Cluster > > ClusterVector
std::string m_parentPfoListName
The parent Pfo list name.
void GetPfos(const std::string inputPfoListName, pandora::PfoVector &pfoVector) const
Get a vector of Pfos from an input Pfo list name.
float m_maxSeedClusterDisplacement
The maximum distance between parent and daughter clusters.