Rivet API documentation
![]() |
Rivet 4.1.3
|
DressedLepton.hh
12 enum class LeptonOrigin { NONE = 0, DIRECT = 1, PROMPT = 1, NODECAY = 1, DECAY = 2, ALL = 3, ANY = 3 };
29 enum class PhotonOrigin { NONE = 0, DIRECT = 1, PROMPT = 1, NODECAY = 1, DECAY = 2, ALL = 3, ANY = 3 };
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:55
DressedLepton(const Particle &dlepton)
Copy constructor (from Particle).
double p() const
Get the 3-momentum magnitude directly.
Definition ParticleBase.hh:168
const Particles & constituents() const
Direct constituents of this particle, returned by reference.
Definition Particle.hh:345
CONTAINER slice(const CONTAINER &c, int i, int j)
Slice of the container elements cf. Python's [i:j] syntax.
Definition Utils.hh:714
Definition LHCbCommon.hh:9
vector< DressedLepton > DressedLeptons
Alias for a list of dressed leptons, cf. Particles and Jets.
Definition DressedLepton.hh:62
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:66
DressingType
The approach taken to photon dressing of leptons.
Definition DressedLepton.hh:26
Generated on for Rivet by
