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

ChargedClusterContact class, describing the interactions and proximity between parent and daughter candidate clusters. More...

#include <MainFragmentRemovalAlgorithm.h>

Inheritance diagram for april_content::ChargedClusterContact:
april_content::ClusterContact

Classes

class  Parameters
 Parameters class. More...
 

Public Member Functions

 ChargedClusterContact (const pandora::Pandora &pandora, const pandora::Cluster *const pDaughterCluster, const pandora::Cluster *const pParentCluster, const Parameters &parameters)
 Constructor. More...
 
float GetParentTrackEnergy () const
 Get the sum of energies of tracks associated with parent cluster. More...
 
float GetConeFraction2 () const
 Get the fraction of daughter hits that lie within specified cone 2 along parent direction. More...
 
float GetConeFraction3 () const
 Get the fraction of daughter hits that lie within specified cone 3 along parent direction. More...
 
float GetMeanDistanceToHelix () const
 Get the mean distance of daughter cluster from closest helix fix to parent associated tracks. More...
 
float GetClosestDistanceToHelix () const
 Get the closest distance between daughter cluster and helix fits to parent associated tracks. More...
 
- Public Member Functions inherited from april_content::ClusterContact
 ClusterContact (const pandora::Pandora &pandora, const pandora::Cluster *const pDaughterCluster, const pandora::Cluster *const pParentCluster, const Parameters &parameters)
 Constructor. More...
 
const pandora::Cluster * GetDaughterCluster () const
 Get the address of the daughter candidate cluster. More...
 
const pandora::Cluster * GetParentCluster () const
 Get the address of the parent candidate cluster. More...
 
unsigned int GetNContactLayers () const
 Get the number of contact layers for parent and daughter clusters two clusters. More...
 
float GetContactFraction () const
 Get the ratio of the number of contact layers to the number of overlap layers. More...
 
float GetDistanceToClosestHit () const
 Distance between closest hits in parent and daughter clusters, units mm. More...
 
float GetCloseHitFraction1 () const
 Get the fraction of daughter hits that lie within sepcified distance 1 of parent cluster. More...
 
float GetCloseHitFraction2 () const
 Get the fraction of daughter hits that lie within sepcified distance 2 of parent cluster. More...
 
float GetConeFraction1 () const
 Get the fraction of daughter hits that lie within specified cone 1 along parent direction. More...
 

Private Member Functions

void ClusterHelixComparison (const pandora::Pandora &pandora, const pandora::Cluster *const pDaughterCluster, const pandora::Cluster *const pParentCluster, const Parameters &parameters)
 Compare daughter cluster with helix fits to parent associated tracks. More...
 

Private Attributes

float m_parentTrackEnergy
 Sum of energies of tracks associated with parent cluster.
 
float m_coneFraction2
 Fraction of daughter hits that lie within specified cone 2 along parent direction.
 
float m_coneFraction3
 Fraction of daughter hits that lie within specified cone 3 along parent direction.
 
float m_meanDistanceToHelix
 Mean distance of daughter cluster from closest helix fit to parent associated tracks.
 
float m_closestDistanceToHelix
 Closest distance between daughter cluster and helix fits to parent associated tracks.
 

Additional Inherited Members

- Protected Member Functions inherited from april_content::ClusterContact
void HitDistanceComparison (const pandora::Cluster *const pDaughterCluster, const pandora::Cluster *const pParentCluster, const Parameters &parameters)
 Compare hits in daughter cluster with those in parent cluster to calculate minimum hit separation and close hit fractions. Calculate these properties in a single loop, for efficiency. More...
 
- Protected Attributes inherited from april_content::ClusterContact
const pandora::Cluster * m_pDaughterCluster
 Address of the daughter candidate cluster.
 
const pandora::Cluster * m_pParentCluster
 Address of the parent candidate cluster.
 
unsigned int m_nContactLayers
 The number of contact layers for parent and daughter clusters.
 
float m_contactFraction
 The ratio of the number of contact layers to the number of overlap layers.
 
float m_coneFraction1
 Fraction of daughter hits that lie within specified cone 1 along parent direction.
 
float m_closeHitFraction1
 Fraction of daughter hits that lie within sepcified distance 1 of parent cluster.
 
float m_closeHitFraction2
 Fraction of daughter hits that lie within sepcified distance 2 of parent cluster.
 
float m_distanceToClosestHit
 Distance between closest hits in parent and daughter clusters, units mm.
 

Detailed Description

ChargedClusterContact class, describing the interactions and proximity between parent and daughter candidate clusters.

Constructor & Destructor Documentation

april_content::ChargedClusterContact::ChargedClusterContact ( const pandora::Pandora &  pandora,
const pandora::Cluster *const  pDaughterCluster,
const pandora::Cluster *const  pParentCluster,
const Parameters parameters 
)

Constructor.

Parameters
pandorathe associated pandora instance
pDaughterClusteraddress of the daughter candidate cluster
pParentClusteraddress of the parent candidate cluster
parametersthe cluster contact parameters

Member Function Documentation

void april_content::ChargedClusterContact::ClusterHelixComparison ( const pandora::Pandora &  pandora,
const pandora::Cluster *const  pDaughterCluster,
const pandora::Cluster *const  pParentCluster,
const Parameters parameters 
)
private

Compare daughter cluster with helix fits to parent associated tracks.

Parameters
pandorathe associated pandora instance
pDaughterClusteraddress of the daughter candidate cluster
pParentClusteraddress of the parent candidate cluster
parametersthe cluster contact parameters
float april_content::ChargedClusterContact::GetClosestDistanceToHelix ( ) const
inline

Get the closest distance between daughter cluster and helix fits to parent associated tracks.

Returns
The closest daughter distance to helix
float april_content::ChargedClusterContact::GetConeFraction2 ( ) const
inline

Get the fraction of daughter hits that lie within specified cone 2 along parent direction.

Returns
The daughter cone fraction
float april_content::ChargedClusterContact::GetConeFraction3 ( ) const
inline

Get the fraction of daughter hits that lie within specified cone 3 along parent direction.

Returns
The daughter cone fraction
float april_content::ChargedClusterContact::GetMeanDistanceToHelix ( ) const
inline

Get the mean distance of daughter cluster from closest helix fix to parent associated tracks.

Returns
The mean daughter distance to the closest helix
float april_content::ChargedClusterContact::GetParentTrackEnergy ( ) const
inline

Get the sum of energies of tracks associated with parent cluster.

Returns
The sum of energies of tracks associated with parent cluster

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