Belle II Software  release-08-01-10
SphericityEigenvalues Class Reference

Class to calculate the Sphericity tensor eigenvalues and eigenvectors starting from an array of 3-momenta The tensor itself is not stored, only its eigenvalues and eigenvectors are. More...

#include <SphericityEigenvalues.h>

Collaboration diagram for SphericityEigenvalues:

Public Member Functions

 SphericityEigenvalues (const std::vector< ROOT::Math::XYZVector > &momenta)
 Constructor with an array of 3-momenta.
 
 ~SphericityEigenvalues ()
 Default destructor.
 
void setMomenta (const std::vector< ROOT::Math::XYZVector > &momenta)
 Sets the list of momenta to be used in the calculation overwriting the previous values.
 
void calculateEigenvalues ()
 Calculates eigenvalues and eigenvectors.
 
double getEigenvalue (short i) const
 Returns the i-th Eigenvalue.
 
ROOT::Math::XYZVector getEigenvector (short i) const
 Returns the i-th Eigenvector.
 

Private Attributes

double m_lambda [3] = {0.}
 The eigenvalues.
 
ROOT::Math::XYZVector m_eVector [3]
 The eigenvectors.
 
std::vector< ROOT::Math::XYZVector > m_momenta
 The particles' momenta.
 

Detailed Description

Class to calculate the Sphericity tensor eigenvalues and eigenvectors starting from an array of 3-momenta The tensor itself is not stored, only its eigenvalues and eigenvectors are.

Definition at line 24 of file SphericityEigenvalues.h.


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