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

The MEQCD2to2 class provides the matrix elements for $2\to2$ QCD scattering processes in hadron-hadron collisions. More...

#include <MEQCD2to2.h>

Inheritance diagram for Herwig::MEQCD2to2:

List of all members.

Public Member Functions

 MEQCD2to2 ()
 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 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

double gg2ggME (vector< VectorWaveFunction > &g1, vector< VectorWaveFunction > &g2, vector< VectorWaveFunction > &g3, vector< VectorWaveFunction > &g4, unsigned int flow) const
 Members to calculate the matrix elements.
double gg2qqbarME (vector< VectorWaveFunction > &g1, vector< VectorWaveFunction > &g2, vector< SpinorBarWaveFunction > &q, vector< SpinorWaveFunction > &qbar, unsigned int flow) const
 Matrix element for $gg\to q\bar{q}$.
double qqbar2ggME (vector< SpinorWaveFunction > &q, vector< SpinorBarWaveFunction > &qbar, vector< VectorWaveFunction > &g1, vector< VectorWaveFunction > &g2, unsigned int flow) const
 Matrix element for $q\bar{q}\to gg$.
double qg2qgME (vector< SpinorWaveFunction > &qin, vector< VectorWaveFunction > &g2, vector< SpinorBarWaveFunction > &qout, vector< VectorWaveFunction > &g4, unsigned int flow) const
 Matrix element for $qg\to qg$.
double qbarg2qbargME (vector< SpinorBarWaveFunction > &qin, vector< VectorWaveFunction > &g2, vector< SpinorWaveFunction > &qout, vector< VectorWaveFunction > &g4, unsigned int flow) const
 Matrix elements for $\bar{q}g\to \bar{q}g$.
double qq2qqME (vector< SpinorWaveFunction > &q1, vector< SpinorWaveFunction > &q2, vector< SpinorBarWaveFunction > &q3, vector< SpinorBarWaveFunction > &q4, unsigned int flow) const
 Matrix element for $qq\to qq$.
double qbarqbar2qbarqbarME (vector< SpinorBarWaveFunction > &q1, vector< SpinorBarWaveFunction > &q2, vector< SpinorWaveFunction > &q3, vector< SpinorWaveFunction > &q4, unsigned int flow) const
 Matrix element for $\bar{q}\bar{q}\to \bar{q}\bar{q}$.
double qqbar2qqbarME (vector< SpinorWaveFunction > &q1, vector< SpinorBarWaveFunction > &q2, vector< SpinorBarWaveFunction > &q3, vector< SpinorWaveFunction > &q4, unsigned int flow) const
 Matrix element for $q\bar{q}\to q\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.
virtual void rebind (const TranslationMap &trans)
 Rebind pointer to other Interfaced objects.
virtual IVector getReferences ()
 Return a vector of all pointers to Interfaced objects used in this object.

Private Member Functions

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

Private Attributes

unsigned int _maxflavour
 Maximum numbere of quark flavours to include.
unsigned int _process
 Processes to include.
unsigned int _flow
 Colour flow.
unsigned int _diagram
 Diagram.
ProductionMatrixElement _me
 Matrix element.
AbstractVVVVVertexPtr _ggggvertex
 Vertices needed to compute the diagrams.
AbstractVVVVertexPtr _gggvertex
 $ggg$ vertex
AbstractFFVVertexPtr _qqgvertex
 $q\bar{q}g$ vertex
PDPtr _gluon
 ParticleData objects of the partons.
vector< PDPtr_quark
 the quarks
vector< PDPtr_antiquark
 the antiquarks

Static Private Attributes

static ClassDescription
< MEQCD2to2
initMEQCD2to2
 The static object used to initialize the description of this class.

Detailed Description

The MEQCD2to2 class provides the matrix elements for $2\to2$ QCD scattering processes in hadron-hadron collisions.

See also:
The interfaces defined for MEQCD2to2.

Definition at line 35 of file MEQCD2to2.h.


Member Function Documentation

virtual IBPtr Herwig::MEQCD2to2::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 245 of file MEQCD2to2.h.

virtual Selector<const ColourLines *> Herwig::MEQCD2to2::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::MEQCD2to2::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::MEQCD2to2::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::MEQCD2to2::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 251 of file MEQCD2to2.h.

virtual IVector Herwig::MEQCD2to2::getReferences ( ) [protected, virtual]

Return a vector of all pointers to Interfaced objects used in this object.

Returns:
a vector of pointers.

Reimplemented from ThePEG::InterfacedBase.

double Herwig::MEQCD2to2::gg2ggME ( vector< VectorWaveFunction > &  g1,
vector< VectorWaveFunction > &  g2,
vector< VectorWaveFunction > &  g3,
vector< VectorWaveFunction > &  g4,
unsigned int  flow 
) const [protected]

Members to calculate the matrix elements.

Matrix element for $gg\to gg$.

Parameters:
g1The wavefunctions for the first incoming gluon
g2The wavefunctions for the second incoming gluon
g3The wavefunctions for the first outgoing gluon
g4The wavefunctions for the second outgoing gluon
flowThe colour flow
double Herwig::MEQCD2to2::gg2qqbarME ( vector< VectorWaveFunction > &  g1,
vector< VectorWaveFunction > &  g2,
vector< SpinorBarWaveFunction > &  q,
vector< SpinorWaveFunction > &  qbar,
unsigned int  flow 
) const [protected]

Matrix element for $gg\to q\bar{q}$.

Parameters:
g1The wavefunctions for the first incoming gluon
g2The wavefunctions for the second incoming gluon
qThe wavefunction for the outgoing quark
qbarThe wavefunction for the outgoing antiquark
flowThe colour flow
static void Herwig::MEQCD2to2::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::MEQCD2to2::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.

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

The assignment operator is private and must never be called.

In fact, it should not even be implemented.

void Herwig::MEQCD2to2::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.

double Herwig::MEQCD2to2::qbarg2qbargME ( vector< SpinorBarWaveFunction > &  qin,
vector< VectorWaveFunction > &  g2,
vector< SpinorWaveFunction > &  qout,
vector< VectorWaveFunction > &  g4,
unsigned int  flow 
) const [protected]

Matrix elements for $\bar{q}g\to \bar{q}g$.

Parameters:
qinThe wavefunction for the incoming antiquark
g2The wavefunction for the incoming gluon
qoutThe wavefunction for the outgoing antiquark
g4The wavefunction for the outgoing gluon
flowThe colour flow
double Herwig::MEQCD2to2::qbarqbar2qbarqbarME ( vector< SpinorBarWaveFunction > &  q1,
vector< SpinorBarWaveFunction > &  q2,
vector< SpinorWaveFunction > &  q3,
vector< SpinorWaveFunction > &  q4,
unsigned int  flow 
) const [protected]

Matrix element for $\bar{q}\bar{q}\to \bar{q}\bar{q}$.

Parameters:
q1The wavefunction for the first incoming antiquark
q2The wavefunction for the second incoming antiquark
q3The wavefunction for the first outgoing antiquark
q4The wavefunction for the second outgoing antiquark
flowThe colour flow
double Herwig::MEQCD2to2::qg2qgME ( vector< SpinorWaveFunction > &  qin,
vector< VectorWaveFunction > &  g2,
vector< SpinorBarWaveFunction > &  qout,
vector< VectorWaveFunction > &  g4,
unsigned int  flow 
) const [protected]

Matrix element for $qg\to qg$.

Parameters:
qinThe wavefunction for the incoming quark
g2The wavefunction for the incoming gluon
qoutThe wavefunction for the outgoing quark
g4The wavefunction for the outgoing gluon
flowThe colour flow
double Herwig::MEQCD2to2::qq2qqME ( vector< SpinorWaveFunction > &  q1,
vector< SpinorWaveFunction > &  q2,
vector< SpinorBarWaveFunction > &  q3,
vector< SpinorBarWaveFunction > &  q4,
unsigned int  flow 
) const [protected]

Matrix element for $qq\to qq$.

Parameters:
q1The wavefunction for the first incoming quark
q2The wavefunction for the second incoming quark
q3The wavefunction for the first outgoing quark
q4The wavefunction for the second outgoing quark
flowThe colour flow
double Herwig::MEQCD2to2::qqbar2ggME ( vector< SpinorWaveFunction > &  q,
vector< SpinorBarWaveFunction > &  qbar,
vector< VectorWaveFunction > &  g1,
vector< VectorWaveFunction > &  g2,
unsigned int  flow 
) const [protected]

Matrix element for $q\bar{q}\to gg$.

Parameters:
qThe wavefunction for the incoming quark
qbarThe wavefunction for the incoming antiquark
g1The wavefunctions for the first outgoing gluon
g2The wavefunctions for the second outgoing gluon
flowThe colour flow
double Herwig::MEQCD2to2::qqbar2qqbarME ( vector< SpinorWaveFunction > &  q1,
vector< SpinorBarWaveFunction > &  q2,
vector< SpinorBarWaveFunction > &  q3,
vector< SpinorWaveFunction > &  q4,
unsigned int  flow 
) const [protected]

Matrix element for $q\bar{q}\to q\bar{q}$.

Parameters:
q1The wavefunction for the incoming quark
q2The wavefunction for the incoming antiquark
q3The wavefunction for the outgoing quark
q4The wavefunction for the outgoing antiquark
flowThe colour flow
virtual void Herwig::MEQCD2to2::rebind ( const TranslationMap trans) [protected, virtual]

Rebind pointer to other Interfaced objects.

Called in the setup phase after all objects used in an EventGenerator has been cloned so that the pointers will refer to the cloned objects afterwards.

Parameters:
transa TranslationMap relating the original objects to their respective clones.
Exceptions:
RebindExceptionif no cloned object was found for a given pointer.

Reimplemented from ThePEG::InterfacedBase.


Member Data Documentation

Vertices needed to compute the diagrams.

$gggg$ vertex

Definition at line 309 of file MEQCD2to2.h.

ParticleData objects of the partons.

The gluon

Definition at line 354 of file MEQCD2to2.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 292 of file MEQCD2to2.h.


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