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" 36 virtual const ParticleVector&
particles()
const {
return _theParticles; }
39 virtual bool empty()
const {
return _theParticles.empty(); }
41 virtual bool isEmpty()
const {
return _theParticles.empty(); }
56 ParticleVector _theParticles;
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: InitialQuarks.hh:30
virtual bool isEmpty() const
Definition: InitialQuarks.hh:41
Project out quarks from the hard process in events.
Definition: InitialQuarks.hh:16
virtual const ParticleVector & particles() const
Access the projected final-state particles.
Definition: InitialQuarks.hh:36
virtual void project(const Event &e)
Apply the projection to the event.
Definition: InitialQuarks.cc:18
virtual int compare(const Projection &p) const
Compare projections.
Definition: InitialQuarks.cc:13
InitialQuarks()
Definition: InitialQuarks.hh:23
Base class for all Rivet projections.
Definition: Projection.hh:28
virtual bool empty() const
Is this final state empty?
Definition: InitialQuarks.hh:39