ClusterMopUpBaseAlgorithm class.
IsolatedClusterMopUpAlgorithm class.
void GetCaloHitToClusterMap(const pandora::CaloHitList &caloHitList, const pandora::ClusterList &clusterList, CaloHitToClusterMap &caloHitToClusterMap) const
Look for isolated hit additions, considering a list of candidate hits and a list of host clusters.
float m_maxHitClusterDistance
The maximum hit to cluster distance for isolated hit merging.
pandora::StatusCode ReadSettings(const pandora::TiXmlHandle xmlHandle)
Read the algorithm settings.
IsolatedClusterMopUpAlgorithm()
Default constructor.
KDTreeLinkerAlgo< const pandora::CaloHit *, 2 > HitKDTree2D
bool m_addHitsAsIsolated
Whether to add hits to clusters as "isolated" (don't contribute to spatial properties)
std::unordered_map< const pandora::CaloHit *, const pandora::Cluster * > CaloHitToClusterMap
KDTreeNodeInfoT< const pandora::CaloHit *, 2 > HitKDNode2D
void ClusterMopUp(const pandora::ClusterList &pfoClusters, const pandora::ClusterList &remnantClusters) const
Cluster mop up for a single view. This function is responsible for instructing pandora to make cluste...
void DissolveClustersToHits(const pandora::ClusterList &clusterList, pandora::CaloHitList &caloHitList) const
Examine a list of clusters, identify and delete remnants; receive the list of newly available hits.
unsigned int m_maxCaloHitsInCluster
The maximum number of hits in a cluster to be dissolved.
std::vector< HitKDNode2D > HitKDNode2DList
Class that implements the KDTree partition of 2D space and a closest point search algorithm.
Data stored in each KDTree node. The dim1/dim2 fields are usually the duplication of some PFRecHit va...