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

ClusterPca class. More...

#include <ClusterHelper.h>

Classes

struct  Component
 Component struct. More...
 

Public Member Functions

 ClusterPca (const pandora::Cluster *const pCluster)
 Constructor. More...
 
float GetEigenValue (int component) const
 Get the eigen value for a given component. Components are sorted by descending order. More...
 
const pandora::CartesianVector & GetEigenVector (int component) const
 Get the eigen vector for a given component. Components are sorted by descending order. More...
 
float GetTransverseRatio () const
 Get the transverse ratio of the cluster.
 
const pandora::Cluster * GetCluster () const
 Get the input cluster.
 

Private Attributes

Component m_components [3]
 The eigen values and vectors for each component.
 
float m_transverseRatio
 The cluster transverse ratio.
 
const pandora::Cluster * m_pCluster
 The inout cluster.
 

Detailed Description

ClusterPca class.

Constructor & Destructor Documentation

april_content::ClusterPca::ClusterPca ( const pandora::Cluster *const  pCluster)

Constructor.

Parameters
pClusterthe input cluster address to perform pca on

Member Function Documentation

float april_content::ClusterPca::GetEigenValue ( int  component) const
inline

Get the eigen value for a given component. Components are sorted by descending order.

Parameters
componentthe pca component
Returns
the eigen value for the given component
const pandora::CartesianVector & april_content::ClusterPca::GetEigenVector ( int  component) const
inline

Get the eigen vector for a given component. Components are sorted by descending order.

Parameters
componentthe pca component
Returns
the eigen vector for the given component

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