All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
LongitudinalExtensionAlgorithm.h
Go to the documentation of this file.
1 /**
2  * @file larpandoracontent/LArTwoDReco/LArClusterAssociation/LongitudinalExtensionAlgorithm.h
3  *
4  * @brief Header file for the longitudinal extension algorithm class.
5  *
6  * $Log: $
7  */
8 #ifndef LAR_LONGITUDINAL_EXTENSION_ALGORITHM_H
9 #define LAR_LONGITUDINAL_EXTENSION_ALGORITHM_H 1
10 
12 
14 
15 namespace lar_content
16 {
17 
18 /**
19  * @brief LongitudinalExtensionAlgorithm class
20  */
22 {
23 public:
24  /**
25  * @brief Default constructor
26  */
28 
29 private:
30  void GetListOfCleanClusters(const pandora::ClusterList *const pClusterList, pandora::ClusterVector &clusterVector) const;
31  void FillClusterAssociationMatrix(const pandora::ClusterVector &clusterVector, ClusterAssociationMatrix &clusterAssociationMatrix) const;
32  void FillClusterMergeMap(const ClusterAssociationMatrix &clusterAssociationMatrix, ClusterMergeMap &clusterMergeMap) const;
33 
34  /**
35  * @brief Form association between two pointing clusters
36  *
37  * @param clusterI the first pointing cluster
38  * @param clusterJ the second pointing cluster
39  * @param clusterAssociationMatrix the matrix of cluster associations
40  */
42  const LArPointingCluster &clusterI, const LArPointingCluster &clusterJ, ClusterAssociationMatrix &clusterAssociationMatrix) const;
43 
44  pandora::StatusCode ReadSettings(const pandora::TiXmlHandle xmlHandle);
45 
46  float m_clusterMinLength; ///<
53 };
54 
55 } // namespace lar_content
56 
57 #endif // #ifndef LAR_LONGITUDINAL_EXTENSION_ALGORITHM_H
pandora::StatusCode ReadSettings(const pandora::TiXmlHandle xmlHandle)
Header file for the lar pointing cluster class.
void FillClusterAssociationMatrix(const pandora::ClusterVector &clusterVector, ClusterAssociationMatrix &clusterAssociationMatrix) const
Fill the cluster association matrix.
LArPointingCluster class.
std::unordered_map< const pandora::Cluster *, ClusterAssociationMap > ClusterAssociationMatrix
Header file for the cluster extension algorithm class.
void FillClusterMergeMap(const ClusterAssociationMatrix &clusterAssociationMatrix, ClusterMergeMap &clusterMergeMap) const
Fill the cluster merge map.
void GetListOfCleanClusters(const pandora::ClusterList *const pClusterList, pandora::ClusterVector &clusterVector) const
Populate cluster vector with subset of cluster list, containing clusters judged to be clean...
std::unordered_map< const pandora::Cluster *, pandora::ClusterList > ClusterMergeMap
std::vector< art::Ptr< recob::Cluster > > ClusterVector