2#ifndef RIVET_ChargedLeptons_HH
3#define RIVET_ChargedLeptons_HH
5#include "Rivet/Projection.hh"
6#include "Rivet/Projections/ChargedFinalState.hh"
7#include "Rivet/Particle.hh"
8#include "Rivet/Event.hh"
35 using Projection::operator =;
Project only charged final state particles.
Definition ChargedFinalState.hh:11
Get charged final-state leptons.
Definition ChargedLeptons.hh:16
CmpState compare(const Projection &other) const
Compare projections.
const Particles & chargedLeptons() const
Access the projected leptons.
Definition ChargedLeptons.hh:49
RIVET_DEFAULT_PROJ_CLONE(ChargedLeptons)
Clone on the heap.
void project(const Event &evt)
Apply the projection to the event.
ChargedLeptons(const FinalState &fsp=FinalState())
Constructor.
Definition ChargedLeptons.hh:20
ChargedLeptons(const Cut &c)
Constructor via Cut.
Definition ChargedLeptons.hh:26
Representation of a HepMC event, and enabler of Projection caching.
Definition Event.hh:22
Project out all final-state particles in an event. Probably the most important projection in Rivet!
Definition FinalState.hh:12
Specialised vector of Particle objects.
Definition Particle.hh:21
const PROJ & declare(const PROJ &proj, const std::string &name) const
Register a contained projection (user-facing version)
Definition ProjectionApplier.hh:175
Base class for all Rivet projections.
Definition Projection.hh:29
void setName(const std::string &name)
Used by derived classes to set their name.
Definition Projection.hh:148
Definition MC_CENT_PPB_Projections.hh:10