2#ifndef RIVET_ParisiTensor_HH
3#define RIVET_ParisiTensor_HH
5#include "Rivet/Projection.hh"
6#include "Rivet/Projections/FinalState.hh"
7#include "Rivet/Projections/Sphericity.hh"
8#include "Rivet/Event.hh"
55 using Projection::operator =;
77 double C()
const {
return _C; }
78 double D()
const {
return _D; }
83 double lambda1()
const {
return _lambda[0]; }
84 double lambda2()
const {
return _lambda[1]; }
85 double lambda3()
const {
return _lambda[2]; }
Representation of a HepMC event, and enabler of Projection caching.
Definition Event.hh:22
Project out all final-state particles in an event. Probably the most important projection in Rivet!
Definition FinalState.hh:12
Calculate the Parisi event shape tensor (or linear momentum tensor).
Definition ParisiTensor.hh:39
void project(const Event &e)
Perform the projection on the Event.
RIVET_DEFAULT_PROJ_CLONE(ParisiTensor)
Clone on the heap.
void clear()
Clear the projection.
CmpState compare(const Projection &p) const
Compare with other projections.
ParisiTensor(const FinalState &fsp)
Constructor. The provided FinalState projection must live throughout the run.
Definition ParisiTensor.hh:43
const PROJ & declare(const PROJ &proj, const std::string &name) const
Register a contained projection (user-facing version)
Definition ProjectionApplier.hh:175
Base class for all Rivet projections.
Definition Projection.hh:29
void setName(const std::string &name)
Used by derived classes to set their name.
Definition Projection.hh:148
Calculate the sphericity event shape.
Definition Sphericity.hh:51
Definition MC_CENT_PPB_Projections.hh:10