#include <ME2to2Base.h>
Public Member Functions | |
virtual double | getCosTheta (double cthmin, double cthmax, const double *r) |
Used internally by generateKinematics, after calculating the limits on cos(theta). | |
int | scaleChoice () const |
Give the option corresponding to the way the scale of an interaction is calculated. | |
Standard constructors and destructors. | |
ME2to2Base () | |
Default constructor. | |
virtual | ~ME2to2Base () |
Destructor. | |
Virtual functions required by the MEBase class. | |
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(). | |
virtual Energy2 | scale () const |
Return the scale associated with the last set phase space point. | |
virtual void | setKinematics () |
Set the typed and momenta of the incoming and outgoing partons to be used in subsequent calls to me() and colourGeometries() according to the associated XComb object. | |
Access cached values in of the last set phase space point. | |
Energy2 | tHat () const |
Return the of the last set phase space point. | |
Energy2 | uHat () const |
Return the of the last set phase space point. | |
double | phi () const |
Return the azimuth angle of the last set phase space point. | |
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 () |
Standard Init function used to initialize the interfaces. | |
Protected Member Functions | |
Set the cached values in of the last set phase space point. | |
void | tHat (Energy2 e2) |
Set the of the last set phase space point. | |
void | uHat (Energy2 e2) |
Set the of the last set phase space point. | |
void | phi (double phi) |
Set the azimuth angle of the last set phase space point. | |
Static Protected Member Functions | |
static Switch< ME2to2Base, int > & | interfaceScaleChoice () |
Access to the acutal Switch object used to determine the choice of scale. | |
Private Member Functions | |
ME2to2Base & | operator= (const ME2to2Base &) |
Private and non-existent assignment operator. | |
Private Attributes | |
int | theScaleChoice |
The option indicating how to calculate the scale of an interaction. | |
Energy2 | theLastTHat |
The of the last set phase space point. | |
Energy2 | theLastUHat |
The of the last set phase space point. | |
double | theLastPhi |
The azimuth angle of the last set phase space point. | |
Static Private Attributes | |
static AbstractClassDescription < ME2to2Base > | initME2to2Base |
Describe an abstract base class with persistent data. |
It extends the MEBase base class by implementing the virtual scale() method to return the assumed scale of a given process according to several options. It also caches some useful characteristics of the chosen phase space point, such as tHat(), uHat() and the masses of the external partons.
Definition at line 32 of file ME2to2Base.h.
virtual bool ThePEG::ME2to2Base::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.
virtual CrossSection ThePEG::ME2to2Base::dSigHatDR | ( | ) | const [virtual] |
Return the matrix element for the kinematical configuation previously provided by the last call to setKinematics().
Uses me().
Implements ThePEG::MEBase.
void ThePEG::ME2to2Base::persistentOutput | ( | PersistentOStream & | os | ) | const |
Function used to write out object persistently.
os | the persistent output stream written to. |
Reimplemented from ThePEG::MEBase.
Reimplemented in ThePEG::ME2to2QCD, ThePEG::MEee2gZ2qq, and ThePEG::MENCDIS.
void ThePEG::ME2to2Base::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 ThePEG::MEBase.
Reimplemented in ThePEG::ME2to2QCD, ThePEG::MEee2gZ2qq, and ThePEG::MENCDIS.