40 explicit FoxWolfram(
const std::vector<TVector3>& momenta)
83 double getH(
int i)
const {
return (i < 0 || i > 8) ? NAN :
m_moment[i]; }
Class to calculate the Fox-Wolfram moments up to order 8.
double m_moment[9]
The moments.
void setMomenta(const std::vector< TVector3 > &momenta)
Sets the list of momenta used for the FW moment calculation, overwriting whatever list has been set b...
~FoxWolfram()
Default destructor.
double getR(int i) const
Returns the i-th moment normalized to the 0th-order moment.
void calculateAllMoments()
Method to perform the calculation of the moments up to order 8.
void calculateBasicMoments()
Method to perform the calculation of the moments up to order 4, which are the most relevant ones.
double getH(int i) const
Returns the i-th moment.
FoxWolfram(const std::vector< TVector3 > &momenta)
Constructor with an array of 3-momenta.
std::vector< TVector3 > m_momenta
The particle's momenta.
FoxWolfram()
Default constructor.
Abstract base class for different kinds of events.