|
Convenience finder of leptonically decaying W.
More...
#include <WFinder.hh>
|
enum | ChargedLeptons { PROMPTCHLEPTONS =0,
ALLCHLEPTONS
} |
|
enum | ClusterPhotons { NOCLUSTER =0,
CLUSTERNODECAY =1,
CLUSTERALL
} |
|
enum | PhotonTracking { NOTRACK =0,
TRACK =1
} |
|
enum | MassWindow { MASS =0,
TRANSMASS =1
} |
|
Public Types inherited from Rivet::ParticleFinder |
typedef Particle | entity_type |
|
typedef Particles | collection_type |
|
|
const Particles & | bosons () const |
| Access to the found bosons, equivalent to constituents() More...
|
|
const Particle & | boson () const |
|
const Particles & | constituentLeptons () const |
| Access to the Ws' constituent clustered leptons. More...
|
|
const Particle & | constituentLepton () const |
|
const Particles & | constituentNeutrinos () const |
|
const Particle & | constituentNeutrino () const |
|
const VetoedFinalState & | remainingFinalState () const |
|
const MissingMomentum & | missingMom () const |
| Access to the missing momentum projection used to find the "neutrino".
|
|
double | mT () const |
| Calculate the transverse mass of the W, from the charged lepton and neutrino. More...
|
|
void | clear () |
| Clear the projection.
|
|
|
| WFinder (const FinalState &inputfs, const Cut &leptoncuts, PdgId pid, double minmass, double maxmass, double missingET, double dRmax=0.1, ChargedLeptons chLeptons=PROMPTCHLEPTONS, ClusterPhotons clusterPhotons=CLUSTERNODECAY, PhotonTracking trackPhotons=NOTRACK, MassWindow masstype=MASS, double masstarget=80.4 *GeV) |
|
| WFinder (const FinalState &inputfs, const Cut &leptoncuts, PdgId pid, double minmass, double maxmass, double missingET, double dRmax, ClusterPhotons clusterPhotons, PhotonTracking trackPhotons=NOTRACK, MassWindow masstype=MASS, double masstarget=80.4 *GeV) |
|
| DEFAULT_RIVET_PROJ_CLONE (WFinder) |
| Clone on the heap.
|
|
Public Member Functions inherited from Rivet::ParticleFinder |
| ParticleFinder (const Cut &c=Cuts::OPEN) |
| Construction using Cuts object.
|
|
virtual | ~ParticleFinder () |
| Virtual destructor for inheritance.
|
|
virtual unique_ptr< Projection > | clone () const =0 |
| Clone on the heap.
|
|
size_t | size () const |
| Count the final-state particles.
|
|
size_t | size (const Cut &c) const |
| Count the final-state particles after a Cut is applied.
|
|
size_t | size (const ParticleSelector &s) const |
| Count the final-state particles after a selection functor is applied.
|
|
bool | empty () const |
| Is this final state empty?
|
|
bool | empty (const Cut &c) const |
| Is this final state empty after a Cut is applied?
|
|
bool | empty (const ParticleSelector &s) const |
| Is this final state empty after a selection functor is applied?
|
|
virtual const Particles & | particles () const |
| Get the particles in no particular order, with no cuts.
|
|
Particles | rawParticles () const |
|
Particles | particles (const Cut &c) const |
| Get the particles with selection cuts. More...
|
|
Particles | particles (const ParticleSelector &selector) const |
| Get the particles with selection cuts via a functor. More...
|
|
Particles | particles (const ParticleSorter &sorter, const Cut &c=Cuts::open()) const |
|
Particles | particles (const Cut &c, const ParticleSorter &sorter) const |
|
Particles | particles (const ParticleSelector &selector, const ParticleSorter &sorter) const |
|
Particles | particles (const ParticleSorter &sorter, const ParticleSelector &selector) const |
|
Particles | particlesByPt (const Cut &c=Cuts::open()) const |
|
Particles | particlesByPt (const ParticleSelector &selector) const |
|
Particles | particlesByPt (double ptmin) const |
|
const collection_type & | entities () const |
| Template-usable interface common to JetAlg.
|
|
virtual std::string | name () const |
| Get the name of the projection.
|
|
| Projection () |
| The default constructor.
|
|
virtual | ~Projection () |
| The destructor.
|
|
bool | before (const Projection &p) const |
|
virtual const std::set< PdgIdPair > | beamPairs () const |
|
Projection & | addPdgIdPair (PdgId beam1, PdgId beam2) |
|
| ProjectionApplier () |
| Constructor.
|
|
void | markAsOwned () const |
| Mark this object as owned by a proj-handler.
|
|
std::set< ConstProjectionPtr > | getProjections () const |
| Get the contained projections, including recursion.
|
|
bool | hasProjection (const std::string &name) const |
| Does this applier have a projection registered under the name name?
|
|
template<typename PROJ > |
const PROJ & | getProjection (const std::string &name) const |
|
template<typename PROJ > |
const PROJ & | get (const std::string &name) const |
|
const Projection & | getProjection (const std::string &name) const |
|
template<typename PROJ > |
const PROJ & | applyProjection (const Event &evt, const Projection &proj) const |
| Apply the supplied projection on event evt. More...
|
|
template<typename PROJ > |
const PROJ & | apply (const Event &evt, const Projection &proj) const |
|
template<typename PROJ > |
const PROJ & | applyProjection (const Event &evt, const PROJ &proj) const |
| Apply the supplied projection on event evt. More...
|
|
template<typename PROJ > |
const PROJ & | apply (const Event &evt, const PROJ &proj) const |
|
template<typename PROJ > |
const PROJ & | applyProjection (const Event &evt, const std::string &name) const |
|
template<typename PROJ > |
const PROJ & | apply (const Event &evt, const std::string &name) const |
|
template<typename PROJ > |
const PROJ & | apply (const std::string &name, const Event &evt) const |
|
Convenience finder of leptonically decaying W.
Chain together different projections as convenience for finding one W from one lepton and the missing E 4-vector in the final state, including photon clustering.
◆ WFinder() [1/2]
Rivet::WFinder::WFinder |
( |
const FinalState & |
inputfs, |
|
|
const Cut & |
leptoncuts, |
|
|
PdgId |
pid, |
|
|
double |
minmass, |
|
|
double |
maxmass, |
|
|
double |
missingET, |
|
|
double |
dRmax = 0.1 , |
|
|
ChargedLeptons |
chLeptons = PROMPTCHLEPTONS , |
|
|
ClusterPhotons |
clusterPhotons = CLUSTERNODECAY , |
|
|
PhotonTracking |
trackPhotons = NOTRACK , |
|
|
MassWindow |
masstype = MASS , |
|
|
double |
masstarget = 80.4*GeV |
|
) |
| |
◆ WFinder() [2/2]
Rivet::WFinder::WFinder |
( |
const FinalState & |
inputfs, |
|
|
const Cut & |
leptoncuts, |
|
|
PdgId |
pid, |
|
|
double |
minmass, |
|
|
double |
maxmass, |
|
|
double |
missingET, |
|
|
double |
dRmax, |
|
|
ClusterPhotons |
clusterPhotons, |
|
|
PhotonTracking |
trackPhotons = NOTRACK , |
|
|
MassWindow |
masstype = MASS , |
|
|
double |
masstarget = 80.4*GeV |
|
) |
| |
|
inline |
Backward-compatible constructor with implicit chLeptons mode = PROMPTCHLEPTONS - Deprecated:
- Remove this and always use the constructor with chLeptons argument.
References DEFAULT_RIVET_PROJ_CLONE().
◆ boson()
const Particle& Rivet::WFinder::boson |
( |
| ) |
const |
|
inline |
◆ bosons()
const Particles& Rivet::WFinder::bosons |
( |
| ) |
const |
|
inline |
◆ constituentLepton()
const Particle& Rivet::WFinder::constituentLepton |
( |
| ) |
const |
|
inline |
brief Access to the W's constituent clustered lepton (assuming it exists) - Todo:
- C++17 std::optional...
Referenced by mT().
◆ constituentLeptons()
const Particles& Rivet::WFinder::constituentLeptons |
( |
| ) |
const |
|
inline |
Access to the Ws' constituent clustered leptons.
- Note
- Either size 0 if no boson was found or 1 if one boson was found
◆ constituentNeutrino()
const Particle& Rivet::WFinder::constituentNeutrino |
( |
| ) |
const |
|
inline |
Access to the W's constituent neutrino (assuming it exists) - Note
- The neutrino can't be perfecly reconstructed – this is a pseudo-nu from the MET.
References missingMom(), and remainingFinalState().
Referenced by mT().
◆ constituentNeutrinos()
const Particles& Rivet::WFinder::constituentNeutrinos |
( |
| ) |
const |
|
inline |
Access to the Ws' constituent neutrinos
- Note
- Either size 0 if no boson was found or 1 if one boson was found
-
The neutrino can't be perfecly reconstructed – this is a pseudo-nu from the MET.
◆ mT()
double Rivet::WFinder::mT |
( |
| ) |
const |
|
inline |
◆ project()
void Rivet::WFinder::project |
( |
const Event & |
e | ) |
|
|
protectedvirtual |
Apply the projection on the supplied event.
- Todo:
- Do we need to add all used invisibles to _theParticles ?
Implements Rivet::ParticleFinder.
References Rivet::Particle::addConstituent(), Rivet::InvMassFinalState::calc(), Rivet::Particle::charge3(), clear(), Rivet::Particle::constituents(), Rivet::DressedLeptons::dressedLeptons(), Rivet::Particle::isChargedLepton(), Rivet::Particle::isNeutrino(), Rivet::MissingMomentum::missingMomentum(), Rivet::Vector< N >::mod(), Rivet::Particle::momentum(), Rivet::InvMassFinalState::particlePairs(), Rivet::ParticleFinder::particles(), Rivet::InvMassFinalState::useTransverseMass(), and Rivet::MissingMomentum::vectorEt().
Referenced by mT().
◆ remainingFinalState()
Access to the particles other than the W leptons and clustered photons
Useful for e.g. input to a jet finder
Referenced by constituentNeutrino().
The documentation for this class was generated from the following files:
- include/Rivet/Projections/WFinder.hh
- src/Projections/WFinder.cc
|