DeltaRayGrowingAlgorithm.h
Go to the documentation of this file.
1 /**
2  * @file larpandoracontent/LArTwoDReco/LArCosmicRay/CosmicRayShowerGrowingAlgorithm.h
3  *
4  * @brief Header file for the delta ray growing algorithm class.
5  *
6  * $Log: $
7  */
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 
18 /**
19  * @brief DeltaRayGrowingAlgorithm 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  /**
34  * @brief Get a vector of Pfos from an input Pfo list name
35  *
36  * @param inputPfoListName the input Pfo list name
37  * @param pfoVector the output vector of Pfos
38  */
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; ///< The parent Pfo list name
44  std::string m_daughterPfoListName; ///< The daughter Pfo list name
45 
46  unsigned int m_minCaloHitsPerCluster; ///< The minimum number of calo hits per candidate cluster
47  unsigned int m_minSeedClusterCaloHits; ///< The minimum number of calo hits for seed clusters
48  float m_maxSeedClusterLength; ///< The maximum length of a parent clusters
49  float m_maxSeedClusterDisplacement; ///< The maximum distance between parent and daughter clusters
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)
std::string string
Definition: nybbler.cc:12
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.