Rivet  1.8.3
Public Member Functions | Protected Member Functions | List of all members
Rivet::DISKinematics Class Reference

Get the DIS kinematic variables and relevant boosts for an event. More...

#include <DISKinematics.hh>

Inheritance diagram for Rivet::DISKinematics:
Rivet::Projection Rivet::ProjectionApplier

Public Member Functions

 DISKinematics ()
 The default constructor.
virtual const Projectionclone () const
 Clone on the heap.
double Q2 () const
 The $Q^2$.
double W2 () const
 The $W^2$.
double x () const
 The Bjorken $x$.
double y () const
 The Inelasticity $y$.
double s () const
 The centre of mass energy $s$.
const LorentzTransformboostHCM () const
 The LorentzRotation needed to boost a particle to the hadronic CM frame.
const LorentzTransformboostBreit () const
 The LorentzRotation needed to boost a particle to the hadronic Breit frame.
const ParticlebeamHadron () const
 The incoming Hadron beam particle.
- Public Member Functions inherited from Rivet::Projection
bool before (const Projection &p) const
virtual const std::set< PdgIdPairbeamPairs () const
virtual std::string name () const
 Get the name of the projection.
ProjectionaddPdgIdPair (PdgId beam1, PdgId beam2)
 Add a colliding beam pair.
LoggetLog () const
 Get a Log object based on the getName() property of the calling projection object.
void setName (const std::string &name)
 Used by derived classes to set their name.
 Projection ()
 The default constructor.
virtual ~Projection ()
 The destructor.
- Public Member Functions inherited from Rivet::ProjectionApplier
 ProjectionApplier ()
 Constructor.
std::set< ConstProjectionPtrgetProjections () const
 Get the contained projections, including recursion.
template<typename PROJ >
const PROJ & getProjection (const std::string &name) const
 Get the named projection, specifying return type via a template argument.
const ProjectiongetProjection (const std::string &name) const
template<typename PROJ >
const PROJ & applyProjection (const Event &evt, const PROJ &proj) const
 Apply the supplied projection on event.
template<typename PROJ >
const PROJ & applyProjection (const Event &evt, const Projection &proj) const
 Apply the supplied projection on event.
template<typename PROJ >
const PROJ & applyProjection (const Event &evt, const std::string &name) const
 Apply the named projection on event.

Protected Member Functions

virtual void project (const Event &e)
 Perform the projection operation on the supplied event.
virtual int compare (const Projection &p) const
 Compare with other projections.
- Protected Member Functions inherited from Rivet::Projection
Cmp< ProjectionmkNamedPCmp (const Projection &otherparent, const std::string &pname) const
Cmp< ProjectionmkPCmp (const Projection &otherparent, const std::string &pname) const
- Protected Member Functions inherited from Rivet::ProjectionApplier
ProjectionHandlergetProjHandler () const
 Get a reference to the ProjectionHandler for this thread.
template<typename PROJ >
const PROJ & addProjection (const PROJ &proj, const std::string &name)

Detailed Description

Get the DIS kinematic variables and relevant boosts for an event.


The documentation for this class was generated from the following files: