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

Produce a final state which only contains specified particle IDs. More...

#include <IdentifiedFinalState.hh>

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

List of all members.

Public Member Functions

const set< PdgId > & acceptedIds () const
 Get the list of particle IDs to accept.
IdentifiedFinalState & acceptId (PdgId pid)
 Add an accepted particle ID.
IdentifiedFinalState & acceptIds (const vector< PdgId > &pids)
 Add a set of accepted particle IDs.
IdentifiedFinalState & acceptIdPair (PdgId pid)
 Add an accepted particle ID and its antiparticle.
IdentifiedFinalState & acceptIdPairs (const vector< PdgId > &pids)
 Add a set of accepted particle IDs and their antiparticles.
IdentifiedFinalState & acceptNeutrinos ()
 Accept all neutrinos (convenience method).
IdentifiedFinalState & acceptChLeptons ()
 Accept all charged leptons (convenience method).
void reset ()
 Reset the list of particle IDs to accept.
Constructors
 IdentifiedFinalState (const FinalState &fsp)
 Constructor with specific FinalState.
 IdentifiedFinalState (double etamin=-MAXRAPIDITY, double etamax=MAXRAPIDITY, double ptMin=0.0 *GeV)
 Constructor with a single eta range argument.
 IdentifiedFinalState (const vector< pair< double, double > > &etaRanges, double ptMin=0.0 *GeV)
virtual const Projection * clone () const
 Clone on the heap.

Protected Member Functions

void project (const Event &e)
 Apply the projection on the supplied event.
int compare (const Projection &p) const
 Compare projections.

Detailed Description

Produce a final state which only contains specified particle IDs.


Constructor & Destructor Documentation

Rivet::IdentifiedFinalState::IdentifiedFinalState ( const vector< pair< double, double > > &  etaRanges,
double  ptMin = 0.0*GeV 
)

Constructor which allows to specify multiple eta ranges and the min $ p_T $.

References Rivet::ProjectionApplier::addProjection(), Rivet::FinalState::FinalState(), and Rivet::Projection::setName().


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