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"
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:46
DEFAULT_RIVET_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
FinalState(const Cut &c=Cuts::open())
Construction using Cuts object.
Specialised vector of Particle objects.
Definition: Particle.hh:25
const PROJ & declare(const PROJ &proj, const std::string &name)
Register a contained projection (user-facing version)
Definition: ProjectionApplier.hh:170
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:142
Definition: MC_Cent_pPb.hh:10