Rivet  1.8.0
Public Types | Public Member Functions | Protected Member Functions
Rivet::FinalState Class Reference

Project out all final-state particles in an event. Probably the most important projection in Rivet! More...

#include <FinalState.hh>

Inheritance diagram for Rivet::FinalState:
Rivet::Projection Rivet::ProjectionApplier Rivet::LossyFinalState< ConstRandomFilter > Rivet::ChargedFinalState Rivet::ChargedLeptons Rivet::ClusteredPhotons Rivet::DISFinalState Rivet::HadronicFinalState Rivet::IdentifiedFinalState Rivet::InvMassFinalState Rivet::LeadingParticlesFinalState Rivet::LeptonClusters Rivet::LossyFinalState< FILTER > Rivet::MergedFinalState Rivet::NeutralFinalState Rivet::NonHadronicFinalState Rivet::UnstableFinalState Rivet::VetoedFinalState Rivet::VisibleFinalState Rivet::WFinder Rivet::ZFinder

List of all members.

Public Types

typedef Particle entity_type
typedef ParticleVector collection_type

Public Member Functions

virtual const ParticleVectorparticles () const
 Get the final-state particles.
template<typename F >
const ParticleVectorparticles (F sorter) const
 Get the final-state particles, ordered by supplied sorting function object.
const ParticleVectorparticlesByPt () const
 Get the final-state particles, ordered by decreasing $ p_T $.
const ParticleVectorparticlesByP () const
 Get the final-state particles, ordered by decreasing $ p $.
const ParticleVectorparticlesByE () const
 Get the final-state particles, ordered by decreasing $ E $.
const ParticleVectorparticlesByEt () const
 Get the final-state particles, ordered by decreasing $ E_T $.
const ParticleVectorparticlesByEta () const
 Get the final-state particles, ordered by increasing $ \eta $.
const ParticleVectorparticlesByModEta () const
 Get the final-state particles, ordered by increasing $ |\eta| $.
virtual size_t size () const
 Access the projected final-state particles.
virtual bool empty () const
 Is this final state empty?
virtual bool isEmpty () const
virtual double ptMin () const
 Minimum- $ p_\perp $ requirement.
const collection_type & entities () const
 Template-usable interface common to JetAlg.
Standard constructors and destructors.
 FinalState (double mineta=-MAXRAPIDITY, double maxeta=MAXRAPIDITY, double minpt=0.0 *GeV)
 FinalState (const vector< pair< double, double > > &etaRanges, double minpt=0.0 *GeV)
virtual const Projectionclone () const
 Clone on the heap.

Protected Member Functions

virtual void project (const Event &e)
 Apply the projection to the event.
virtual int compare (const Projection &p) const
 Compare projections.
bool accept (const Particle &p) const
 Decide if a particle is to be accepted or not.

Detailed Description

Project out all final-state particles in an event. Probably the most important projection in Rivet!


Constructor & Destructor Documentation

Rivet::FinalState::FinalState ( double  mineta = -MAXRAPIDITY,
double  maxeta = MAXRAPIDITY,
double  minpt = 0.0*GeV 
)
Rivet::FinalState::FinalState ( const vector< pair< double, double > > &  etaRanges,
double  minpt = 0.0*GeV 
)

A constructor which allows to specify multiple eta ranges and the min $ p_T $ (in GeV).

Todo:
Properly check whether any of these eta ranges (or their combination) are actually open

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


Member Function Documentation

virtual bool Rivet::FinalState::isEmpty ( ) const [inline, virtual]
Deprecated:
Is this final state empty?
void Rivet::FinalState::project ( const Event e) [protected, virtual]

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