All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
TransverseExtensionAlgorithm.h
Go to the documentation of this file.
1 /**
2  * @file larpandoracontent/LArTwoDReco/LArClusterAssociation/TransverseExtensionAlgorithm.h
3  *
4  * @brief Header file for the transverse extension algorithm class.
5  *
6  * $Log: $
7  */
8 #ifndef LAR_TRANSVERSE_EXTENSION_ALGORITHM_H
9 #define LAR_TRANSVERSE_EXTENSION_ALGORITHM_H 1
10 
11 #include "Pandora/Algorithm.h"
12 
14 
16 
17 namespace lar_content
18 {
19 
20 /**
21  * @brief TransverseExtensionAlgorithm class
22  */
24 {
25 public:
26  /**
27  * @brief Default constructor
28  */
30 
31 private:
32  void GetListOfCleanClusters(const pandora::ClusterList *const pClusterList, pandora::ClusterVector &clusterVector) const;
33  void FillClusterAssociationMatrix(const pandora::ClusterVector &clusterVector, ClusterAssociationMatrix &clusterAssociationMatrix) const;
34  void FillClusterMergeMap(const ClusterAssociationMatrix &clusterAssociationMatrix, ClusterMergeMap &clusterMergeMap) const;
35 
36  /**
37  * @brief Form associations between parent and daughter clusters
38  *
39  * @param parentCluster the parent pointing cluster
40  * @param pDaughterCluster the address of the daughter cluster
41  * @param clusterAssociationMatrix the matrix of cluster associations
42  */
43  void FillClusterAssociationMatrix(const LArPointingCluster &parentCluster, const pandora::Cluster *const pDaughterCluster,
44  ClusterAssociationMatrix &clusterAssociationMatrix) const;
45 
46  pandora::StatusCode ReadSettings(const pandora::TiXmlHandle xmlHandle);
47 
48  float m_minClusterLength; ///<
51 };
52 
53 } // namespace lar_content
54 
55 #endif // #ifndef LAR_TRANSVERSE_EXTENSION_ALGORITHM_H
Header file for the lar pointing cluster class.
void FillClusterAssociationMatrix(const pandora::ClusterVector &clusterVector, ClusterAssociationMatrix &clusterAssociationMatrix) const
Fill the cluster association matrix.
LArPointingCluster 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 *, ClusterAssociationMap > ClusterAssociationMatrix
pandora::StatusCode ReadSettings(const pandora::TiXmlHandle xmlHandle)
Header file for the cluster extension algorithm class.
std::unordered_map< const pandora::Cluster *, pandora::ClusterList > ClusterMergeMap
std::vector< art::Ptr< recob::Cluster > > ClusterVector