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

Identify particles which can be paired to fit within a given invariant mass window. More...

#include <InvMassFinalState.hh>

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

List of all members.

Public Member Functions

 InvMassFinalState (const FinalState &fsp, const std::pair< PdgId, PdgId > &idpair, double minmass, double maxmass, double masstarget=-1.0)
 Constructor for a single inv-mass pair.
 InvMassFinalState (const FinalState &fsp, const std::vector< std::pair< PdgId, PdgId > > &idpairs, double minmass, double maxmass, double masstarget=-1.0)
 Constructor for multiple inv-mass pairs.
 InvMassFinalState (const std::pair< PdgId, PdgId > &idpair, double minmass, double maxmass, double masstarget=-1.0)
 Same thing as above, but we want to pass the particles directly to the calc method.
 InvMassFinalState (const std::vector< std::pair< PdgId, PdgId > > &idpairs, double minmass, double maxmass, double masstarget=-1.0)
virtual const Projectionclone () const
 Clone on the heap.
const std::vector< std::pair
< Particle, Particle > > & 
particlePairs () const
 Constituent pairs.
void useTransverseMass (bool usetrans=true)
 Choose whether to use the full inv mass or just the transverse mass.
void calc (const ParticleVector &inparticles)
 Operate on a given particle vector directly instead of through project (no caching)

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

Identify particles which can be paired to fit within a given invariant mass window.


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