Rivet  1.8.0
Public Member Functions | Protected Member Functions
Rivet::LeadingParticlesFinalState Class Reference

Get the highest-pT occurrences of FS particles with the specified PDG IDs. More...

#include <LeadingParticlesFinalState.hh>

Inheritance diagram for Rivet::LeadingParticlesFinalState:
Rivet::FinalState Rivet::Projection Rivet::ProjectionApplier

List of all members.

Public Member Functions

 LeadingParticlesFinalState (const FinalState &fsp)
 Constructor: the supplied FinalState projection is assumed to live through the run.
virtual const Projectionclone () const
 Clone on the heap.
LeadingParticlesFinalStateaddParticleId (long id)
 Add a particle ID to the list of leading particles selected.
LeadingParticlesFinalStateaddParticleIdPair (long id)
 Add a particle ID to the list of leading particles selected.
void setLeadingOnly (const bool &leadingonly)

Protected Member Functions

void project (const Event &e)
 Apply the projection on the supplied event.
int compare (const Projection &p) const
 Compare projections.
bool inList (const Particle &particle) const
 Check if the particle's ID is in the list.

Detailed Description

Get the highest-pT occurrences of FS particles with the specified PDG IDs.


Member Function Documentation

void Rivet::LeadingParticlesFinalState::setLeadingOnly ( const bool &  leadingonly) [inline]

Toggle whether to keep track only of the leading particle of any ID, or the leading particle of all IDs separately Default is the latter (=false)


The documentation for this class was generated from the following files: