NearbyFragmentsMergingAlgorithm class.
More...
#include <NearbyFragmentsMergingAlgorithm.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 (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 | 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...
|
|
void | MergeFragmentsByMC (std::vector< APRILCluster * > &fragmentsToMerge) |
|
|
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 |
|
float | m_maxClosestFragmentDistance |
|
bool | m_mergePhotonClusters |
|
bool | m_mergeChargedClusters |
|
bool | m_cleanClusters |
|
bool | m_resetCluster |
|
arma::mat | m_clusterCentroidsMatrix |
|
std::vector< APRILCluster * > | m_clustersToMerge |
|
bool april_content::NearbyFragmentsMergingAlgorithm::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::NearbyFragmentsMergingAlgorithm::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::NearbyFragmentsMergingAlgorithm::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::NearbyFragmentsMergingAlgorithm::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::NearbyFragmentsMergingAlgorithm::Run |
( |
| ) |
|
|
private |
The documentation for this class was generated from the following files: