10#include <Math/Vector3D.h>
44 HarmonicMoments(
const std::vector<ROOT::Math::XYZVector>& momenta,
const ROOT::Math::XYZVector& axis)
60 void setMomenta(
const std::vector<ROOT::Math::XYZVector>& momenta)
Class to calculate the Harmonic moments up to order 8 with respect to a given axis.
double m_moment[9]
The harmonic moments.
std::vector< ROOT::Math::XYZVector > m_momenta
The list of particles.
ROOT::Math::XYZVector m_axis
The reference axis.
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.
HarmonicMoments(const std::vector< ROOT::Math::XYZVector > &momenta, const ROOT::Math::XYZVector &axis)
Constructor.
void calculateBasicMoments()
Calculates the moments up to order 4.
void setMomenta(const std::vector< ROOT::Math::XYZVector > &momenta)
Sets the list of momenta, overwriting whatever list has been set before.
HarmonicMoments()
Default constructor.
void setAxis(ROOT::Math::XYZVector axis)
Sets the reference axis.
Abstract base class for different kinds of events.