APRILContent
Algorithm of Particle Reconstruction for ILC - implementation with PandoraSDK
|
FragmentRemovalHelper class. More...
#include <FragmentRemovalHelper.h>
Static Public Member Functions | |
static float | GetFractionOfCloseHits (const pandora::Cluster *const pClusterI, const pandora::Cluster *const pClusterJ, const float distanceThreshold) |
Get the fraction of calo hits in cluster I that lie within a specified distance of a calo hit in cluster J. More... | |
static float | GetFractionOfHitsInCone (const pandora::Pandora &pandora, const pandora::Cluster *const pClusterI, const pandora::Cluster *const pClusterJ, const float coneCosineHalfAngle) |
Get the fraction of calo hits in cluster I that lie within a cone along the direction of cluster J. If cluster J has an associated track, it's projected position and direction at the calorimeter will be used to define cone, otherwise cone will be radial and its axis will pass through centroid of cluster J at its showerstart layer. More... | |
static float | GetFractionOfHitsInCone (const pandora::Cluster *const pCluster, const pandora::Track *const pTrack, const float coneCosineHalfAngle) |
Get the fraction of calo hits in a cluster that lie within a cone along the direction of a specified track. More... | |
static float | GetFractionOfHitsInCone (const pandora::Cluster *const pCluster, const pandora::CartesianVector &coneApex, const pandora::CartesianVector &coneDirection, const float coneCosineHalfAngle) |
Get the fraction of calo hits in a cluster that lie within a specified cone. More... | |
static unsigned int | GetNLayersCrossed (const pandora::Pandora &pandora, const pandora::Helix &helix, const float zStart, const float zEnd, const unsigned int nSamplingPoints=100) |
Get the number of pseudo layers crossed by helix in specified range of z coordinates. More... | |
static pandora::StatusCode | GetClusterHelixDistance (const pandora::Cluster *const pCluster, const pandora::Helix &helix, const unsigned int startLayer, const unsigned int endLayer, const unsigned int maxOccupiedLayers, float &closestDistanceToHit, float &meanDistanceToHits) |
Get the distance between hits in a cluster and a helix, typically the result of a fit to a track. More... | |
static pandora::StatusCode | GetClusterContactDetails (const pandora::Cluster *const pClusterI, const pandora::Cluster *const pClusterJ, const float distanceThreshold, unsigned int &nContactLayers, float &contactFraction) |
Get the number of contact layers for two clusters and also the ratio of the number of contact layers to overlap layers. More... | |
static float | GetEMEnergyWeightedLayerSeparation (const pandora::Cluster *const pClusterI, const pandora::Cluster *const pClusterJ) |
Get the electromagnetic energy-weighted mean common layer separation for a pair of provided clusters Note: energy-weighting uses only energies from cluster j. More... | |
static pandora::CartesianVector | GetEMEnergyWeightedPosition (const pandora::Cluster *const pCluster) |
Get the electromagnetic energy-weighted mean cluster position for a provided cluster. More... | |
FragmentRemovalHelper class.
|
static |
Get the number of contact layers for two clusters and also the ratio of the number of contact layers to overlap layers.
pClusterI | address of the first cluster |
pClusterJ | address of the second cluster |
distanceThreshold | number of calorimeter cell-widths used to determine whether layers are in contact |
nContactLayers | to receive the number of contact layers |
contactFraction | to receive the ratio of the number of contact layers to number of overlap layers |
|
static |
Get the distance between hits in a cluster and a helix, typically the result of a fit to a track.
pCluster | address of the cluster |
helix | the helix |
startLayer | the first pseudo layer of the cluster to examine |
endLayer | the last pseudo layer of the cluster to examine |
maxOccupiedLayers | the maximum number of occupied cluster pseudo layers to examine |
closestDistanceToHit | to receive the closest distance between the helix and a hit in the specified range of the cluster |
meanDistanceToHits | to receive the mean distance between the helix and hits in the specified range of the cluster |
|
static |
Get the electromagnetic energy-weighted mean common layer separation for a pair of provided clusters Note: energy-weighting uses only energies from cluster j.
pClusterI | address of first cluster |
pClusterJ | address of second cluster |
|
static |
Get the electromagnetic energy-weighted mean cluster position for a provided cluster.
pCluster | address of the cluster |
|
static |
Get the fraction of calo hits in cluster I that lie within a specified distance of a calo hit in cluster J.
pClusterI | address of the cluster for which the fraction is calculated |
pClusterJ | address of the cluster used in the comparison |
distanceThreshold | the specified distance threshold |
|
static |
Get the fraction of calo hits in cluster I that lie within a cone along the direction of cluster J. If cluster J has an associated track, it's projected position and direction at the calorimeter will be used to define cone, otherwise cone will be radial and its axis will pass through centroid of cluster J at its showerstart layer.
pandora | the associated pandora instance |
pClusterI | address of the cluster for which the fraction is calculated |
pClusterJ | address of the cluster used in the comparison |
coneCosineHalfAngle | the cone cosine half angle |
|
static |
Get the fraction of calo hits in a cluster that lie within a cone along the direction of a specified track.
pCluster | address of the cluster for which the fraction is calculated |
pTrack | address of the cluster used in the comparison |
coneCosineHalfAngle | the cone cosine half angle |
|
static |
Get the fraction of calo hits in a cluster that lie within a specified cone.
pCluster | address of the cluster for which the fraction is calculated |
coneApex | position vector specifying cone apex |
coneDirection | unit vector specifying cone direction |
coneCosineHalfAngle | the cone cosine half angle |
|
static |
Get the number of pseudo layers crossed by helix in specified range of z coordinates.
pandora | the associated pandora instance |
helix | the helix |
zStart | start z coordinate |
zEnd | end z coordinate |
nSamplingPoints | number of points at which to sample the helix in the z interval |