2 #ifndef RIVET_InitialQuarks_HH 3 #define RIVET_InitialQuarks_HH 5 #include "Rivet/Projection.hh" 6 #include "Rivet/Particle.hh" 7 #include "Rivet/Event.hh" 34 virtual const Particles&
particles()
const {
return _theParticles; }
37 virtual bool empty()
const {
return _theParticles.empty(); }
52 Particles _theParticles;
void setName(const std::string &name)
Used by derived classes to set their name.
Definition: Projection.hh:133
Definition: ALICE_2010_I880049.cc:13
virtual const Particles & particles() const
Access the projected final-state particles.
Definition: InitialQuarks.hh:34
Project out quarks from the hard process in events.
Definition: InitialQuarks.hh:17
virtual void project(const Event &e)
Apply the projection to the event.
Definition: InitialQuarks.cc:12
virtual int compare(const Projection &p) const
Compare projections.
Definition: InitialQuarks.cc:7
DEFAULT_RIVET_PROJ_CLONE(InitialQuarks)
Clone on the heap.
InitialQuarks()
Definition: InitialQuarks.hh:24
Base class for all Rivet projections.
Definition: Projection.hh:29
virtual bool empty() const
Is this final state empty?
Definition: InitialQuarks.hh:37