MipFragmentMergingAlg class.
More...
#include <MipFragmentMergingAlg.h>
|
typedef std::map< const
pandora::Cluster *, const
pandora::Cluster * > | ClusterToClusterMap |
|
|
pandora::StatusCode | Run () |
|
pandora::StatusCode | ReadSettings (const pandora::TiXmlHandle xmlHandle) |
|
pandora::StatusCode | FindMipFragments (const pandora::ClusterVector &clusterVector, ClusterToClusterMap &clusterToClusterMap) const |
| Find mip cluster fragments and their most probable parent cluster. More...
|
|
pandora::StatusCode | FindChargedMipFragments (const pandora::ClusterVector &clusterVector, ClusterToClusterMap &clusterToClusterMap) |
|
bool | IsMipFragment (const pandora::Cluster *const pCluster) const |
| Whether the cluster is a mip fragment. More...
|
|
bool | IsPossibleParent (const pandora::Cluster *const pCluster) const |
| Whether the cluster is a possible parent cluster to merge a mip in. More...
|
|
pandora::StatusCode | FindMipParentCluster (const pandora::Cluster *const pMipCluster, const pandora::ClusterVector &clusterVector, const pandora::Cluster *&pParentCluster) const |
| Find the best possible parent cluster for the target mip cluster. More...
|
|
pandora::StatusCode | MergeClusters (ClusterToClusterMap &clusterToClusterMap) const |
| Merge mip clusters into their parent. More...
|
|
pandora::StatusCode | TidyClusterMap (const pandora::Cluster *const pReplaceCluster, const pandora::Cluster *const pRemoveCluster, ClusterToClusterMap &clusterToClusterMap) const |
| Tidy the cluster map by replacing occurrences of clusters that will be deleted. More...
|
|
pandora::StatusCode april_content::MipFragmentMergingAlg::FindMipFragments |
( |
const pandora::ClusterVector & |
clusterVector, |
|
|
ClusterToClusterMap & |
clusterToClusterMap |
|
) |
| const |
|
private |
Find mip cluster fragments and their most probable parent cluster.
- Parameters
-
clusterVector | the input cluster list |
clusterToClusterMap | the map of mip cluster to parent cluster to receive |
pandora::StatusCode april_content::MipFragmentMergingAlg::FindMipParentCluster |
( |
const pandora::Cluster *const |
pMipCluster, |
|
|
const pandora::ClusterVector & |
clusterVector, |
|
|
const pandora::Cluster *& |
pParentCluster |
|
) |
| const |
|
private |
Find the best possible parent cluster for the target mip cluster.
- Parameters
-
pMipCluster | the mip cluster address |
clusterVector | the input list of potential parent cluster |
pParentCluster | the parent cluster address to receive |
bool april_content::MipFragmentMergingAlg::IsMipFragment |
( |
const pandora::Cluster *const |
pCluster | ) |
const |
|
private |
Whether the cluster is a mip fragment.
- Parameters
-
pCluster | the target cluster address |
- Returns
- bool whether the cluster is a mip cluster fragment
bool april_content::MipFragmentMergingAlg::IsPossibleParent |
( |
const pandora::Cluster *const |
pCluster | ) |
const |
|
private |
Whether the cluster is a possible parent cluster to merge a mip in.
- Parameters
-
pCluster | the target address cluster |
- Returns
- bool whether the cluster is a possible parent cluster
pandora::StatusCode april_content::MipFragmentMergingAlg::MergeClusters |
( |
ClusterToClusterMap & |
clusterToClusterMap | ) |
const |
|
private |
Merge mip clusters into their parent.
- Parameters
-
clusterToClusterMap | the cluster map to process |
pandora::StatusCode april_content::MipFragmentMergingAlg::TidyClusterMap |
( |
const pandora::Cluster *const |
pReplaceCluster, |
|
|
const pandora::Cluster *const |
pRemoveCluster, |
|
|
ClusterToClusterMap & |
clusterToClusterMap |
|
) |
| const |
|
private |
Tidy the cluster map by replacing occurrences of clusters that will be deleted.
- Parameters
-
pReplaceCluster | the cluster address to replace |
pRemoveCluster | the cluster address to remove from the map |
clusterToClusterMap | the target cluster map |
The documentation for this class was generated from the following files: