2 #ifndef RIVET_FoxWolframMoments_HH 3 #define RIVET_FoxWolframMoments_HH 5 #include "Rivet/Rivet.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> 35 for (
int i = 0; i < MAXMOMENT ; ++i) {
36 _fwmoments.push_back(0.0);
70 vector<double> _fwmoments;
void setName(const std::string &name)
Used by derived classes to set their name.
Definition: Projection.hh:120
Definition: MC_JetAnalysis.hh:9
virtual const Projection * clone() const
Clone on the heap.
Definition: FoxWolframMoments.hh:42
int compare(const Projection &p) const
Compare projections.
Definition: FoxWolframMoments.cc:8
Project out all final-state particles in an event. Probably the most important projection in Rivet! ...
Definition: FinalState.hh:14
const PROJ & addProjection(const PROJ &proj, const std::string &name)
Definition: ProjectionApplier.hh:113
void project(const Event &e)
Apply the projection to the event.
Definition: FoxWolframMoments.cc:13
FoxWolframMoments(const FinalState &fsp)
Constructor.
Definition: FoxWolframMoments.hh:25
Base class for all Rivet projections.
Definition: Projection.hh:28
double getFoxWolframMoment(unsigned int l) const
The projected Fox-Wolfram Moment of order l.
Definition: FoxWolframMoments.hh:50
Calculate Fox-Wolfram moments.
Definition: FoxWolframMoments.hh:21
Final state modifier excluding particles which are not experimentally visible.
Definition: VisibleFinalState.hh:16