Rivet
1.8.0
|
Convenience finder of leptonically decaying Zs. More...
#include <ZFinder.hh>
Public Member Functions | |
const ParticleVector & | bosons () const |
Access to the found bosons (currently either 0 or 1) | |
const vector< Particle > & | constituents () const |
const FinalState & | remainingFinalState () 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 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 Zs.
Chain together different projections as convenience for finding Z's from two leptons in the final state, including photon clustering.
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
inputfs | Input final state |
etaMin,etaMax,pTmin | lepton cuts |
pid | type of the leptons |
minmass,maxmass | mass window |
dRmax | maximum dR of photons around leptons to take into account for Z reconstruction (only relevant if one of the following are true) |
clusterPhotons | whether such photons are supposed to be clustered to the lepton objects and thus Z mom |
trackPhotons | whether 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
inputfs | Input final state |
etaRanges,pTmin | lepton cuts |
pid | type of the leptons |
minmass,maxmass | mass window |
dRmax | maximum dR of photons around leptons to take into account for Z reconstruction (only relevant if one of the following are true) |
clusterPhotons | whether such photons are supposed to be clustered to the lepton objects and thus Z mom |
trackPhotons | whether 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 |
||
) |
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 |
||
) |
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)
const FinalState & Rivet::ZFinder::remainingFinalState | ( | ) | const |
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)