Rivet API documentation
![]() |
Rivet 4.1.3
|
LeadingParticlesFinalState.hh
Representation of a HepMC event, and enabler of Projection caching.
Definition Event.hh:22
LeadingParticlesFinalState(const FinalState &fsp)
Constructor: the supplied FinalState projection is assumed to live through the run.
Definition LeadingParticlesFinalState.hh:17
RIVET_DEFAULT_PROJ_CLONE(LeadingParticlesFinalState)
Clone on the heap.
CmpState compare(const Projection &p) const
Compare projections.
LeadingParticlesFinalState & addParticleId(PdgId id)
Add a particle ID to the list of leading particles selected.
Definition LeadingParticlesFinalState.hh:32
LeadingParticlesFinalState & addParticleIdPair(PdgId id)
Add a particle ID to the list of leading particles selected.
Definition LeadingParticlesFinalState.hh:44
LeadingParticlesFinalState & addParticleIds(vector< PdgId > ids)
Add a particle ID to the list of leading particles selected.
Definition LeadingParticlesFinalState.hh:38
void setLeadingOnly(bool leadingonly)
Definition LeadingParticlesFinalState.hh:53
void project(const Event &e)
Apply the projection on the supplied event.
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
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
