APRILContent
Algorithm of Particle Reconstruction for ILC - implementation with PandoraSDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations
Classes | Private Member Functions | Private Attributes | List of all members
april_content::PointingClusterAssociationAlgorithm Class Reference

PointingClusterAssociationAlgorithm class. More...

#include <PointingClusterAssociationAlgorithm.h>

Inheritance diagram for april_content::PointingClusterAssociationAlgorithm:

Classes

class  Factory
 Factory class for instantiating algorithm. More...
 

Private Member Functions

pandora::StatusCode Run ()
 
pandora::StatusCode ReadSettings (const pandora::TiXmlHandle xmlHandle)
 
pandora::StatusCode GetEligibleClusters (pandora::ClusterVector &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...
 

Private Attributes

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
 

Detailed Description

PointingClusterAssociationAlgorithm class.

Member Function Documentation

bool april_content::PointingClusterAssociationAlgorithm::CanMergeCluster ( const pandora::Cluster *const  pCluster) const
private

Whether the cluster is eligible for association.

Parameters
pClusteraddress of a candidate cluster for association
Returns
boolean
pandora::StatusCode april_content::PointingClusterAssociationAlgorithm::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
pDaughterClusteraddress of the daughter cluster
clusterVectora cluster vector
pBestParentClusteraddress of the best parent cluster to receive
pandora::StatusCode april_content::PointingClusterAssociationAlgorithm::FindClustersToMerge ( const pandora::ClusterVector &  clusterVector,
ClusterToClusterMap &  clusterToClusterMap 
) const
private

Algorithm workhorse, find associations between daughter and parent cluster.

Parameters
clusterVectorthe input cluster vector
clusterToClusterMapthe map of daughter to parent cluster to receive
pandora::StatusCode april_content::PointingClusterAssociationAlgorithm::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
pClusterthe input cluster address
backwardDirectionthe backward direction cartesian vector to receive
innerPositionthe inner cluster position to receive
pandora::StatusCode april_content::PointingClusterAssociationAlgorithm::GetEligibleClusters ( pandora::ClusterVector &  clusterVector) const
private

Get the eligible clusters for parent-daughter association.

Parameters
clusterVectorthe cluster vector to receive

The documentation for this class was generated from the following files: