Belle II Software light-2406-ragdoll
|
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>
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. | |
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.
|
inlineexplicit |
Constructor with an array of 3-momenta.
Definition at line 30 of file SphericityEigenvalues.h.
|
inline |
void calculateEigenvalues | ( | ) |
Calculates eigenvalues and eigenvectors.
Definition at line 19 of file SphericityEigenvalues.cc.
|
inline |
Returns the i-th Eigenvalue.
Definition at line 62 of file SphericityEigenvalues.h.
|
inline |
Returns the i-th Eigenvector.
Definition at line 70 of file SphericityEigenvalues.h.
|
inline |
Sets the list of momenta to be used in the calculation overwriting the previous values.
Definition at line 46 of file SphericityEigenvalues.h.
|
private |
The eigenvectors.
Definition at line 79 of file SphericityEigenvalues.h.
|
private |
The eigenvalues.
Definition at line 78 of file SphericityEigenvalues.h.
|
private |
The particles' momenta.
Definition at line 80 of file SphericityEigenvalues.h.