2#ifndef RIVET_NonHadronicFinalState_HH
3#define RIVET_NonHadronicFinalState_HH
5#include "Rivet/Tools/Logging.hh"
6#include "Rivet/Config/RivetCommon.hh"
7#include "Rivet/Particle.hh"
8#include "Rivet/Event.hh"
9#include "Rivet/Projection.hh"
10#include "Rivet/Projections/FinalState.hh"
22 setName(
"NonHadronicFinalState");
28 setName(
"NonHadronicFinalState");
36 using Projection::operator =;
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
Project only hadronic final state particles.
Definition NonHadronicFinalState.hh:16
void project(const Event &e)
Apply the projection on the supplied event.
CmpState compare(const Projection &p) const
Compare projections.
RIVET_DEFAULT_PROJ_CLONE(NonHadronicFinalState)
Clone on the heap.
NonHadronicFinalState(FinalState &fsp)
Constructor: the supplied FinalState projection is assumed to live through the run.
Definition NonHadronicFinalState.hh:20
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
const Cut & open()
Fully open cut singleton, accepts everything.
Definition MC_CENT_PPB_Projections.hh:10