2 #ifndef RIVET_DISKinematics_HH 3 #define RIVET_DISKinematics_HH 5 #include "Rivet/Particle.hh" 6 #include "Rivet/Event.hh" 7 #include "Rivet/Projection.hh" 8 #include "Rivet/Projections/DISLepton.hh" 9 #include "Rivet/Projections/Beam.hh" 21 : _theQ2(-1.0), _theW2(-1.0), _theX(-1.0), _theY(-1.0), _theS(-1.0)
47 double Q2()
const {
return _theQ2; }
50 double W2()
const {
return _theW2; }
53 double x()
const {
return _theX; }
56 double y()
const {
return _theY; }
59 double s()
const {
return _theS; }
void setName(const std::string &name)
Used by derived classes to set their name.
Definition: Projection.hh:120
Definition: MC_JetAnalysis.hh:9
double s() const
The centre of mass energy .
Definition: DISKinematics.hh:59
const LorentzTransform & boostHCM() const
The LorentzRotation needed to boost a particle to the hadronic CM frame.
Definition: DISKinematics.hh:64
double y() const
The Inelasticity .
Definition: DISKinematics.hh:56
Get the DIS kinematic variables and relevant boosts for an event.
Definition: DISKinematics.hh:15
Representation of particles from a HepMC::GenEvent.
Definition: Particle.hh:16
double Q2() const
The .
Definition: DISKinematics.hh:47
DISKinematics()
The default constructor.
Definition: DISKinematics.hh:20
double x() const
The Bjorken .
Definition: DISKinematics.hh:53
double W2() const
The .
Definition: DISKinematics.hh:50
virtual void project(const Event &e)
Perform the projection operation on the supplied event.
Definition: DISKinematics.cc:12
const Particle & beamHadron() const
The incoming Hadron beam particle.
Definition: DISKinematics.hh:74
const PROJ & addProjection(const PROJ &proj, const std::string &name)
Definition: ProjectionApplier.hh:113
Project out the incoming beams.
Definition: Beam.hh:39
const LorentzTransform & boostBreit() const
The LorentzRotation needed to boost a particle to the hadronic Breit frame.
Definition: DISKinematics.hh:69
virtual int compare(const Projection &p) const
Compare with other projections.
Definition: DISKinematics.cc:73
virtual const Projection * clone() const
Clone on the heap.
Definition: DISKinematics.hh:30
Get the incoming and outgoing leptons in a DIS event.
Definition: DISLepton.hh:14
Base class for all Rivet projections.
Definition: Projection.hh:28