herwig is hosted by Hepforge, IPPP Durham
Herwig++  2.7.0
Herwig::MEPP2WJet Class Reference

The MEPP2WJet class implements the matrix element for the production of a W boson and a jet including the decay of the W. More...

#include <MEPP2WJet.h>

Inheritance diagram for Herwig::MEPP2WJet:

List of all members.

Public Member Functions

 MEPP2WJet ()
 The default constructor.
Virtual functions required by the MEBase class.
virtual unsigned int orderInAlphaS () const
 Return the order in $\alpha_S$ in which this matrix element is given.
virtual unsigned int orderInAlphaEW () const
 Return the order in $\alpha_{EW}$ in which this matrix element is given.
virtual double me2 () const
 The matrix element for the kinematical configuration previously provided by the last call to setKinematics(), suitably scaled by sHat() to give a dimension-less number.
virtual Energy2 scale () const
 Return the scale associated with the last set phase space point.
virtual int nDim () const
 The number of internal degrees of freedom used in the matrix element.
virtual bool generateKinematics (const double *r)
 Generate internal degrees of freedom given nDim() uniform random numbers in the interval $ ]0,1[ $.
virtual CrossSection dSigHatDR () const
 Return the matrix element squared differential in the variables given by the last call to generateKinematics().
virtual void getDiagrams () const
 Add all possible diagrams with the add() function.
virtual Selector< DiagramIndexdiagrams (const DiagramVector &dv) const
 Get diagram selector.
virtual Selector< const
ColourLines * > 
colourGeometries (tcDiagPtr diag) const
 Return a Selector with possible colour geometries for the selected diagram weighted by their relative probabilities.
virtual void constructVertex (tSubProPtr)
 Construct the vertex of spin correlations.
Functions used by the persistent I/O system.
void persistentOutput (PersistentOStream &os) const
 Function used to write out object persistently.
void persistentInput (PersistentIStream &is, int version)
 Function used to read in object persistently.

Static Public Member Functions

static void Init ()
 The standard Init function used to initialize the interfaces.

Protected Member Functions

InvEnergy2 qqbarME (vector< SpinorWaveFunction > &fin, vector< SpinorBarWaveFunction > &ain, vector< VectorWaveFunction > &gout, vector< SpinorBarWaveFunction > &lm, vector< SpinorWaveFunction > &lp, bool me=false) const
 Matrix elements for the different subprocesses.
InvEnergy2 qgME (vector< SpinorWaveFunction > &fin, vector< VectorWaveFunction > &gin, vector< SpinorBarWaveFunction > &fout, vector< SpinorBarWaveFunction > &lm, vector< SpinorWaveFunction > &lp, bool me=false) const
 Matrix element for $qg\to W^\pm q$.
InvEnergy2 qbargME (vector< SpinorBarWaveFunction > &fin, vector< VectorWaveFunction > &gin, vector< SpinorWaveFunction > &fout, vector< SpinorBarWaveFunction > &lm, vector< SpinorWaveFunction > &lp, bool me=false) const
 Matrix element for $\bar{q}g\to W^\pm\bar{q}$.
Clone Methods.
virtual IBPtr clone () const
 Make a simple clone of this object.
virtual IBPtr fullclone () const
 Make a clone of this object, possibly modifying the cloned object to make it sane.
Standard Interfaced functions.
virtual void doinit ()
 Initialize this object after the setup phase before saving an EventGenerator to disk.

Private Member Functions

MEPP2WJetoperator= (const MEPP2WJet &)
 The assignment operator is private and must never be called.

Private Attributes

ProductionMatrixElement _me
 Matrix element for spin correlations.
Energy2 _scale
 Storage of the scale to avoid the need to recalculate.
Energy2 _mw2
 Storage of the off-shell W mass to avoid the need to recalculate.
AbstractFFVVertexPtr _theFFWVertex
 Vertices for the helicity amplitude calculation.
AbstractFFVVertexPtr _theQQGVertex
 Pointer to the $qqg$ vertex.
Pointers to the W ParticleData objects
tcPDPtr _wplus
 The $W^+$ data pointer.
tcPDPtr _wminus
 The $W^-$ data pointer.
Switches to control the particles in the hard process
unsigned int _process
 Subprocesses to include.
unsigned int _maxflavour
 Allowed flavours for the incoming quarks.
unsigned int _plusminus
 Which charge states to include.
unsigned int _wdec
 W decay modes.
unsigned int _widthopt
 Option for the treatment of the W off-shell effects.

Static Private Attributes

static ClassDescription
< MEPP2WJet
initMEPP2WJet
 The static object used to initialize the description of this class.

Detailed Description

The MEPP2WJet class implements the matrix element for the production of a W boson and a jet including the decay of the W.

See also:
The interfaces defined for MEPP2WJet.

Definition at line 27 of file MEPP2WJet.h.


Member Function Documentation

virtual IBPtr Herwig::MEPP2WJet::clone ( ) const [inline, protected, virtual]

Make a simple clone of this object.

Returns:
a pointer to the new object.

Implements ThePEG::InterfacedBase.

Definition at line 206 of file MEPP2WJet.h.

virtual Selector<const ColourLines *> Herwig::MEPP2WJet::colourGeometries ( tcDiagPtr  diag) const [virtual]

Return a Selector with possible colour geometries for the selected diagram weighted by their relative probabilities.

Parameters:
diagthe diagram chosen.
Returns:
the possible colour geometries weighted by their relative probabilities.

Implements ThePEG::MEBase.

virtual Selector<DiagramIndex> Herwig::MEPP2WJet::diagrams ( const DiagramVector dv) const [virtual]

Get diagram selector.

With the information previously supplied with the setKinematics method, a derived class may optionally override this method to weight the given diagrams with their (although certainly not physical) relative probabilities.

Parameters:
dvthe diagrams to be weighted.
Returns:
a Selector relating the given diagrams to their weights.

Reimplemented from ThePEG::MEBase.

virtual void Herwig::MEPP2WJet::doinit ( ) [protected, virtual]

Initialize this object after the setup phase before saving an EventGenerator to disk.

Exceptions:
InitExceptionif object could not be initialized properly.

Reimplemented from ThePEG::InterfacedBase.

virtual IBPtr Herwig::MEPP2WJet::fullclone ( ) const [inline, protected, virtual]

Make a clone of this object, possibly modifying the cloned object to make it sane.

Returns:
a pointer to the new object.

Reimplemented from ThePEG::InterfacedBase.

Definition at line 212 of file MEPP2WJet.h.

virtual bool Herwig::MEPP2WJet::generateKinematics ( const double *  r) [virtual]

Generate internal degrees of freedom given nDim() uniform random numbers in the interval $ ]0,1[ $.

To help the phase space generator, the dSigHatDR should be a smooth function of these numbers, although this is not strictly necessary.

Parameters:
ra pointer to the first of nDim() consecutive random numbers.
Returns:
true if the generation succeeded, otherwise false.

Reimplemented from Herwig::HwMEBase.

static void Herwig::MEPP2WJet::Init ( ) [static]

The standard Init function used to initialize the interfaces.

Called exactly once for each class by the class description system before the main function starts or when this class is dynamically loaded.

Reimplemented from Herwig::HwMEBase.

virtual double Herwig::MEPP2WJet::me2 ( ) const [virtual]

The matrix element for the kinematical configuration previously provided by the last call to setKinematics(), suitably scaled by sHat() to give a dimension-less number.

Returns:
the matrix element scaled with sHat() to give a dimensionless number.

Implements ThePEG::MEBase.

MEPP2WJet& Herwig::MEPP2WJet::operator= ( const MEPP2WJet ) [private]

The assignment operator is private and must never be called.

In fact, it should not even be implemented.

void Herwig::MEPP2WJet::persistentInput ( PersistentIStream is,
int  version 
)

Function used to read in object persistently.

Parameters:
isthe persistent input stream read from.
versionthe version number of the object when written.

Reimplemented from Herwig::HwMEBase.

Function used to write out object persistently.

Parameters:
osthe persistent output stream written to.

Reimplemented from Herwig::HwMEBase.

InvEnergy2 Herwig::MEPP2WJet::qbargME ( vector< SpinorBarWaveFunction > &  fin,
vector< VectorWaveFunction > &  gin,
vector< SpinorWaveFunction > &  fout,
vector< SpinorBarWaveFunction > &  lm,
vector< SpinorWaveFunction > &  lp,
bool  me = false 
) const [protected]

Matrix element for $\bar{q}g\to W^\pm\bar{q}$.

Parameters:
finSpinors for incoming antiquark
ginPolarization vectors for the incoming gluon
foutSpinors for outgoing antiquark
lmSpinors for outgoing lepton
lpSpinors for outgoing antilepton
meWhether or not to calculate the matrix element for spin correlations
InvEnergy2 Herwig::MEPP2WJet::qgME ( vector< SpinorWaveFunction > &  fin,
vector< VectorWaveFunction > &  gin,
vector< SpinorBarWaveFunction > &  fout,
vector< SpinorBarWaveFunction > &  lm,
vector< SpinorWaveFunction > &  lp,
bool  me = false 
) const [protected]

Matrix element for $qg\to W^\pm q$.

Parameters:
finSpinors for incoming quark
ginPolarization vectors for the incoming gluon
foutSpinors for outgoing quark
lmSpinors for outgoing lepton
lpSpinors for outgoing antilepton
meWhether or not to calculate the matrix element for spin correlations
InvEnergy2 Herwig::MEPP2WJet::qqbarME ( vector< SpinorWaveFunction > &  fin,
vector< SpinorBarWaveFunction > &  ain,
vector< VectorWaveFunction > &  gout,
vector< SpinorBarWaveFunction > &  lm,
vector< SpinorWaveFunction > &  lp,
bool  me = false 
) const [protected]

Matrix elements for the different subprocesses.

Matrix element for $q\bar{q}\to W^\pm g$.

Parameters:
finSpinors for incoming quark
ainSpinors for incoming antiquark
goutPolarization vectors for the outgoing gluon
lmSpinors for outgoing lepton
lpSpinors for outgoing antilepton
meWhether or not to calculate the matrix element for spin correlations

Member Data Documentation

Vertices for the helicity amplitude calculation.

Pointer to the W vertex

Definition at line 250 of file MEPP2WJet.h.

The static object used to initialize the description of this class.

Indicates that this is a concrete class with persistent data.

Definition at line 233 of file MEPP2WJet.h.


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