9 #ifndef ThePEG_ME2to2Base_H 10 #define ThePEG_ME2to2Base_H 13 #include "ThePEG/MatrixElement/MEBase.h" 14 #include "ThePEG/MatrixElement/Tree2toNDiagram.h" 15 #include "ThePEG/Interface/Switch.fh" 59 virtual int nDim()
const {
return 1; }
80 virtual Energy2
scale()
const;
94 virtual double getCosTheta(
double cthmin,
double cthmax,
const double * r);
234 static string className() {
return "ThePEG::ME2to2Base"; }
double theLastPhi
The azimuth angle of the last set phase space point.
PersistentIStream is used to read persistent objects from a stream where they were previously written...
virtual double getCosTheta(double cthmin, double cthmax, const double *r)
Used internally by generateKinematics, after calculating the limits on cos(theta).
virtual void setKinematics()
Set the typed and momenta of the incoming and outgoing partons to be used in subsequent calls to me()...
The Switch class and its base class SwitchBase defines an interface to a class derived from the Inter...
ClassTraitsType is an empty, non-polymorphic, base class.
Energy2 tHat() const
Return the of the last set phase space point.
PersistentOStream is used to write objects persistently to a stream from which they can be read in ag...
A concreate implementation of ClassDescriptionBase describing an abstract class with persistent data...
void phi(double phi)
Set the azimuth angle of the last set phase space point.
static void Init()
Standard Init function used to initialize the interfaces.
int scaleChoice() const
Give the option corresponding to the way the scale of an interaction is calculated.
virtual ~ME2to2Base()
Destructor.
This is the main namespace within which all identifiers in ThePEG are declared.
void persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.
virtual Energy2 scale() const
Return the scale associated with the last set phase space point.
void uHat(Energy2 e2)
Set the of the last set phase space point.
ME2to2Base & operator=(const ME2to2Base &)
Private and non-existent assignment operator.
virtual CrossSection dSigHatDR() const
Return the matrix element for the kinematical configuation previously provided by the last call to se...
void tHat(Energy2 e2)
Set the of the last set phase space point.
ME2to2Base()
Default constructor.
int theScaleChoice
The option indicating how to calculate the scale of an interaction.
virtual bool generateKinematics(const double *r)
Generate internal degrees of freedom given 'nDim()' uniform random numbers in the interval ]0...
Energy2 uHat() const
Return the of the last set phase space point.
const ZeroUnit ZERO
ZERO can be used as zero for any unitful quantity.
double phi() const
Return the azimuth angle of the last set phase space point.
The default concrete implementation of ClassTraitsBase.
virtual int nDim() const
The number of internal degreed of freedom used in the matrix element.
This template class allows the compiler to check calculations with physical quantities for dimensiona...
The MEBase class is the base class of all objects representing hard matrix elements in ThePEG...
static AbstractClassDescription< ME2to2Base > initME2to2Base
Describe an abstract base class with persistent data.
ME2to2Base can be used as a base class for any matrix element class implementing 2 2 processes...
Energy2 theLastTHat
The of the last set phase space point.
BaseClassTraits describes the base classes of the templated class.
static Switch< ME2to2Base, int > & interfaceScaleChoice()
Access to the acutal Switch object used to determine the choice of scale.
The templated ClassTraitsBase class defines a set of default information about classes used by ThePEG...
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
Energy2 theLastUHat
The of the last set phase space point.