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

FS modifier to exclude classes of particles from the final state. More...

#include <VetoedFinalState.hh>

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

List of all members.

Public Types

typedef pair< double, double > BinaryCut
 Typedef for a pair of back-to-back cuts.
typedef map< long, BinaryCut > VetoDetails
 Typedef for a vetoing entry.
typedef multimap< int, BinaryCut > CompositeVeto
 Typedef for a veto on a composite particle mass.

Public Member Functions

const VetoDetails & vetoDetails () const
 Get the list of particle IDs and $ p_T $ ranges to veto.
VetoedFinalState & addVetoDetail (const long id, const double ptmin, const double ptmax)
VetoedFinalState & addVetoPairDetail (const long id, const double ptmin, const double ptmax)
VetoedFinalState & addVetoPairId (const long id)
VetoedFinalState & addVetoId (const long id)
 Add a particle ID to veto (all $ p_T $ range will be vetoed).
VetoedFinalState & vetoNeutrinos ()
 Veto all neutrinos (convenience method)
VetoedFinalState & addCompositeMassVeto (const double &mass, const double &width, int nProducts=2)
VetoedFinalState & addDecayProductsVeto (const long id)
VetoedFinalState & setVetoDetails (const VetoDetails &ids)
 Set the list of particle IDs and $ p_T $ ranges to veto.
VetoedFinalState & reset ()
 Clear the list of particle IDs and ranges to veto.
VetoedFinalState & addVetoOnThisFinalState (const FinalState &fs)
 Veto particles from a supplied final state.
Constructors
 VetoedFinalState ()
 Default constructor.
 VetoedFinalState (const FinalState &fsp)
 Constructor with specific FinalState.
 VetoedFinalState (const VetoDetails &vetocodes)
 VetoedFinalState (const FinalState &fsp, const VetoDetails &vetocodes)
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

FS modifier to exclude classes of particles from the final state.


Constructor & Destructor Documentation

Rivet::VetoedFinalState::VetoedFinalState ( const VetoDetails &  vetocodes) [inline]

You can add a map of ID plus a pair containing $ p_{Tmin} $ and $ p_{Tmax} $ - these define the range of particles to be vetoed.

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

Rivet::VetoedFinalState::VetoedFinalState ( const FinalState &  fsp,
const VetoDetails &  vetocodes 
) [inline]

You can add a map of ID plus a pair containing $ p_{Tmin} $ and $ p_{Tmax} $ - these define the range of particles to be vetoed. This version also supplies a specifi FinalState to be used.

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


Member Function Documentation

VetoedFinalState& Rivet::VetoedFinalState::addCompositeMassVeto ( const double &  mass,
const double &  width,
int  nProducts = 2 
) [inline]

Add a veto on composite masses within a given width. The composite mass is composed of nProducts decay products @ todo might we want to specify a range of pdg ids for the decay products?

Veto the decay products of particle with pdg id

Todo:
Need HepMC to sort themselves out and keep vector bosons from the hard vtx in the event record before this will work reliably for all pdg ids
VetoedFinalState& Rivet::VetoedFinalState::addVetoDetail ( const long  id,
const double  ptmin,
const double  ptmax 
) [inline]

Add a particle ID and $ p_T $ range to veto. Particles with $ p_T $ IN the given range will be rejected.

Referenced by addVetoPairDetail().

VetoedFinalState& Rivet::VetoedFinalState::addVetoPairDetail ( const long  id,
const double  ptmin,
const double  ptmax 
) [inline]

Add a particle/antiparticle pair to veto in a given $ p_T $ range. Given a single ID, both the particle and its conjugate antiparticle will be rejected if their $ p_T $ is IN the given range.

References addVetoDetail().

Add a particle/antiparticle pair to veto. Given a single ID, both the particle and its corresponding antiparticle (for all $ p_T $ values) will be vetoed.

References addVetoId().

Referenced by vetoNeutrinos().

void Rivet::VetoedFinalState::project ( const Event &  e) [protected, virtual]

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