Rivet
1.8.3
|
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. | |
![]() | |
virtual const ParticleVector & | particles () const |
Get the final-state particles. | |
template<typename F > | |
const ParticleVector & | particles (F sorter) const |
Get the final-state particles, ordered by supplied sorting function object. | |
const ParticleVector & | particlesByPt () const |
Get the final-state particles, ordered by decreasing ![]() | |
const ParticleVector & | particlesByP () const |
Get the final-state particles, ordered by decreasing ![]() | |
const ParticleVector & | particlesByE () const |
Get the final-state particles, ordered by decreasing ![]() | |
const ParticleVector & | particlesByEt () const |
Get the final-state particles, ordered by decreasing ![]() | |
const ParticleVector & | particlesByEta () const |
Get the final-state particles, ordered by increasing ![]() | |
const ParticleVector & | particlesByModEta () const |
Get the final-state particles, ordered by increasing ![]() | |
const ParticleVector & | particlesByRapidity () const |
Get the final-state particles, ordered by increasing ![]() | |
const ParticleVector & | particlesByModRapidity () const |
Get the final-state particles, ordered by increasing ![]() | |
virtual size_t | size () const |
Access the projected final-state particles. | |
virtual bool | empty () const |
Is this final state empty? | |
virtual bool | isEmpty () const |
virtual double | ptMin () const |
Minimum- ![]() | |
const collection_type & | entities () const |
Template-usable interface common to JetAlg. | |
FinalState (double mineta=-MAXRAPIDITY, double maxeta=MAXRAPIDITY, double minpt=0.0 *GeV) | |
FinalState (const vector< pair< double, double > > &etaRanges, double minpt=0.0 *GeV) | |
![]() | |
bool | before (const Projection &p) const |
virtual const std::set< PdgIdPair > | beamPairs () const |
virtual std::string | name () const |
Get the name of the projection. | |
Projection & | addPdgIdPair (PdgId beam1, PdgId beam2) |
Add a colliding beam pair. | |
Log & | getLog () const |
Get a Log object based on the getName() property of the calling projection object. | |
void | setName (const std::string &name) |
Used by derived classes to set their name. | |
Projection () | |
The default constructor. | |
virtual | ~Projection () |
The destructor. | |
![]() | |
ProjectionApplier () | |
Constructor. | |
std::set< ConstProjectionPtr > | getProjections () const |
Get the contained projections, including recursion. | |
template<typename PROJ > | |
const PROJ & | getProjection (const std::string &name) const |
Get the named projection, specifying return type via a template argument. | |
const Projection & | getProjection (const std::string &name) const |
template<typename PROJ > | |
const PROJ & | applyProjection (const Event &evt, const PROJ &proj) const |
Apply the supplied projection on event. | |
template<typename PROJ > | |
const PROJ & | applyProjection (const Event &evt, const Projection &proj) const |
Apply the supplied projection on event. | |
template<typename PROJ > | |
const PROJ & | applyProjection (const Event &evt, const std::string &name) const |
Apply the named projection on event. | |
Protected Member Functions | |
void | project (const Event &e) |
Apply the projection on the supplied event. | |
int | compare (const Projection &p) const |
Compare projections. | |
![]() | |
bool | accept (const Particle &p) const |
Decide if a particle is to be accepted or not. | |
![]() | |
Cmp< Projection > | mkNamedPCmp (const Projection &otherparent, const std::string &pname) const |
Cmp< Projection > | mkPCmp (const Projection &otherparent, const std::string &pname) const |
![]() | |
Log & | getLog () const |
ProjectionHandler & | getProjHandler () const |
Get a reference to the ProjectionHandler for this thread. | |
template<typename PROJ > | |
const PROJ & | addProjection (const PROJ &proj, const std::string &name) |
Additional Inherited Members | |
![]() | |
typedef Particle | entity_type |
typedef ParticleVector | collection_type |
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 |
||
) |
References Rivet::IdentifiedFinalState::acceptIdPair(), Rivet::ProjectionApplier::addProjection(), Rivet::VetoedFinalState::addVetoOnThisFinalState(), and Rivet::Projection::setName().
|
inline |
Access to the Z constituent clustered leptons (e.g. for more fine-grained cuts on the clustered leptons) The order is going to be: positive charge constituent 1st, negative 2nd
References compare(), project(), and remainingFinalState().
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)
Referenced by constituents().