10#include <Math/Vector3D.h> 
   11#include <Math/Vector4D.h> 
   47    void setMomenta(
const std::vector<ROOT::Math::PxPyPzEVector>& momenta)
 
 
   65      return (i < 0 || i > 3) ? 0. : 
m_lambda[i];
 
 
   73      ROOT::Math::XYZVector nullVector(0., 0., 0.);
 
   74      return (i < 0 || i > 3) ? nullVector : 
m_eVector[i];
 
 
 
void setMomenta(const std::vector< ROOT::Math::PxPyPzEVector > &momenta)
Sets the list of momenta to be used in the calculation overwriting the previous values.
std::vector< ROOT::Math::PxPyPzEVector > m_momenta
The particles' momenta.
void calculateEigenvalues()
Calculates eigenvalues and eigenvectors.
SphericityEigenvalues(const std::vector< ROOT::Math::PxPyPzEVector > &momenta)
Constructor with an array of 4-momenta.
ROOT::Math::XYZVector getEigenvector(short i) const
Returns the i-th Eigenvector.
~SphericityEigenvalues()
Default destructor.
double getEigenvalue(short i) const
Returns the i-th Eigenvalue.
ROOT::Math::XYZVector m_eVector[3]
The eigenvectors.
double m_lambda[3]
The eigenvalues.
Abstract base class for different kinds of events.