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

ConeBasedMergingAlgorithm class. More...

#include <ConeBasedMergingAlgorithm.h>

Inheritance diagram for april_content::ConeBasedMergingAlgorithm:

Classes

class  Factory
 Default constructor. More...
 

Private Types

typedef std::map< const
pandora::Cluster *, const
pandora::ClusterFitResult > 
ClusterFitResultMap
 

Private Member Functions

pandora::StatusCode Run ()
 
pandora::StatusCode ReadSettings (const pandora::TiXmlHandle xmlHandle)
 
pandora::StatusCode PrepareClusters (pandora::ClusterVector &daughterVector, ClusterFitResultMap &parentFitResultMap) const
 Prepare clusters for the cone based merging algorithm, applying pre-selection cuts and performing a mip fit to candidate parent clusters. More...
 
float GetFractionInCone (const pandora::Cluster *const pParentCluster, const pandora::Cluster *const pDaughterCluster, const pandora::ClusterFitResult &parentMipFitResult) const
 Get the fraction of hits in a daughter candidate cluster that are contained in a cluster defined by a mip fit to the parent candidate cluster. More...
 

Private Attributes

std::string m_trackClusterAssociationAlgName
 The name of the track-cluster association algorithm to run.
 
float m_canMergeMinMipFraction
 The minimum mip fraction for clusters (flagged as photons) to be merged.
 
float m_canMergeMaxRms
 The maximum all hit fit rms for clusters (flagged as photons) to be merged.
 
unsigned int m_minHitsInCluster
 The min number of calo hits in a cluster.
 
unsigned int m_minLayersToShowerStart
 The min number of layers between parent inner layer and shower start layer.
 
float m_minConeFraction
 The min fraction of daughter hits that must lie in parent mip fit cone.
 
float m_maxInnerLayerSeparation
 Max distance between parent and daughter inner layer centroids.
 
float m_maxInnerLayerSeparationNoTrack
 Max distance between parent/daughter inner centroids when parent has no associated tracks.
 
float m_coneCosineHalfAngle
 Cosine of cone half angle.
 
float m_minDaughterHadronicEnergy
 Minimum daughter hadronic energy for merging (unless chi2 criteria are met)
 
float m_maxTrackClusterChi
 Max no. standard deviations between clusters and associated track energies.
 
float m_maxTrackClusterDChi2
 Max diff between chi2 using parent+daughter energies and that using only parent.
 
float m_minCosConeAngleWrtRadial
 Min cosine of angle between cone and radial direction.
 
float m_cosConeAngleWrtRadialCut1
 1st pair of cuts: Min cosine of angle between cone and radial direction
 
float m_minHitSeparationCut1
 1st pair of cuts: Max separation between cone vertex and daughter cluster hit
 
float m_cosConeAngleWrtRadialCut2
 2nd pair of cuts: Min cosine of angle between cone and radial direction
 
float m_minHitSeparationCut2
 2nd pair of cuts: Max separation between cone vertex and daughter cluster hit
 

Detailed Description

ConeBasedMergingAlgorithm class.

Member Function Documentation

float april_content::ConeBasedMergingAlgorithm::GetFractionInCone ( const pandora::Cluster *const  pParentCluster,
const pandora::Cluster *const  pDaughterCluster,
const pandora::ClusterFitResult &  parentMipFitResult 
) const
private

Get the fraction of hits in a daughter candidate cluster that are contained in a cluster defined by a mip fit to the parent candidate cluster.

Parameters
pParentClusteraddress of the parent candidate cluster
pDaughterClusteraddress of the daughter candidate cluster
parentMipFitResultthe mip fit result for the parent candidate cluster
Returns
the fraction of the daughter cluster hits contained in the cone
StatusCode april_content::ConeBasedMergingAlgorithm::PrepareClusters ( pandora::ClusterVector &  daughterVector,
ClusterFitResultMap &  parentFitResultMap 
) const
private

Prepare clusters for the cone based merging algorithm, applying pre-selection cuts and performing a mip fit to candidate parent clusters.

Parameters
daughterVectorto receive the daughter cluster vector
parentFitResultMapto receive the parent cluster fit result map

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