Rivet
1.8.0
|
Convenience finder of leptonically decaying Ws. More...
#include <WFinder.hh>
Public Member Functions | |
const ParticleVector & | bosons () const |
Access to the found bosons (currently either 0 or 1) | |
const vector< Particle > & | constituentLeptons () const |
const vector< Particle > & | constituentNeutrinos () const |
const FinalState & | remainingFinalState () 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 Projection * | clone () 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. |
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.
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
inputfs | Input final state |
etaMin,etaMax,pTmin | charged lepton cuts |
pid | type of the charged lepton |
minmass,maxmass | (transverse) mass window |
missingET | minimal amount of missing ET (neutrinos) required |
dRmax | maximum dR of photons around charged lepton to take into account for W reconstruction (only relevant if one of the following are true) |
clusterPhotons | whether such photons are supposed to be clustered to the lepton object and thus W mom |
trackPhotons | whether such photons should be added to _theParticles (cf. _trackPhotons) |
useTransverseMass | whether 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
inputfs | Input final state |
etaRanges,pTmin | charged lepton cuts |
pid | type of the charged lepton |
minmass,maxmass | (transverse) mass window |
missingET | minimal amount of missing ET (neutrinos) required |
dRmax | maximum dR of photons around charged lepton to take into account for W reconstruction (only relevant if one of the following are true) |
clusterPhotons | whether such photons are supposed to be clustered to the lepton object and thus W mom |
trackPhotons | whether such photons should be added to _theParticles (cf. _trackPhotons) |
useTransverseMass | whether 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 |
||
) |
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 |
||
) |
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.
Reimplemented from Rivet::FinalState.
References Rivet::InvMassFinalState::calc(), clear(), Rivet::Particle::momentum(), Rivet::InvMassFinalState::particlePairs(), Rivet::Particle::pdgId(), and Rivet::InvMassFinalState::useTransverseMass().
const FinalState & Rivet::WFinder::remainingFinalState | ( | ) | const |
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)