2 #ifndef RIVET_ZFinder_HH 3 #define RIVET_ZFinder_HH 5 #include "Rivet/Tools/Logging.hh" 6 #include "Rivet/Rivet.hh" 7 #include "Rivet/Particle.hh" 8 #include "Rivet/Event.hh" 9 #include "Rivet/Projection.hh" 10 #include "Rivet/Projections/FinalState.hh" 11 #include "Rivet/Projections/LeptonClusters.hh" 39 double etaMin,
double etaMax,
42 double minmass,
double maxmass,
43 double dRmax,
bool clusterPhotons,
bool trackPhotons,
44 double masstarget=91.2*GeV);
59 const std::vector<std::pair<double, double> >& etaRanges,
62 double minmass,
const double maxmass,
63 double dRmax,
bool clusterPhotons,
bool trackPhotons,
64 double masstarget=91.2*GeV);
68 ZFinder(
double,
double,
double, PdgId,
double,
double,
double,
69 bool,
bool,
double masstarget=91.2*GeV);
71 ZFinder(
const std::vector<std::pair<double, double> >&,
double, PdgId,
72 double,
double,
double,
bool,
bool,
double masstarget=91.2*GeV);
83 const ParticleVector&
bosons()
const {
return _bosons; }
88 const vector<Particle>&
constituents()
const {
return _constituents; }
109 _theParticles.clear();
111 _constituents.clear();
118 const std::vector<std::pair<double, double> >& etaRanges,
119 double pTmin, PdgId pid,
120 double minmass,
double maxmass,
121 double dRmax,
bool clusterPhotons,
bool trackPhotons,
125 double _minmass, _maxmass, _masstarget;
139 ParticleVector _bosons;
142 vector<Particle> _constituents;
const FinalState & remainingFinalState() const
Definition: ZFinder.cc:90
Definition: MC_JetAnalysis.hh:9
virtual const Projection * clone() const
Clone on the heap.
Definition: ZFinder.hh:76
Convenience finder of leptonically decaying Zs.
Definition: ZFinder.hh:20
const vector< Particle > & constituents() const
Definition: ZFinder.hh:88
int compare(const Projection &p) const
Compare projections.
Definition: ZFinder.cc:96
void project(const Event &e)
Apply the projection on the supplied event.
Definition: ZFinder.cc:106
Project out all final-state particles in an event. Probably the most important projection in Rivet! ...
Definition: FinalState.hh:14
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)
Definition: ZFinder.cc:13
const ParticleVector & bosons() const
Access to the found bosons (currently either 0 or 1)
Definition: ZFinder.hh:83
Base class for all Rivet projections.
Definition: Projection.hh:28
void clear()
Clear the projection.
Definition: ZFinder.hh:108