ClusterAssociationAlgorithm class.
More...
#include "ClusterAssociationAlgorithm.h"
|
void | UnambiguousPropagation (const pandora::Cluster *const pCluster, const bool isForward, ClusterAssociationMap &clusterAssociationMap) const |
| Unambiguous propagation.
|
|
void | AmbiguousPropagation (const pandora::Cluster *const pCluster, const bool isForward, ClusterAssociationMap &clusterAssociationMap) const |
| Ambiguous propagation.
|
|
void | UpdateForUnambiguousMerge (const pandora::Cluster *const pClusterToEnlarge, const pandora::Cluster *const pClusterToDelete, const bool isForwardMerge, ClusterAssociationMap &clusterAssociationMap) const |
| Update cluster association map to reflect an unambiguous cluster merge.
|
|
void | UpdateForAmbiguousMerge (const pandora::Cluster *const pCluster, ClusterAssociationMap &clusterAssociationMap) const |
| Update cluster association map to reflect an ambiguous cluster merge.
|
|
void | NavigateAlongAssociations (const ClusterAssociationMap &clusterAssociationMap, const pandora::Cluster *const pCluster, const bool isForward, const pandora::Cluster *&pExtremalCluster, pandora::ClusterSet &clusterSet) const |
| Navigate along cluster associations, from specified cluster, in specified direction.
|
|
◆ lar_content::ClusterAssociationAlgorithm::ClusterAssociation
class lar_content::ClusterAssociationAlgorithm::ClusterAssociation |
Class Members |
ClusterSet |
m_backwardAssociations |
The list of backward associations. |
ClusterSet |
m_forwardAssociations |
The list of forward associations. |
◆ ClusterAssociationMap
◆ ClusterAssociationAlgorithm()
lar_content::ClusterAssociationAlgorithm::ClusterAssociationAlgorithm |
( |
| ) |
|
◆ AmbiguousPropagation()
void lar_content::ClusterAssociationAlgorithm::AmbiguousPropagation |
( |
const pandora::Cluster *const |
pCluster, |
|
|
const bool |
isForward, |
|
|
ClusterAssociationMap & |
clusterAssociationMap |
|
) |
| const |
|
private |
Ambiguous propagation.
- Parameters
-
pCluster | address of the cluster to propagate |
isForward | whether propagation direction is forward |
clusterAssociationMap | the cluster association map |
Definition at line 121 of file ClusterAssociationAlgorithm.cc.
◆ GetInstanceName()
const std::string & pandora::Process::GetInstanceName |
( |
| ) |
const |
|
inlineinherited |
Get the instance name.
- Returns
- The instance name
Definition at line 109 of file Process.h.
◆ GetListOfCleanClusters()
◆ GetPandora()
const Pandora & pandora::Process::GetPandora |
( |
| ) |
const |
|
inlineinherited |
Get the associated pandora instance.
- Returns
- the associated pandora instance
Definition at line 116 of file Process.h.
◆ GetType()
const std::string & pandora::Process::GetType |
( |
| ) |
const |
|
inlineinherited |
Get the type.
- Returns
- The type
Definition at line 102 of file Process.h.
◆ Initialize()
|
inlineprotectedvirtualinherited |
◆ IsExtremalCluster()
virtual bool lar_content::ClusterAssociationAlgorithm::IsExtremalCluster |
( |
const bool |
isForward, |
|
|
const pandora::Cluster *const |
pCurrentCluster, |
|
|
const pandora::Cluster *const |
pTestCluster |
|
) |
| const |
|
protectedpure virtual |
◆ NavigateAlongAssociations()
Navigate along cluster associations, from specified cluster, in specified direction.
- Parameters
-
clusterAssociationMap | the cluster association map |
pCluster | address of cluster with which to begin search |
isForward | whether propagation direction is forward |
pExtremalCluster | to receive the extremal cluster |
clusterSet | to receive set of clusters traversed |
Definition at line 231 of file ClusterAssociationAlgorithm.cc.
◆ PopulateClusterAssociationMap()
◆ ReadSettings()
◆ RegisterDetails()
StatusCode pandora::Process::RegisterDetails |
( |
const Pandora *const |
pPandora, |
|
|
const std::string & |
type, |
|
|
const std::string & |
instanceName |
|
) |
| |
|
inlineprotectedinherited |
Register i) the pandora instance that will run the process and ii) the process type.
- Parameters
-
pPandora | address of the pandora object that will run the process |
type | the process type |
instanceName | the process instance name |
Definition at line 146 of file Process.h.
◆ Reset()
|
inlineprotectedvirtualinherited |
◆ Run()
StatusCode lar_content::ClusterAssociationAlgorithm::Run |
( |
| ) |
|
|
protectedvirtual |
◆ UnambiguousPropagation()
void lar_content::ClusterAssociationAlgorithm::UnambiguousPropagation |
( |
const pandora::Cluster *const |
pCluster, |
|
|
const bool |
isForward, |
|
|
ClusterAssociationMap & |
clusterAssociationMap |
|
) |
| const |
|
private |
Unambiguous propagation.
- Parameters
-
pCluster | address of the cluster to propagate |
isForward | whether propagation direction is forward |
clusterAssociationMap | the cluster association map |
Definition at line 87 of file ClusterAssociationAlgorithm.cc.
◆ UpdateForAmbiguousMerge()
Update cluster association map to reflect an ambiguous cluster merge.
- Parameters
-
pCluster | address of the cluster to be cleared |
clusterAssociationMap | the cluster association map |
Definition at line 204 of file ClusterAssociationAlgorithm.cc.
◆ UpdateForUnambiguousMerge()
Update cluster association map to reflect an unambiguous cluster merge.
- Parameters
-
pClusterToEnlarge | address of the cluster to be enlarged |
pClusterToDelete | address of the cluster to be deleted |
isForwardMerge | whether merge is forward (pClusterToEnlarge is forward-associated with pClusterToDelete) |
clusterAssociationMap | the cluster association map |
Definition at line 166 of file ClusterAssociationAlgorithm.cc.
◆ m_instanceName
std::string pandora::Process::m_instanceName |
|
protectedinherited |
The process instance name.
Definition at line 89 of file Process.h.
◆ m_mergeMade
bool lar_content::ClusterAssociationAlgorithm::m_mergeMade |
|
mutableprivate |
◆ m_pPandora
const Pandora* pandora::Process::m_pPandora |
|
protectedinherited |
The pandora object that will run the process.
Definition at line 87 of file Process.h.
◆ m_resolveAmbiguousAssociations
bool lar_content::ClusterAssociationAlgorithm::m_resolveAmbiguousAssociations |
|
private |
◆ m_type
std::string pandora::Process::m_type |
|
protectedinherited |
The process type.
Definition at line 88 of file Process.h.
The documentation for this class was generated from the following files: