File: ME2to2QCD.h
Description:
The ME2to2QCD class inherits from the
ME2to2Base class and can be used as a sub class
for all QCD 2->2 processes. It implements some common
functions such as common pre-factors, maximum number of flavours,
treatment of interference terms and possibility to enhance certain
terms.
See
also:
namespace Pythia7
CLASS
ME2to2QCD:
Base class:
Public members:
inline ME2to2QCD();
inline ME2to2QCD(const ME2to2QCD &);
virtual ~ME2to2QCD();
Standard ctors and dtor.
virtual unsigned int orderInAlphaS() const;
virtual unsigned int orderInAlphaEW() const;
Return the order in respective couplings in which this matrix
element is given. Returns 2 and 0 respectively.
double comfac() const;
The common prefactor for all 2->2 QCD sub-processes
ie. alpha_s^2.
inline int maxFlavour() const;
Return the heaviest flavour allowed for this matrix element.
inline double Kfac() const;
K-factor for artificially boosting the cross-section.
inline double KfacA() const;
K-factor for artificially boosting colour-annihilation diagrams.
inline bool interference() const;
Return true if interference terms should be used.
inline bool isQuark(const ParticleData &) const;
Return true id argument is a quark.
inline tcPDPtr quark(int i) const;
Return the quark with flavour i (or gluon if i = 0);
void persistentOutput(PersistentOStream &) const;
void persistentInput(PersistentIStream &, int);
Standard functions for writing and reading from persistent streams.
static void Init();
Standard Init function used to initialize the interfaces.
Protected members:
inline virtual void doupdate() throw(UpdateException);
inline virtual void doinit() throw(InitException);
inline virtual void dofinish();
Standard Interfaced virtual functions.
inline virtual void rebind(const TranslationMap & trans)
throw(RebindException);
Change all pointers to Interfaced objects to corresponding clones.
inline virtual IVector getReferences();
Return pointers to all Interfaced objects refered to by this.
Private members:
int theMaxFlavour;
The heaviest flavour allowed for incoming and outgoing partons.
double theKfac;
double theKfacA;
Overall K-factors used to boost this cross-section.
bool useInterference;
Flag so tell whether interference should be used or not.
static AbstractClassDescription<ME2to2QCD> initME2to2QCD;
Describe an abstract base class with persistent data.
ME2to2QCD & operator=(const ME2to2QCD &);
Private and non-existent assignment operator.
DEFINED MACROS
INCLUDED FILES
Pythia7/MatrixElement/ME2to2Base.h