Rivet API documentation

Rivet 4.1.3
DileptonFinder.hh
1// -*- C++ -*-
2#ifndef RIVET_DileptonFinder_HH
3#define RIVET_DileptonFinder_HH
4
5#include "Rivet/Projections/FinalState.hh"
6#include "Rivet/Projections/LeptonFinder.hh"
7#include "Rivet/Projections/VetoedFinalState.hh"
8
9namespace Rivet {
10
11
15 class DileptonFinder : public FinalState {
16 public:
17
20
25 DileptonFinder(double masstarget,
26 double dRdress,
27 const Cut& lcuts=Cuts::OPEN,
28 const Cut& llcuts=Cuts::OPEN,
29 LeptonOrigin leptonOrigin=LeptonOrigin::PROMPT,
30 PhotonOrigin photonOrigin=PhotonOrigin::NODECAY,
31 TauDecaysAs tauDecays=TauDecaysAs::PROMPT,
32 MuDecaysAs muDecays=MuDecaysAs::PROMPT,
33 DressingType dressing=DressingType::CONE);
34
35
41 double masstarget,
42 double dRdress,
43 const Cut& lcuts=Cuts::OPEN,
44 const Cut& llcuts=Cuts::OPEN,
45 DressingType dressing=DressingType::CONE);
46
47
52 DileptonFinder(const FinalState& leptonfs,
53 const FinalState& photonfs,
54 double masstarget,
55 double dRdress,
56 const Cut& lcuts=Cuts::OPEN,
57 const Cut& llcuts=Cuts::OPEN,
58 DressingType dressing=DressingType::CONE);
59
60
63
65
66
70 const Particles& bosons() const { return particles(); }
72 const Particle& boson() const { return bosons().front(); }
73
74
79 const Particles& constituents() const;
80
86 const Particles& leptons() const { return constituents(); }
87
88
93
94
95 protected:
96
98 void project(const Event& e);
99
101 CmpState compare(const Projection& p) const;
102
103
104 public:
105
107 void clear() { _theParticles.clear(); }
108
110 using Projection::operator =;
111
112
113 protected:
114
116 double _masstarget;
117
118 };
119
120
123 using LLFinder = DileptonFinder;
124
125
126}
127
128#endif
Convenience finder of leptonically decaying Zs.
Definition DileptonFinder.hh:15
const Particles & bosons() const
Access to the found bosons.
Definition DileptonFinder.hh:70
const VetoedFinalState & remainingFinalState() const
void project(const Event &e)
Apply the projection on the supplied event.
const Particles & leptons() const
Access to the constituent clustered leptons (and photons).
Definition DileptonFinder.hh:86
const Particle & boson() const
Access to the found boson (assuming it exists).
Definition DileptonFinder.hh:72
DileptonFinder(const FinalState &allfs, double masstarget, double dRdress, const Cut &lcuts=Cuts::OPEN, const Cut &llcuts=Cuts::OPEN, DressingType dressing=DressingType::CONE)
DileptonFinder(const FinalState &leptonfs, const FinalState &photonfs, double masstarget, double dRdress, const Cut &lcuts=Cuts::OPEN, const Cut &llcuts=Cuts::OPEN, DressingType dressing=DressingType::CONE)
RIVET_DEFAULT_PROJ_CLONE(DileptonFinder)
Clone on the heap.
const Particles & constituents() const
Access to the constituent clustered leptons (and photons).
CmpState compare(const Projection &p) const
Compare projections.
DileptonFinder(double masstarget, double dRdress, const Cut &lcuts=Cuts::OPEN, const Cut &llcuts=Cuts::OPEN, LeptonOrigin leptonOrigin=LeptonOrigin::PROMPT, PhotonOrigin photonOrigin=PhotonOrigin::NODECAY, TauDecaysAs tauDecays=TauDecaysAs::PROMPT, MuDecaysAs muDecays=MuDecaysAs::PROMPT, DressingType dressing=DressingType::CONE)
void clear()
Clear the projection.
Definition DileptonFinder.hh:107
Representation of a HepMC event, and enabler of Projection caching.
Definition Event.hh:22
FinalState(const Cut &c=Cuts::OPEN)
Construction using Cuts object.
virtual const Particles & particles() const
Get the particles in no particular order, with no cuts.
Definition ParticleFinder.hh:65
Particle representation, either from a HepMC::GenEvent or reconstructed.
Definition Particle.hh:45
Specialised vector of Particle objects.
Definition Particle.hh:21
Base class for all Rivet projections.
Definition Projection.hh:29
FS modifier to exclude classes of particles from the final state.
Definition VetoedFinalState.hh:11
double p(const ParticleBase &p)
Unbound function access to p.
Definition ParticleBaseUtils.hh:653
Definition MC_CENT_PPB_Projections.hh:10
PhotonOrigin
Possible classes of lepton origin.
Definition DressedLepton.hh:24
DileptonFinder ZFinder
Aliases.
Definition DileptonFinder.hh:122
DressingType
The approach taken to photon dressing of leptons.
Definition DressedLepton.hh:21
LeptonOrigin
Possible classes of lepton origin.
Definition DressedLepton.hh:12