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

ReclusterHelper class. More...

#include <ReclusterHelper.h>

Static Public Member Functions

static float GetTrackClusterCompatibility (const pandora::Pandora &pandora, const pandora::Cluster *const pCluster, const pandora::TrackList &trackList)
 Evaluate the compatibility of a cluster with its associated tracks. Reclustering can be used to split up a cluster and produce more favourable track/cluster matches. More...
 
static float GetTrackClusterCompatibility (const pandora::Pandora &pandora, const pandora::Cluster *const pClusterToEnlarge, const pandora::Cluster *const pClusterToMerge, const pandora::TrackList &trackList)
 
static float GetTrackClusterCompatibility (const pandora::Pandora &pandora, const float clusterEnergy, const float trackEnergy)
 Evaluate the compatibility of a cluster with its associated tracks. Reclustering can be used to split up a cluster and produce more favourable track/cluster matches. More...
 
static pandora::StatusCode ExtractReclusterResults (const pandora::Pandora &pandora, const pandora::ClusterList &clusterList, ReclusterResult &reclusterResult)
 Extract the recluster result. More...
 
static pandora::StatusCode SplitTreeFromCluster (const pandora::Algorithm &algorithm, const april_content::CaloHit *const pSeedCaloHit, const pandora::Cluster *const pOriginalCluster, const pandora::Cluster *&pSeparatedTreeCluster, const std::string &originalClusterListName="")
 Create a separated tree cluster from a seed calo hit contained in an original cluster. Possible only if the original cluster contains more than one tree (more than one seed calo hit). Calo hits of the newly created tree cluster are removed from the original one. More...
 
static pandora::StatusCode SplitClusterIntoTreeClusters (const pandora::Algorithm &algorithm, const pandora::Cluster *const pCluster, pandora::ClusterVector &treeClusterVector)
 Create a cluster list for each tree contained in the cluster Possible only if the cluster contains more than one tree (more than one seed calo hit) More...
 

Detailed Description

ReclusterHelper class.

Member Function Documentation

pandora::StatusCode april_content::ReclusterHelper::ExtractReclusterResults ( const pandora::Pandora &  pandora,
const pandora::ClusterList &  clusterList,
ReclusterResult reclusterResult 
)
static

Extract the recluster result.

Parameters
pandorathe pandora instance to access content
clusterListthe newly created clusters after a reclustering step
reclusterResultthe recluster results
float april_content::ReclusterHelper::GetTrackClusterCompatibility ( const pandora::Pandora &  pandora,
const pandora::Cluster *const  pCluster,
const pandora::TrackList &  trackList 
)
static

Evaluate the compatibility of a cluster with its associated tracks. Reclustering can be used to split up a cluster and produce more favourable track/cluster matches.

Parameters
pandorathe associated pandora instance
pClusteraddress of the cluster
trackListaddress of the list of tracks associated with the cluster
energyResolutionFactorythe number of sigmas of resolution in the chi computation
Returns
the chi value for the suitability of the track/cluster associations
float april_content::ReclusterHelper::GetTrackClusterCompatibility ( const pandora::Pandora &  pandora,
const float  clusterEnergy,
const float  trackEnergy 
)
static

Evaluate the compatibility of a cluster with its associated tracks. Reclustering can be used to split up a cluster and produce more favourable track/cluster matches.

Parameters
pandorathe associated pandora instance
clusterEnergythe cluster energy
trackEnergythe sum of the energies of the associated tracks
energyResolutionFactorythe number of sigmas of resolution in the chi computation
Returns
the chi value for the suitability of the track/cluster associations
pandora::StatusCode april_content::ReclusterHelper::SplitClusterIntoTreeClusters ( const pandora::Algorithm &  algorithm,
const pandora::Cluster *const  pCluster,
pandora::ClusterVector &  treeClusterVector 
)
static

Create a cluster list for each tree contained in the cluster Possible only if the cluster contains more than one tree (more than one seed calo hit)

Parameters
algorithmthe algorithm instance used to access pandora content
pClusterthe cluster to split
treeClusterVectorthe split list of tree clusters
pandora::StatusCode april_content::ReclusterHelper::SplitTreeFromCluster ( const pandora::Algorithm &  algorithm,
const april_content::CaloHit *const  pSeedCaloHit,
const pandora::Cluster *const  pOriginalCluster,
const pandora::Cluster *&  pSeparatedTreeCluster,
const std::string &  originalClusterListName = "" 
)
static

Create a separated tree cluster from a seed calo hit contained in an original cluster. Possible only if the original cluster contains more than one tree (more than one seed calo hit). Calo hits of the newly created tree cluster are removed from the original one.

Parameters
algorithmthe algorithm instance used to access pandora content
pSeedCaloHitthe seed calo hit pointer to build the separated tree from
pOriginalClusterthe original cluster pointer from which to separate the tree

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