ChargedFragmentsMergingAlgorithm2 class.
More...
#include <ChargedFragmentsMergingAlgorithm2.h>
|
pandora::StatusCode | Run () |
|
pandora::StatusCode | ReadSettings (const pandora::TiXmlHandle xmlHandle) |
|
april_content::APRILCluster * | GetMainCluster (const pandora::CaloHitVector &caloHitVector) |
|
void | GetNearbyClusters (pandora::Cluster *cluster, const std::vector< april_content::APRILCluster * > &clusterVector, std::vector< april_content::APRILCluster * > &clustersInRange) |
|
bool | CheckNearbyClusterWithCharge (const april_content::APRILCluster *pCluster, std::vector< april_content::APRILCluster * > &nearbyClusters, int charge) |
|
void | SearchProperClusters (APRILCluster *startingCluster, std::vector< april_content::APRILCluster * > &allClusters, std::vector< april_content::APRILCluster * > &properClusters) |
|
pandora::StatusCode | CleanClusterForMerging (std::vector< APRILCluster * > &clusterVector) |
|
pandora::StatusCode | GetEligibleClusters (std::vector< APRILCluster * > &clusterVector) const |
| Get the eligible clusters for parent-daughter association. More...
|
|
pandora::StatusCode | FindClustersToMerge (const pandora::ClusterVector &clusterVector, ClusterToClusterMap &clusterToClusterMap) const |
| Algorithm workhorse, find associations between daughter and parent cluster. More...
|
|
bool | CanMergeCluster (const pandora::Cluster *const pCluster) const |
| Whether the cluster is eligible for association. More...
|
|
pandora::StatusCode | FindBestParentCluster (const pandora::Cluster *const pDaughterCluster, const pandora::ClusterVector &clusterVector, const pandora::Cluster *&pBestParentCluster) const |
| Find the best parent cluster to merge a daughter one. More...
|
|
|
float | m_maxStartingClusterDistance |
|
float | m_maxClosestClusterDistance |
|
bool | m_debugOutput |
|
bool | m_debugOutput2 |
|
bool | m_onlyUseConnectedHits |
|
bool | m_useMCPForPID |
|
bool | m_makeRecord |
|
arma::mat | m_clusterCentroidsMatrix |
|
std::vector< APRILCluster * > | m_clustersToMerge |
|
bool april_content::ChargedFragmentsMergingAlgorithm2::CanMergeCluster |
( |
const pandora::Cluster *const |
pCluster | ) |
const |
|
private |
Whether the cluster is eligible for association.
- Parameters
-
pCluster | address of a candidate cluster for association |
- Returns
- boolean
pandora::StatusCode april_content::ChargedFragmentsMergingAlgorithm2::FindBestParentCluster |
( |
const pandora::Cluster *const |
pDaughterCluster, |
|
|
const pandora::ClusterVector & |
clusterVector, |
|
|
const pandora::Cluster *& |
pBestParentCluster |
|
) |
| const |
|
private |
Find the best parent cluster to merge a daughter one.
- Parameters
-
pDaughterCluster | address of the daughter cluster |
clusterVector | a cluster vector |
pBestParentCluster | address of the best parent cluster to receive |
pandora::StatusCode april_content::ChargedFragmentsMergingAlgorithm2::FindClustersToMerge |
( |
const pandora::ClusterVector & |
clusterVector, |
|
|
ClusterToClusterMap & |
clusterToClusterMap |
|
) |
| const |
|
private |
Algorithm workhorse, find associations between daughter and parent cluster.
- Parameters
-
clusterVector | the input cluster vector |
clusterToClusterMap | the map of daughter to parent cluster to receive |
pandora::StatusCode april_content::ChargedFragmentsMergingAlgorithm2::GetEligibleClusters |
( |
std::vector< APRILCluster * > & |
clusterVector | ) |
const |
|
private |
Get the eligible clusters for parent-daughter association.
- Parameters
-
clusterVector | the cluster vector to receive |
The documentation for this class was generated from the following files: