ClusterFromTrackMergingAlgorithm2 class.
More...
#include <ClusterFromTrackMergingAlgorithm2.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) |
|
void | SearchProperClusters (const pandora::Track *pTrack, APRILCluster *startingCluster, 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...
|
|
pandora::StatusCode | GetClusterBackwardDirection (const pandora::Cluster *const pCluster, pandora::CartesianVector &backwardDirection, pandora::CartesianVector &innerPosition) const |
| Get the cluster backward direction and the inner cluster position using a cluster fit of the n first layers. More...
|
|
|
bool | m_discriminatePhotonPid |
| Whether to discriminate photons.
|
|
bool | m_allowNeutralParentMerging |
|
unsigned int | m_minNCaloHits |
|
unsigned int | m_maxNCaloHits |
|
unsigned int | m_minNPseudoLayers |
|
unsigned int | m_maxNPseudoLayers |
|
float | m_chi2AssociationCut |
|
unsigned int | m_nBackwardLayersFit |
|
float | m_maxBackwardAngle |
|
float | m_maxBackwardDistanceFine |
|
float | m_maxBackwardDistanceCoarse |
|
unsigned int | m_maxBackwardPseudoLayer |
|
unsigned int | m_minParentClusterBackwardNHits |
|
float | m_maxClusterFitDca |
|
float | m_minClusterCosOpeningAngle |
|
float | m_minClusterFitCosOpeningAngle |
|
float | m_minClusterFitCosOpeningAngle2 |
|
float | m_maxStartingClusterDistance |
|
float | m_maxClusterDistanceToMerge |
|
arma::mat | m_clusterCentroidsMatrix |
|
std::vector< APRILCluster * > | m_clustersToMerge |
|
bool april_content::ClusterFromTrackMergingAlgorithm2::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::ClusterFromTrackMergingAlgorithm2::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::ClusterFromTrackMergingAlgorithm2::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::ClusterFromTrackMergingAlgorithm2::GetClusterBackwardDirection |
( |
const pandora::Cluster *const |
pCluster, |
|
|
pandora::CartesianVector & |
backwardDirection, |
|
|
pandora::CartesianVector & |
innerPosition |
|
) |
| const |
|
private |
Get the cluster backward direction and the inner cluster position using a cluster fit of the n first layers.
- Parameters
-
pCluster | the input cluster address |
backwardDirection | the backward direction cartesian vector to receive |
innerPosition | the inner cluster position to receive |
pandora::StatusCode april_content::ClusterFromTrackMergingAlgorithm2::GetEligibleClusters |
( |
std::vector< APRILCluster * > & |
clusterVector | ) |
const |
|
private |
Get the eligible clusters for parent-daughter association.
- Parameters
-
clusterVector | the cluster vector to receive |
pandora::StatusCode april_content::ClusterFromTrackMergingAlgorithm2::Run |
( |
| ) |
|
|
private |
The documentation for this class was generated from the following files: