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

Convenience finder of leptonically decaying Zs. More...

#include <ZFinder.hh>

Inheritance diagram for Rivet::ZFinder:
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 > & constituents () const
const FinalStateremainingFinalState () const
void clear ()
 Clear the projection.
Constructors
 ZFinder (const FinalState &inputfs, double etaMin, double etaMax, double pTmin, PdgId pid, double minmass, double maxmass, double dRmax, bool clusterPhotons, bool trackPhotons, double masstarget=91.2 *GeV)
 ZFinder (const FinalState &inputfs, const std::vector< std::pair< double, double > > &etaRanges, double pTmin, PdgId pid, double minmass, const double maxmass, double dRmax, bool clusterPhotons, bool trackPhotons, double masstarget=91.2 *GeV)
 ZFinder (double, double, double, PdgId, double, double, double, bool, bool, double masstarget=91.2 *GeV)
 ZFinder (const std::vector< std::pair< double, double > > &, double, PdgId, double, double, double, bool, bool, double masstarget=91.2 *GeV)
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 Zs.

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


Constructor & Destructor Documentation

Rivet::ZFinder::ZFinder ( const FinalState inputfs,
double  etaMin,
double  etaMax,
double  pTmin,
PdgId  pid,
double  minmass,
double  maxmass,
double  dRmax,
bool  clusterPhotons,
bool  trackPhotons,
double  masstarget = 91.2*GeV 
)

Constructor taking single eta/pT bounds

Parameters:
inputfsInput final state
etaMin,etaMax,pTminlepton cuts
pidtype of the leptons
minmass,maxmassmass window
dRmaxmaximum dR of photons around leptons to take into account for Z reconstruction (only relevant if one of the following are true)
clusterPhotonswhether such photons are supposed to be clustered to the lepton objects and thus Z mom
trackPhotonswhether such photons should be added to _theParticles (cf. _trackPhotons)

Referenced by clone().

Rivet::ZFinder::ZFinder ( const FinalState inputfs,
const std::vector< std::pair< double, double > > &  etaRanges,
double  pTmin,
PdgId  pid,
double  minmass,
const double  maxmass,
double  dRmax,
bool  clusterPhotons,
bool  trackPhotons,
double  masstarget = 91.2*GeV 
)

Constructor taking multiple eta/pT bounds

Parameters:
inputfsInput final state
etaRanges,pTminlepton cuts
pidtype of the leptons
minmass,maxmassmass window
dRmaxmaximum dR of photons around leptons to take into account for Z reconstruction (only relevant if one of the following are true)
clusterPhotonswhether such photons are supposed to be clustered to the lepton objects and thus Z mom
trackPhotonswhether such photons should be added to _theParticles (cf. _trackPhotons)
Rivet::ZFinder::ZFinder ( double  etaMin,
double  etaMax,
double  pTmin,
PdgId  pid,
double  minmass,
double  maxmass,
double  dRmax,
bool  clusterPhotons,
bool  trackPhotons,
double  masstarget = 91.2*GeV 
)
Deprecated:
Constructors without inputfs -- only for backwards compatibility
Rivet::ZFinder::ZFinder ( const std::vector< std::pair< double, double > > &  etaRanges,
double  pTmin,
PdgId  pid,
double  minmass,
double  maxmass,
double  dRmax,
bool  clusterPhotons,
bool  trackPhotons,
double  masstarget = 91.2*GeV 
)
Deprecated:
Constructors without inputfs -- only for backwards compatibility

Member Function Documentation

const vector<Particle>& Rivet::ZFinder::constituents ( ) const [inline]

Access to the Z constituent clustered leptons (e.g. for more fine-grained cuts on the clustered leptons)

Access to the remaining particles, after the Z 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: