IsolatedClusterMopUpAlgorithm class. More...
#include <IsolatedClusterMopUpAlgorithm.h>
Public Member Functions | |
IsolatedClusterMopUpAlgorithm () | |
Default constructor. More... | |
Public Member Functions inherited from lar_content::ClusterMopUpBaseAlgorithm | |
ClusterMopUpBaseAlgorithm () | |
Default constructor. More... | |
Public Member Functions inherited from lar_content::MopUpBaseAlgorithm | |
template<typename T > | |
const std::string | GetListName (const T *const pT) const |
Find the name of the list hosting a specific object. More... | |
Private Types | |
typedef std::unordered_map< const pandora::CaloHit *, const pandora::Cluster * > | CaloHitToClusterMap |
typedef KDTreeLinkerAlgo< const pandora::CaloHit *, 2 > | HitKDTree2D |
typedef KDTreeNodeInfoT< const pandora::CaloHit *, 2 > | HitKDNode2D |
typedef std::vector< HitKDNode2D > | HitKDNode2DList |
Private Member Functions | |
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 cluster alterations. More... | |
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. More... | |
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. More... | |
pandora::StatusCode | ReadSettings (const pandora::TiXmlHandle xmlHandle) |
Private Attributes | |
unsigned int | m_maxCaloHitsInCluster |
The maximum number of hits in a cluster to be dissolved. More... | |
float | m_maxHitClusterDistance |
The maximum hit to cluster distance for isolated hit merging. More... | |
bool | m_addHitsAsIsolated |
Whether to add hits to clusters as "isolated" (don't contribute to spatial properties) More... | |
Additional Inherited Members | |
Protected Types inherited from lar_content::ClusterMopUpBaseAlgorithm | |
typedef std::unordered_map< const pandora::Cluster *, float > | AssociationDetails |
typedef std::unordered_map< const pandora::Cluster *, AssociationDetails > | ClusterAssociationMap |
Protected Member Functions inherited from lar_content::ClusterMopUpBaseAlgorithm | |
virtual pandora::StatusCode | Run () |
virtual void | GetPfoClusterLists (pandora::ClusterList &clusterListU, pandora::ClusterList &clusterListV, pandora::ClusterList &clusterListW) const |
Get the two dimensional clusters contained in the input pfo list, divided into three different views. More... | |
virtual void | GetDaughterClusterLists (pandora::ClusterList &clusterListU, pandora::ClusterList &clusterListV, pandora::ClusterList &clusterListW) const |
Get the two dimensional clusters contained in the input remant/daughter cluster lists, divided into three different views. More... | |
virtual void | GetClusterLists (const pandora::ClusterList &inputClusterList, const bool availabilityFlag, pandora::ClusterList &clusterListU, pandora::ClusterList &clusterListV, pandora::ClusterList &clusterListW) const |
Get the two dimensional clusters contained in an input cluster list, divided into three different views. More... | |
virtual void | MakeClusterMerges (const ClusterAssociationMap &clusterAssociationMap) const |
Make the cluster merges specified in the cluster association map, using list name information in the cluster list name map. More... | |
Protected Attributes inherited from lar_content::ClusterMopUpBaseAlgorithm | |
pandora::StringVector | m_pfoListNames |
The list of pfo list names. More... | |
bool | m_excludePfosContainingTracks |
Whether to exclude any pfos containing clusters flagged as fixed tracks. More... | |
Protected Attributes inherited from lar_content::MopUpBaseAlgorithm | |
pandora::StringVector | m_daughterListNames |
The list of potential daughter object list names. More... | |
IsolatedClusterMopUpAlgorithm class.
Definition at line 30 of file IsolatedClusterMopUpAlgorithm.h.
|
private |
Definition at line 49 of file IsolatedClusterMopUpAlgorithm.h.
|
private |
Definition at line 64 of file IsolatedClusterMopUpAlgorithm.h.
|
private |
Definition at line 65 of file IsolatedClusterMopUpAlgorithm.h.
|
private |
Definition at line 63 of file IsolatedClusterMopUpAlgorithm.h.
lar_content::IsolatedClusterMopUpAlgorithm::IsolatedClusterMopUpAlgorithm | ( | ) |
Default constructor.
Definition at line 22 of file IsolatedClusterMopUpAlgorithm.cc.
|
privatevirtual |
Cluster mop up for a single view. This function is responsible for instructing pandora to make cluster alterations.
pfoClusters | the list of pfo clusters |
remnantClusters | the list of remnant clusters |
Implements lar_content::ClusterMopUpBaseAlgorithm.
Definition at line 33 of file IsolatedClusterMopUpAlgorithm.cc.
|
private |
Examine a list of clusters, identify and delete remnants; receive the list of newly available hits.
clusterList | the list of clusters to consider |
caloHitList | to receive the list of newly available hits |
Definition at line 62 of file IsolatedClusterMopUpAlgorithm.cc.
|
private |
Look for isolated hit additions, considering a list of candidate hits and a list of host clusters.
caloHitList | the list of hits to consider |
clusterList | the list of clusters to consider |
caloHitToClusterMap | to receive the calo hit to cluster map |
Definition at line 77 of file IsolatedClusterMopUpAlgorithm.cc.
|
privatevirtual |
Reimplemented from lar_content::ClusterMopUpBaseAlgorithm.
Definition at line 116 of file IsolatedClusterMopUpAlgorithm.cc.
|
private |
Whether to add hits to clusters as "isolated" (don't contribute to spatial properties)
Definition at line 69 of file IsolatedClusterMopUpAlgorithm.h.
|
private |
The maximum number of hits in a cluster to be dissolved.
Definition at line 67 of file IsolatedClusterMopUpAlgorithm.h.
|
private |
The maximum hit to cluster distance for isolated hit merging.
Definition at line 68 of file IsolatedClusterMopUpAlgorithm.h.