Rivet API documentation
![]() |
Rivet 4.1.3
|
DressedLepton.hh
DressedLepton(const Particle &lepton, const Particles &photons, bool momsum=true)
Components constructor.
void addPhoton(const Particle &p, bool momsum=true)
Add a photon to the dressed lepton.
const Particles photons() const
Retrieve the clustered photons.
Definition DressedLepton.hh:50
DressedLepton(const Particle &dlepton)
Copy constructor (from Particle).
double p() const
Get the 3-momentum magnitude directly.
Definition ParticleBase.hh:112
const Particles & constituents() const
Direct constituents of this particle, returned by reference.
Definition Particle.hh:300
CONTAINER slice(const CONTAINER &c, int i, int j)
Slice of the container elements cf. Python's [i:j] syntax.
Definition Utils.hh:683
Definition MC_CENT_PPB_Projections.hh:10
vector< DressedLepton > DressedLeptons
Alias for a list of dressed leptons, cf. Particles and Jets.
Definition DressedLepton.hh:56
T sum(const DressedLeptons &c, FN &&fn, const T &start=T())
Generic sum function, adding fn(x) for all x in container c, starting with start.
Definition DressedLepton.hh:60
DressingType
The approach taken to photon dressing of leptons.
Definition DressedLepton.hh:21
Generated on for Rivet by
