5 #include "Rivet/Projection.hh" 6 #include "Rivet/Event.hh" 7 #include "Rivet/Particle.hh" 16 ParticlePair
beams(
const Event& e);
19 PdgIdPair
beamIds(
const Event& e);
25 double sqrtS(
const Event& e);
31 double sqrtS(
const FourMomentum& pa,
const FourMomentum& pb);
49 return new Beam(*
this);
56 const ParticlePair&
beams()
const {
86 ParticlePair _theBeams;
void setName(const std::string &name)
Used by derived classes to set their name.
Definition: Projection.hh:120
const PdgIdPair beamIds() const
The pair of beam particle PDG codes in the current collision.
Definition: Beam.hh:61
Definition: MC_JetAnalysis.hh:9
double sqrtS() const
Get centre of mass energy, .
Definition: Beam.cc:69
virtual const Projection * clone() const
Clone on the heap.
Definition: Beam.hh:48
ParticlePair beams(const Event &e)
Function to get beam particles from an event.
Definition: Beam.cc:9
virtual void project(const Event &e)
Project on to the Event.
Definition: Beam.cc:50
const ParticlePair & beams() const
The pair of beam particles in the current collision.
Definition: Beam.hh:56
Beam()
The default constructor.
Definition: Beam.hh:43
double sqrtS(const Event &e)
Function to get beam centre of mass energy from an event.
Definition: Beam.cc:25
PdgIdPair beamIds(const Event &e)
Function to get beam particle IDs from an event.
Definition: Beam.cc:15
virtual int compare(const Projection &UNUSED(p)) const
Compare with other projections.
Definition: Beam.hh:78
Project out the incoming beams.
Definition: Beam.hh:39
Base class for all Rivet projections.
Definition: Projection.hh:28