Herwig++
2.7.0
|
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>
Public Member Functions | |
MEPP2WJet () | |
The default constructor. | |
Virtual functions required by the MEBase class. | |
virtual unsigned int | orderInAlphaS () const |
Return the order in ![]() | |
virtual unsigned int | orderInAlphaEW () const |
Return the order in ![]() | |
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 ![]() | |
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< DiagramIndex > | diagrams (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 ![]() | |
InvEnergy2 | qbargME (vector< SpinorBarWaveFunction > &fin, vector< VectorWaveFunction > &gin, vector< SpinorWaveFunction > &fout, vector< SpinorBarWaveFunction > &lm, vector< SpinorWaveFunction > &lp, bool me=false) const |
Matrix element for ![]() | |
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 | |
MEPP2WJet & | operator= (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 ![]() | |
Pointers to the W ParticleData objects | |
tcPDPtr | _wplus |
The ![]() | |
tcPDPtr | _wminus |
The ![]() | |
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. |
The MEPP2WJet class implements the matrix element for the production of a W boson and a jet including the decay of the W.
Definition at line 27 of file MEPP2WJet.h.
virtual IBPtr Herwig::MEPP2WJet::clone | ( | ) | const [inline, protected, virtual] |
Make a simple clone of this 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.
diag | the diagram chosen. |
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.
dv | the diagrams to be weighted. |
Reimplemented from ThePEG::MEBase.
virtual void Herwig::MEPP2WJet::doinit | ( | ) | [protected, virtual] |
Initialize this object after the setup phase before saving an EventGenerator to disk.
InitException | if 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.
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 .
To help the phase space generator, the dSigHatDR should be a smooth function of these numbers, although this is not strictly necessary.
r | a pointer to the first of nDim() consecutive random numbers. |
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.
Implements ThePEG::MEBase.
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.
is | the persistent input stream read from. |
version | the version number of the object when written. |
Reimplemented from Herwig::HwMEBase.
void Herwig::MEPP2WJet::persistentOutput | ( | PersistentOStream & | os | ) | const |
Function used to write out object persistently.
os | the 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 .
fin | Spinors for incoming antiquark |
gin | Polarization vectors for the incoming gluon |
fout | Spinors for outgoing antiquark |
lm | Spinors for outgoing lepton |
lp | Spinors for outgoing antilepton |
me | Whether 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 .
fin | Spinors for incoming quark |
gin | Polarization vectors for the incoming gluon |
fout | Spinors for outgoing quark |
lm | Spinors for outgoing lepton |
lp | Spinors for outgoing antilepton |
me | Whether 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 .
fin | Spinors for incoming quark |
ain | Spinors for incoming antiquark |
gout | Polarization vectors for the outgoing gluon |
lm | Spinors for outgoing lepton |
lp | Spinors for outgoing antilepton |
me | Whether or not to calculate the matrix element for spin correlations |
Vertices for the helicity amplitude calculation.
Pointer to the W vertex
Definition at line 250 of file MEPP2WJet.h.
ClassDescription<MEPP2WJet> Herwig::MEPP2WJet::initMEPP2WJet [static, private] |
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.