2 #ifndef RIVET_WFinder_HH
3 #define RIVET_WFinder_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/ChargedFinalState.hh"
11 #include "Rivet/Projections/LeptonClusters.hh"
40 double etaMin,
double etaMax,
43 double minmass,
double maxmass,
45 double dRmax,
bool clusterPhotons=
true,
bool trackPhotons=
false,
46 double masstarget=80.4,
47 bool useTransverseMass=
false);
64 const std::vector<std::pair<double, double> >& etaRanges,
67 double minmass,
const double maxmass,
69 double dRmax,
bool clusterPhotons=
true,
bool trackPhotons=
false,
70 double masstarget=80.4,
71 bool useTransverseMass=
false);
75 WFinder(
double,
double,
double,
PdgId,
double,
double,
double,
double,
76 bool clusterPhotons=
true,
bool trackPhotons=
false,
77 double masstarget=80.4,
bool useTransverseMass=
false);
79 WFinder(
const std::vector<std::pair<double, double> >&,
double,
80 PdgId,
double,
double,
double,
double,
81 bool clusterPhotons=
true,
bool trackPhotons=
false,
82 double masstarget=80.4,
bool useTransverseMass=
false);
120 _theParticles.clear();
122 _constituentLeptons.clear();
123 _constituentNeutrinos.clear();
131 const std::vector<std::pair<double, double> >& etaRanges,
132 double pTmin,
PdgId pid,
133 double minmass,
double maxmass,
135 double dRmax,
bool clusterPhotons,
bool trackPhotons,
137 bool useTransverseMass);
143 double _minmass, _maxmass, _masstarget;
144 bool _useTransverseMass;