Rivet
1.8.0
|
Get the highest-pT occurrences of FS particles with the specified PDG IDs. More...
#include <LeadingParticlesFinalState.hh>
Public Member Functions | |
LeadingParticlesFinalState (const FinalState &fsp) | |
Constructor: the supplied FinalState projection is assumed to live through the run. | |
virtual const Projection * | clone () const |
Clone on the heap. | |
LeadingParticlesFinalState & | addParticleId (long id) |
Add a particle ID to the list of leading particles selected. | |
LeadingParticlesFinalState & | addParticleIdPair (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. |
Get the highest-pT occurrences of FS particles with the specified PDG IDs.
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)