Class to calculate the Harmonic moments up to order 8 with respect to a given axis.
double m_moment[9]
The harmonic moments.
void setMomenta(const std::vector< TVector3 > &momenta)
Sets the list of momenta, overwriting whatever list has been set before.
void calculateAllMoments()
Calculates the moments up to order 8.
~HarmonicMoments()
Default destructor.
double getMoment(short i, double sqrts) const
Returns the moment of order i.
void calculateBasicMoments()
Calculates the moments up to order 4.
HarmonicMoments(const std::vector< TVector3 > &momenta, const TVector3 &axis)
Constructor.
void setAxis(TVector3 axis)
Sets the reference axis.
HarmonicMoments()
Default constructor.
TVector3 m_axis
The reference axis.
std::vector< TVector3 > m_momenta
The list of particles.
Abstract base class for different kinds of events.