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

The MEee2Z class implements the matrix element for $e^+e^-\to Z$ for the testing of spin correlations. More...

#include <MEee2Z.h>

Inheritance diagram for Herwig::MEee2Z:

List of all members.

Public Member Functions

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.
virtual int nDim () const
 The number of internal degreed 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 for the kinematical configuation previously provided by the last call to setKinematics().
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

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

ProductionMatrixElement HelicityME (vector< SpinorWaveFunction > fin, vector< SpinorBarWaveFunction > ain, vector< VectorWaveFunction > vout, double &me) const
 The matrix element.
MEee2Zoperator= (const MEee2Z &)
 The assignment operator is private and must never be called.

Private Attributes

AbstractFFVVertexPtr _theFFZVertex
 Pointer to the Z vertex.

Static Private Attributes

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

Detailed Description

The MEee2Z class implements the matrix element for $e^+e^-\to Z$ for the testing of spin correlations.

Definition at line 36 of file MEee2Z.h.


Member Function Documentation

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

virtual Selector<const ColourLines *> Herwig::MEee2Z::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::MEee2Z::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::MEee2Z::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 CrossSection Herwig::MEee2Z::dSigHatDR ( ) const [virtual]

Return the matrix element for the kinematical configuation previously provided by the last call to setKinematics().

Uses me().

Implements ThePEG::MEBase.

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

virtual bool Herwig::MEee2Z::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. Return false if the chosen points failed the kinematical cuts.

Implements ThePEG::MEBase.

ProductionMatrixElement Herwig::MEee2Z::HelicityME ( vector< SpinorWaveFunction fin,
vector< SpinorBarWaveFunction ain,
vector< VectorWaveFunction vout,
double &  me 
) const [private]

The matrix element.

Parameters:
finThe spinors for the incoming fermion
ainThe spinors for the incoming antifermion
voutThe polarization vectors for the outgoing Z
meThe spin averaged matrix element
static void Herwig::MEee2Z::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 ThePEG::MEBase.

virtual double Herwig::MEee2Z::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.

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

The assignment operator is private and must never be called.

In fact, it should not even be implemented.

void Herwig::MEee2Z::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 ThePEG::MEBase.

Function used to write out object persistently.

Parameters:
osthe persistent output stream written to.

Reimplemented from ThePEG::MEBase.


Member Data Documentation

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

Indicates that this is a concrete class with persistent data.

Definition at line 194 of file MEee2Z.h.


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