Rivet API documentation
![]() |
Rivet 4.1.3
|
Spherocity.hh
Base class for projections which define a spatial basis.
Definition AxesDefinition.hh:19
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
std::enable_if_t< std::is_base_of< Projection, PROJ >::value, const PROJ & > apply(const Event &evt, const Projection &proj) const
Apply the supplied projection on event evt.
Definition ProjectionApplier.hh:119
const PROJ & declare(const PROJ &proj, const std::string &name) const
Register a contained projection (user-facing version).
Definition ProjectionApplier.hh:184
void setName(const std::string &name)
Used by derived classes to set their name.
Definition Projection.hh:148
Cmp< Projection > mkNamedPCmp(const Projection &otherparent, const std::string &pname) const
const Vector3 & axis2() const
The 2nd most significant ("major") axis.
Definition Spherocity.hh:89
void project(const Event &e)
Perform the projection on the Event.
Definition Spherocity.hh:54
const Vector3 & axis3() const
The least significant ("minor") axis.
Definition Spherocity.hh:90
Spherocity(const FinalState &fsp)
Constructor.
Definition Spherocity.hh:39
const Vector3 & spherocityMajorAxis() const
The spherocity major axis (axis of max spherocity perpendicular to spherocity axis).
Definition Spherocity.hh:80
void calc(const FinalState &fs)
Manually calculate the spherocity, without engaging the caching system.
const Vector3 & spherocityMinorAxis() const
The spherocity minor axis (axis perpendicular to spherocity and spherocity major).
Definition Spherocity.hh:82
void calc(const vector< FourMomentum > &fsmomenta)
Manually calculate the spherocity, without engaging the caching system.
void calc(const vector< Vector3 > &threeMomenta)
Manually calculate the spherocity, without engaging the caching system.
void calc(const vector< Particle > &fsparticles)
Manually calculate the spherocity, without engaging the caching system.
CmpState compare(const Projection &p) const
Compare projections.
Definition Spherocity.hh:61
double p(const ParticleBase &p)
Unbound function access to p.
Definition ParticleBaseUtils.hh:653
Definition MC_CENT_PPB_Projections.hh:10
Generated on for Rivet by
