2 #ifndef RIVET_FoxWolframMoments_HH 3 #define RIVET_FoxWolframMoments_HH 5 #include "Rivet/Config/RivetCommon.hh" 6 #include "Rivet/Projection.hh" 7 #include "Rivet/Projections/FinalState.hh" 8 #include "Rivet/Projections/VetoedFinalState.hh" 9 #include "Rivet/Projections/VisibleFinalState.hh" 10 #include "Rivet/Particle.hh" 11 #include "Rivet/Event.hh" 13 #include <gsl/gsl_sf_legendre.h> 34 for (
int i = 0; i < MAXMOMENT ; ++i) {
35 _fwmoments.push_back(0.0);
64 vector<double> _fwmoments;
void setName(const std::string &name)
Used by derived classes to set their name.
Definition: Projection.hh:133
Definition: ALICE_2010_I880049.cc:13
int compare(const Projection &p) const
Compare projections.
Definition: FoxWolframMoments.cc:6
double getFoxWolframMoment(unsigned int l) const
The projected Fox-Wolfram Moment of order l.
Definition: FoxWolframMoments.hh:44
DEFAULT_RIVET_PROJ_CLONE(FoxWolframMoments)
Clone on the heap.
Project out all final-state particles in an event. Probably the most important projection in Rivet! ...
Definition: FinalState.hh:12
const PROJ & addProjection(const PROJ &proj, const std::string &name)
Register a contained projection (user-facing version)
Definition: ProjectionApplier.hh:170
void project(const Event &e)
Apply the projection to the event.
Definition: FoxWolframMoments.cc:11
FoxWolframMoments(const FinalState &fsp)
Constructor.
Definition: FoxWolframMoments.hh:25
Base class for all Rivet projections.
Definition: Projection.hh:29
Calculate Fox-Wolfram moments.
Definition: FoxWolframMoments.hh:21
Final state modifier excluding particles which are not experimentally visible.
Definition: VisibleFinalState.hh:16