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
27 DileptonFinder(double masstarget,
28 double dRdress,
29 const Cut& lcuts=Cuts::OPEN,
30 const Cut& llcuts=Cuts::OPEN,
31 LeptonOrigin leptonOrigin=LeptonOrigin::PROMPT,
32 PhotonOrigin photonOrigin=PhotonOrigin::NODECAY,
33 TauDecaysAs tauDecays=TauDecaysAs::PROMPT,
34 MuDecaysAs muDecays=MuDecaysAs::PROMPT,
35 DressingType dressing=DressingType::CONE);
36
37
45 double masstarget,
46 double dRdress,
47 const Cut& lcuts=Cuts::OPEN,
48 const Cut& llcuts=Cuts::OPEN,
49 DressingType dressing=DressingType::CONE);
50
51
58 DileptonFinder(const FinalState& leptonfs,
59 const FinalState& photonfs,
60 double masstarget,
61 double dRdress,
62 const Cut& lcuts=Cuts::OPEN,
63 const Cut& llcuts=Cuts::OPEN,
64 DressingType dressing=DressingType::CONE);
65
66
69
71
72
76 const Particles& bosons() const { return particles(); }
78 const Particle& boson() const { return bosons().front(); }
79
80
85 const Particles& constituents() const;
86
92 const Particles& leptons() const { return constituents(); }
93
94
99
100
101 protected:
102
104 void project(const Event& e);
105
107 CmpState compare(const Projection& p) const;
108
109
110 public:
111
113 void clear() { _theParticles.clear(); }
114
116 using Projection::operator =;
117
118
119 protected:
120
122 double _masstarget;
123
124 };
125
126
129 using LLFinder = DileptonFinder;
130
131
132}
133
134#endif
Convenience finder of leptonically decaying Z's.
Definition DileptonFinder.hh:15
const Particles & bosons() const
Access to the found bosons.
Definition DileptonFinder.hh:76
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:92
const Particle & boson() const
Access to the found boson (assuming it exists).
Definition DileptonFinder.hh:78
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:113
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:128
DressingType
The approach taken to photon dressing of leptons.
Definition DressedLepton.hh:21
LeptonOrigin
Possible classes of lepton origin.
Definition DressedLepton.hh:12