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

Convenience finder of leptonically decaying Ws. More...

#include <WFinder.hh>

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

List of all members.

Public Member Functions

const ParticleVectorbosons () const
 Access to the found bosons (currently either 0 or 1)
const vector< Particle > & constituentLeptons () const
const vector< Particle > & constituentNeutrinos () const
const FinalStateremainingFinalState () const
void clear ()
 Clear the projection.
Constructors
 WFinder (const FinalState &inputfs, double etaMin, double etaMax, double pTmin, PdgId pid, double minmass, double maxmass, double missingET, double dRmax, bool clusterPhotons=true, bool trackPhotons=false, double masstarget=80.4, bool useTransverseMass=false)
 WFinder (const FinalState &inputfs, const std::vector< std::pair< double, double > > &etaRanges, double pTmin, PdgId pid, double minmass, const double maxmass, double missingET, double dRmax, bool clusterPhotons=true, bool trackPhotons=false, double masstarget=80.4, bool useTransverseMass=false)
 WFinder (double, double, double, PdgId, double, double, double, double, bool clusterPhotons=true, bool trackPhotons=false, double masstarget=80.4, bool useTransverseMass=false)
 WFinder (const std::vector< std::pair< double, double > > &, double, PdgId, double, double, double, double, bool clusterPhotons=true, bool trackPhotons=false, double masstarget=80.4, bool useTransverseMass=false)
virtual const Projectionclone () 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

Convenience finder of leptonically decaying Ws.

Chain together different projections as convenience for finding W's from two leptons in the final state, including photon clustering.


Constructor & Destructor Documentation

Rivet::WFinder::WFinder ( const FinalState inputfs,
double  etaMin,
double  etaMax,
double  pTmin,
PdgId  pid,
double  minmass,
double  maxmass,
double  missingET,
double  dRmax,
bool  clusterPhotons = true,
bool  trackPhotons = false,
double  masstarget = 80.4,
bool  useTransverseMass = false 
)

Constructor taking single eta/pT bounds

Parameters:
inputfsInput final state
etaMin,etaMax,pTmincharged lepton cuts
pidtype of the charged lepton
minmass,maxmass(transverse) mass window
missingETminimal amount of missing ET (neutrinos) required
dRmaxmaximum dR of photons around charged lepton to take into account for W reconstruction (only relevant if one of the following are true)
clusterPhotonswhether such photons are supposed to be clustered to the lepton object and thus W mom
trackPhotonswhether such photons should be added to _theParticles (cf. _trackPhotons)
useTransverseMasswhether mass window should be applied using mT

Referenced by clone().

Rivet::WFinder::WFinder ( const FinalState inputfs,
const std::vector< std::pair< double, double > > &  etaRanges,
double  pTmin,
PdgId  pid,
double  minmass,
const double  maxmass,
double  missingET,
double  dRmax,
bool  clusterPhotons = true,
bool  trackPhotons = false,
double  masstarget = 80.4,
bool  useTransverseMass = false 
)

Constructor taking multiple eta/pT bounds

Parameters:
inputfsInput final state
etaRanges,pTmincharged lepton cuts
pidtype of the charged lepton
minmass,maxmass(transverse) mass window
missingETminimal amount of missing ET (neutrinos) required
dRmaxmaximum dR of photons around charged lepton to take into account for W reconstruction (only relevant if one of the following are true)
clusterPhotonswhether such photons are supposed to be clustered to the lepton object and thus W mom
trackPhotonswhether such photons should be added to _theParticles (cf. _trackPhotons)
useTransverseMasswhether mass window should be applied using mT
Rivet::WFinder::WFinder ( double  etaMin,
double  etaMax,
double  pTmin,
PdgId  pid,
double  minmass,
double  maxmass,
double  missingET,
double  dRmax,
bool  clusterPhotons = true,
bool  trackPhotons = false,
double  masstarget = 80.4,
bool  useTransverseMass = false 
)
Deprecated:
Constructors without inputfs -- only for backwards compatibility
Rivet::WFinder::WFinder ( const std::vector< std::pair< double, double > > &  etaRanges,
double  pTmin,
PdgId  pid,
double  minmass,
double  maxmass,
double  missingET,
double  dRmax,
bool  clusterPhotons = true,
bool  trackPhotons = false,
double  masstarget = 80.4,
bool  useTransverseMass = false 
)
Deprecated:
Constructors without inputfs -- only for backwards compatibility

Member Function Documentation

const vector<Particle>& Rivet::WFinder::constituentLeptons ( ) const [inline]

Access to the W constituent clustered leptons (currently either of size 0 if no boson was found or 1 if one boson was found)

const vector<Particle>& Rivet::WFinder::constituentNeutrinos ( ) const [inline]

Access to the W constituent neutrinos (currently either of size 0 if no boson was found or 1 if one boson was found)

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

Apply the projection on the supplied event.

Todo:
Restrict missing momentum eta range? Use vectorET()?

Reimplemented from Rivet::FinalState.

References Rivet::InvMassFinalState::calc(), clear(), Rivet::Particle::momentum(), Rivet::InvMassFinalState::particlePairs(), Rivet::Particle::pdgId(), and Rivet::InvMassFinalState::useTransverseMass().

Access to the remaining particles, after the W and clustered photons have been removed from the full final state (e.g. for running a jet finder on it)


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