ReclusterHelper class.
More...
#include <ReclusterHelper.h>
|
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...
|
|
pandora::StatusCode april_content::ReclusterHelper::ExtractReclusterResults |
( |
const pandora::Pandora & |
pandora, |
|
|
const pandora::ClusterList & |
clusterList, |
|
|
ReclusterResult & |
reclusterResult |
|
) |
| |
|
static |
Extract the recluster result.
- Parameters
-
pandora | the pandora instance to access content |
clusterList | the newly created clusters after a reclustering step |
reclusterResult | the 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
-
pandora | the associated pandora instance |
pCluster | address of the cluster |
trackList | address of the list of tracks associated with the cluster |
energyResolutionFactory | the 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
-
pandora | the associated pandora instance |
clusterEnergy | the cluster energy |
trackEnergy | the sum of the energies of the associated tracks |
energyResolutionFactory | the 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
-
algorithm | the algorithm instance used to access pandora content |
pCluster | the cluster to split |
treeClusterVector | the 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
-
algorithm | the algorithm instance used to access pandora content |
pSeedCaloHit | the seed calo hit pointer to build the separated tree from |
pOriginalCluster | the original cluster pointer from which to separate the tree |
The documentation for this class was generated from the following files: