2 #ifndef RIVET_DISLepton_HH 3 #define RIVET_DISLepton_HH 5 #include "Rivet/Projections/Beam.hh" 6 #include "Rivet/Projections/PromptFinalState.hh" 7 #include "Rivet/Particle.hh" 8 #include "Rivet/Event.hh" void setName(const std::string &name)
Used by derived classes to set their name.
Definition: Projection.hh:133
Definition: ALICE_2010_I880049.cc:13
DEFAULT_RIVET_PROJ_CLONE(DISLepton)
Clone on the heap.
virtual int compare(const Projection &p) const
Compare with other projections.
Definition: DISLepton.cc:7
int pzSign() const
Sign of the incoming lepton pz component.
Definition: DISLepton.hh:50
Particle representation, either from a HepMC::GenEvent or reconstructed.
Definition: Particle.hh:18
virtual void project(const Event &e)
Perform the projection operation on the supplied event.
Definition: DISLepton.cc:13
const Particle & out() const
The outgoing lepton.
Definition: DISLepton.hh:47
const PROJ & addProjection(const PROJ &proj, const std::string &name)
Register a contained projection (user-facing version)
Definition: ProjectionApplier.hh:170
const Particle & in() const
The incoming lepton.
Definition: DISLepton.hh:44
Project out the incoming beams.
Definition: Beam.hh:129
Get the incoming and outgoing leptons in a DIS event.
Definition: DISLepton.hh:14
Base class for all Rivet projections.
Definition: Projection.hh:29
Find final state particles directly connected to the hard process.
Definition: PromptFinalState.hh:22
std::enable_if< std::is_arithmetic< NUM >::value, int >::type sign(NUM val)
Find the sign of a number.
Definition: MathUtils.hh:236