2 #ifndef RIVET_LeadingParticlesFinalState_HH 3 #define RIVET_LeadingParticlesFinalState_HH 5 #include "Rivet/Event.hh" 6 #include "Rivet/Projection.hh" 7 #include "Rivet/Projections/FinalState.hh" 20 setName(
"LeadingParticlesFinalState");
44 _leading_only = leadingonly;
64 bool inList(
const Particle& particle)
const;
void setName(const std::string &name)
Used by derived classes to set their name.
Definition: Projection.hh:133
Definition: ALICE_2010_I880049.cc:13
void setLeadingOnly(const bool &leadingonly)
Definition: LeadingParticlesFinalState.hh:43
DEFAULT_RIVET_PROJ_CLONE(LeadingParticlesFinalState)
Clone on the heap.
void project(const Event &e)
Apply the projection on the supplied event.
Definition: LeadingParticlesFinalState.cc:27
Particle representation, either from a HepMC::GenEvent or reconstructed.
Definition: Particle.hh:18
LeadingParticlesFinalState & addParticleId(long id)
Add a particle ID to the list of leading particles selected.
Definition: LeadingParticlesFinalState.hh:28
Project out all final-state particles in an event. Probably the most important projection in Rivet! ...
Definition: FinalState.hh:12
LeadingParticlesFinalState & addParticleIdPair(long id)
Add a particle ID to the list of leading particles selected.
Definition: LeadingParticlesFinalState.hh:34
int compare(const Projection &p) const
Compare projections.
Definition: LeadingParticlesFinalState.cc:7
const PROJ & addProjection(const PROJ &proj, const std::string &name)
Register a contained projection (user-facing version)
Definition: ProjectionApplier.hh:170
Get the highest-pT occurrences of FS particles with the specified PDG IDs.
Definition: LeadingParticlesFinalState.hh:13
Base class for all Rivet projections.
Definition: Projection.hh:29
LeadingParticlesFinalState(const FinalState &fsp)
Constructor: the supplied FinalState projection is assumed to live through the run.
Definition: LeadingParticlesFinalState.hh:17