LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
BranchGrowingAlgorithm class. More...
#include "BranchGrowingAlgorithm.h"
Classes | |
class | Association |
Association class. More... | |
Protected Types | |
enum | AssociationType { NONE = 0, SINGLE_ORDER = 1, STANDARD = 2, STRONG = 3 } |
AssociationType enum. More... | |
typedef std::unordered_map< const pandora::Cluster *, Association > | ClusterAssociationMap |
typedef std::unordered_map< const pandora::Cluster *, ClusterAssociationMap > | ClusterUsageMap |
typedef std::unordered_map< const pandora::Cluster *, pandora::ClusterVector > | SeedAssociationList |
Protected Member Functions | |
virtual AssociationType | AreClustersAssociated (const pandora::Cluster *const pClusterSeed, const pandora::Cluster *const pCluster) const =0 |
Determine whether two clusters are associated. More... | |
void | FindAssociatedClusters (const pandora::Cluster *const pParticleSeed, pandora::ClusterVector &candidateClusters, ClusterUsageMap &forwardUsageMap, ClusterUsageMap &backwardUsageMap) const |
Find clusters associated with a particle seed. More... | |
void | IdentifyClusterMerges (const pandora::ClusterVector &particleSeedVector, const ClusterUsageMap &backwardUsageMap, SeedAssociationList &seedAssociationList) const |
Identify cluster merges. More... | |
virtual pandora::StatusCode | ReadSettings (const pandora::TiXmlHandle xmlHandle) |
BranchGrowingAlgorithm class.
Definition at line 21 of file BranchGrowingAlgorithm.h.
|
protected |
Definition at line 87 of file BranchGrowingAlgorithm.h.
|
protected |
Definition at line 88 of file BranchGrowingAlgorithm.h.
|
protected |
Definition at line 111 of file BranchGrowingAlgorithm.h.
|
protected |
AssociationType enum.
Enumerator | |
---|---|
NONE | |
SINGLE_ORDER | |
STANDARD | |
STRONG |
Definition at line 27 of file BranchGrowingAlgorithm.h.
|
protectedpure virtual |
Determine whether two clusters are associated.
pClusterSeed | address of cluster seed (may be daughter of primary seed) |
pCluster | address of cluster |
Implemented in lar_content::ShowerGrowingAlgorithm.
|
protected |
Find clusters associated with a particle seed.
pParticleSeed | address of the particle seed |
candidateClusters | list of clusters which may be associated with seed |
forwardUsageMap | the particle seed usage map |
backwardUsageMap | the cluster usage map |
Definition at line 20 of file BranchGrowingAlgorithm.cc.
References lar_content::BranchGrowingAlgorithm::Association::GetType(), and lar_content::BranchGrowingAlgorithm::Association::SetType().
Referenced by lar_content::ShowerGrowingAlgorithm::GetSeedAssociationList().
|
protected |
Identify cluster merges.
particleSeedVector | the list of all particle seeds |
backwardUsageMap | the map from cluster to particle seed associations |
seedAssociationList | to receive the populated seed association list |
Definition at line 73 of file BranchGrowingAlgorithm.cc.
References lar_content::BranchGrowingAlgorithm::Association::GetType().
Referenced by lar_content::ShowerGrowingAlgorithm::GetSeedAssociationList().
|
protectedvirtual |
Reimplemented in lar_content::ShowerGrowingAlgorithm.
Definition at line 137 of file BranchGrowingAlgorithm.cc.
Referenced by lar_content::ShowerGrowingAlgorithm::ReadSettings().