herwig is hosted by Hepforge, IPPP Durham
Herwig 7.3.0
Herwig::DrellYanBase Class Reference

The DrellYanBase class class provides a base class for the implemented of Drell-Yan type processes and provides the matrix element and POWHEG style hard corrections. More...

#include <DrellYanBase.h>

Inheritance diagram for Herwig::DrellYanBase:

Public Member Functions

 DrellYanBase ()
 The default constructor.
 
virtual POWHEGType hasPOWHEGCorrection ()
 Has a POWHEG style correction.
 
virtual bool hasMECorrection ()
 Has an old fashioned ME correction.
 
virtual void initializeMECorrection (RealEmissionProcessPtr, double &initial, double &final)
 Initialize the ME correction.
 
virtual RealEmissionProcessPtr applyHardMatrixElementCorrection (RealEmissionProcessPtr)
 Apply the hard matrix element correction to a given hard process or decay.
 
virtual bool softMatrixElementVeto (PPtr parent, PPtr progenitor, const bool &fs, const Energy &highestpT, const vector< tcPDPtr > &ids, const double &z, const Energy &scale, const Energy &pT)
 Apply the soft matrix element correction.
 
virtual RealEmissionProcessPtr generateHardest (RealEmissionProcessPtr, ShowerInteraction)
 Apply the POWHEG style correction.
 
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.
 
- Public Member Functions inherited from Herwig::HwMEBase
 HwMEBase ()
 Default constructor.
 
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().
 
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.
 
- Public Member Functions inherited from ThePEG::MEBase
virtual unsigned int orderInAlphaS () const=0
 
virtual unsigned int orderInAlphaEW () const=0
 
virtual double me2 () const=0
 
virtual Energy2 scale () const=0
 
virtual double alphaS () const
 
virtual double alphaEM () const
 
void setKinematics (tPPair in, const PVector &out)
 
virtual void setKinematics ()
 
virtual void constructVertex (tSubProPtr sub)
 
virtual void constructVertex (tSubProPtr sub, const ColourLines *cl)
 
virtual int nDim () const
 
virtual bool generateKinematics (const double *r)=0
 
virtual bool wantCMS () const
 
virtual bool headCuts () const
 
virtual bool ignoreCuts () const
 
virtual bool apply () const
 
virtual CrossSection dSigHatDR () const=0
 
virtual map< string, double > generateOptionalWeights ()
 
virtual bool haveX1X2 () const
 
virtual bool havePDFWeight1 () const
 
virtual bool havePDFWeight2 () const
 
virtual bool keepRandomNumbers () const
 
virtual void generateSubCollision (SubProcess &)
 
virtual void clearKinematics ()
 
virtual void getDiagrams () const=0
 
virtual bool noMirror () const
 
const DiagramVectordiagrams () const
 
virtual Selector< const ColourLines * > colourGeometries (tcDiagPtr diag) const=0
 
virtual const ColourLinesselectColourGeometry (tcDiagPtr diag) const
 
virtual Selector< DiagramIndexdiagrams (const DiagramVector &) const
 
virtual DiagramIndex diagram (const DiagramVector &) const
 
bool reweighted () const
 
double reWeight () const
 
double preWeight () const
 
void addReweighter (tReweightPtr rw)
 
void addPreweighter (tReweightPtr rw)
 
Ptr< Amplitude >::pointer amplitude () const
 
void amplitude (Ptr< Amplitude >::pointer amp)
 
Energy2 sHat () const
 
double preweight () const
 
virtual void flushCaches ()
 
virtual StdXCombPtr makeXComb (Energy newMaxEnergy, const cPDPair &inc, tEHPtr newEventHandler, tSubHdlPtr newSubProcessHandler, tPExtrPtr newExtractor, tCascHdlPtr newCKKW, const PBPair &newPartonBins, tCutsPtr newCuts, const DiagramVector &newDiagrams, bool mir, const PartonPairVec &allPBins, tStdXCombPtr newHead=tStdXCombPtr(), tMEPtr newME=tMEPtr())
 
virtual StdXCombPtr makeXComb (tStdXCombPtr newHead, const PBPair &newPartonBins, const DiagramVector &newDiagrams, tMEPtr newME=tMEPtr())
 
virtual void fillProjectors ()
 
virtual void setXComb (tStdXCombPtr)
 
const DVectormeInfo () const
 
void meInfo (const DVector &info) const
 
virtual int maxMultCKKW () const
 
virtual int minMultCKKW () const
 
virtual void maxMultCKKW (int mult)
 
virtual void minMultCKKW (int mult)
 
virtual void setVetoScales (tSubProPtr) const
 
virtual unsigned int orderInAlphaS () const=0
 
virtual unsigned int orderInAlphaEW () const=0
 
virtual double me2 () const=0
 
virtual Energy2 scale () const=0
 
virtual double alphaS () const
 
virtual double alphaEM () const
 
void setKinematics (tPPair in, const PVector &out)
 
virtual void setKinematics ()
 
virtual void constructVertex (tSubProPtr sub)
 
virtual void constructVertex (tSubProPtr sub, const ColourLines *cl)
 
virtual int nDim () const
 
virtual bool generateKinematics (const double *r)=0
 
virtual bool wantCMS () const
 
virtual bool headCuts () const
 
virtual bool ignoreCuts () const
 
virtual bool apply () const
 
virtual CrossSection dSigHatDR () const=0
 
virtual map< string, double > generateOptionalWeights ()
 
virtual bool haveX1X2 () const
 
virtual bool havePDFWeight1 () const
 
virtual bool havePDFWeight2 () const
 
virtual bool keepRandomNumbers () const
 
virtual void generateSubCollision (SubProcess &)
 
virtual void clearKinematics ()
 
virtual void getDiagrams () const=0
 
virtual bool noMirror () const
 
const DiagramVectordiagrams () const
 
virtual Selector< const ColourLines * > colourGeometries (tcDiagPtr diag) const=0
 
virtual const ColourLinesselectColourGeometry (tcDiagPtr diag) const
 
virtual Selector< DiagramIndexdiagrams (const DiagramVector &) const
 
virtual DiagramIndex diagram (const DiagramVector &) const
 
bool reweighted () const
 
double reWeight () const
 
double preWeight () const
 
void addReweighter (tReweightPtr rw)
 
void addPreweighter (tReweightPtr rw)
 
Ptr< Amplitude >::pointer amplitude () const
 
void amplitude (Ptr< Amplitude >::pointer amp)
 
Energy2 sHat () const
 
double preweight () const
 
virtual void flushCaches ()
 
virtual StdXCombPtr makeXComb (Energy newMaxEnergy, const cPDPair &inc, tEHPtr newEventHandler, tSubHdlPtr newSubProcessHandler, tPExtrPtr newExtractor, tCascHdlPtr newCKKW, const PBPair &newPartonBins, tCutsPtr newCuts, const DiagramVector &newDiagrams, bool mir, const PartonPairVec &allPBins, tStdXCombPtr newHead=tStdXCombPtr(), tMEPtr newME=tMEPtr())
 
virtual StdXCombPtr makeXComb (tStdXCombPtr newHead, const PBPair &newPartonBins, const DiagramVector &newDiagrams, tMEPtr newME=tMEPtr())
 
virtual void fillProjectors ()
 
virtual void setXComb (tStdXCombPtr)
 
const DVectormeInfo () const
 
void meInfo (const DVector &info) const
 
virtual int maxMultCKKW () const
 
virtual int minMultCKKW () const
 
virtual void maxMultCKKW (int mult)
 
virtual void minMultCKKW (int mult)
 
virtual void setVetoScales (tSubProPtr) const
 
void persistentOutput (PersistentOStream &os) const
 
void persistentInput (PersistentIStream &is, int version)
 
- Public Member Functions inherited from ThePEG::HandlerBaseT< UseRandom >
double rnd () const
 
double rnd (double xu) const
 
double rnd (double xl, double xu) const
 
bool rndbool () const
 
bool rndbool (double p) const
 
bool rndbool (double p1, double p2) const
 
int rndsign (double p1, double p2, double p3) const
 
int rnd2 (double p0, double p1) const
 
int rnd3 (double p0, double p1, double p2) const
 
int rnd4 (double p0, double p1, double p2, double p3) const
 
long irnd (long xu=2) const
 
long irnd (long xl, long xu) const
 
const StandardModelBaseSM () const
 
tSMPtr standardModel () const
 
- Public Member Functions inherited from ThePEG::Interfaced
virtual bool defaultInit ()
 
PPtr getParticle (PID) const
 
PDPtr getParticleData (PID) const
 
bool used () const
 
void useMe () const
 
tEGPtr generator () const
 
void persistentOutput (PersistentOStream &os) const
 
void persistentInput (PersistentIStream &is, int version)
 
PPtr getParticle (PID) const
 
PDPtr getParticleData (PID) const
 
bool used () const
 
void useMe () const
 
tEGPtr generator () const
 
- Public Member Functions inherited from ThePEG::InterfacedBase
string fullName () const
 
string name () const
 
string path () const
 
string comment () const
 
void setup (istream &is)
 
void update ()
 
void init ()
 
virtual bool preInitialize () const
 
void initrun ()
 
void finish ()
 
void touch ()
 
void reset ()
 
void clear ()
 
InitState state () const
 
bool locked () const
 
bool touched () const
 
virtual IBPtr fullclone () const
 
void persistentOutput (PersistentOStream &os) const
 
void persistentInput (PersistentIStream &is, int version)
 
virtual void debugme () const
 
void update ()
 
void init ()
 
virtual bool preInitialize () const
 
void initrun ()
 
void finish ()
 
void touch ()
 
void reset ()
 
void clear ()
 
InitState state () const
 
bool locked () const
 
bool touched () const
 
virtual IBPtr fullclone () const
 
- Public Member Functions inherited from ThePEG::Base
void debug () const
 
virtual void debugme () const
 
- Public Member Functions inherited from ThePEG::Pointer::ReferenceCounted
CounterType referenceCount () const
 
- Public Member Functions inherited from ThePEG::Named
 Named (const string &newName=string())
 
 Named (const Named &)=default
 
const string & name () const
 
bool operator== (const Named &other) const
 
bool operator< (const Named &other) const
 
- Public Member Functions inherited from ThePEG::LastXCombInfo< StandardXComb >
const XC & lastXComb () const
 
const XC & lastXComb () const
 
tXCPtr lastXCombPtr () const
 
tXCPtr lastXCombPtr () const
 
const XC & lastHeadXComb () const
 
const XC & lastHeadXComb () const
 
tXCPtr lastHeadXCombPtr () const
 
tXCPtr lastHeadXCombPtr () const
 
const EventHandlerlastEventHandler () const
 
const EventHandlerlastEventHandler () const
 
tPExtrPtr lastExtractor () const
 
tPExtrPtr lastExtractor () const
 
PDFT pdf (tcPPtr parton) const
 
PDFT pdf (tcPPtr parton) const
 
const CutslastCuts () const
 
const CutslastCuts () const
 
tCutsPtr lastCutsPtr () const
 
tCutsPtr lastCutsPtr () const
 
const PPairlastParticles () const
 
const PPairlastParticles () const
 
Energy2 lastS () const
 
Energy2 lastS () const
 
const PPairlastPartons () const
 
const PPairlastPartons () const
 
Energy2 lastSHat () const
 
Energy2 lastSHat () const
 
double lastTau () const
 
double lastTau () const
 
double lastY () const
 
double lastY () const
 
double lastP1 () const
 
double lastP1 () const
 
double lastP2 () const
 
double lastP2 () const
 
double lastL1 () const
 
double lastL1 () const
 
double lastL2 () const
 
double lastL2 () const
 
double lastX1 () const
 
double lastX1 () const
 
double lastX2 () const
 
double lastX2 () const
 
double lastE1 () const
 
double lastE1 () const
 
double lastE2 () const
 
double lastE2 () const
 
double lastFL1L2 () const
 
double lastFL1L2 () const
 
Energy2 lastScale () const
 
double lastAlphaS () const
 
double lastAlphaEM () const
 
const vector< Lorentz5Momentum > & meMomenta () const
 
double lastME2 () const
 
double lastPreweight () const
 
double jacobian () const
 
CrossSection lastMECrossSection () const
 
double lastMEPDFWeight () const
 
double lastMECouplings () const
 
tSubProPtr subProcess () const
 
const cPDVectormePartonData () const
 

Protected Member Functions

bool applyHard (ParticleVector &quarks, vector< tcBeamPtr > beams, Lorentz5Momentum boson, unsigned int &iemit, unsigned int &itype, vector< Lorentz5Momentum > &pnew, LorentzRotation &trans, pair< double, double > &xnew, Energy2 shad)
 Return the momenta and type of hard matrix element correction.
 
double getResult (int emis_type, Energy pt, double yj)
 Returns the matrix element for a given type of process, rapidity of the jet \(y_j\) and transverse momentum \(p_T\).
 
bool getEvent (vector< Lorentz5Momentum > &pnew, int &emissiontype)
 generates the hardest emission (yj,p)
 
- Protected Member Functions inherited from Herwig::HwMEBase
Energy2 tHat () const
 Return the \(\hat{t}\) of the last set phase space point.
 
Energy2 uHat () const
 Return the \(\hat{u}\) of the last set phase space point.
 
double phi () const
 Return the azimuth angle of the last set phase space point.
 
void tHat (Energy2 e2)
 Set the \(\hat{t}\) of the last set phase space point.
 
void uHat (Energy2 e2)
 Set the \(\hat{u}\) of the last set phase space point.
 
void phi (double phi)
 Set the azimuth angle of the last set phase space point.
 
void massOption (vector< unsigned int > iopt)
 Set the treatment of the outgoing masses.
 
void rescalingOption (unsigned int iopt)
 Rescaled momenta for the helicity ME.
 
bool rescaleMomenta (const vector< Lorentz5Momentum > &, const cPDVector &)
 rescale the momenta for the computation of the helicity matrix element
 
const vector< Lorentz5Momentum > & rescaledMomenta () const
 Access to the rescaled momenta.
 
bool generateMasses (vector< Energy > &masses, double &mjac, const double *r)
 Generate the masses of the particles.
 
virtual double getCosTheta (double cthmin, double cthmax, const double r)
 Used internally by generateKinematics, after calculating the limits on cos(theta).
 
- Protected Member Functions inherited from ThePEG::MEBase
virtual void doinit ()
 
virtual void doinitrun ()
 
void add (DiagPtr dp) const
 
vector< Lorentz5Momentum > & meMomenta ()
 
void lastME2 (double v) const
 
void lastPreweight (double w) const
 
void lastMECrossSection (CrossSection v) const
 
void lastMEPDFWeight (double v) const
 
void lastMECouplings (double v) const
 
void jacobian (double j)
 
void use (tcMEPtr other)
 
void useDiagrams (tcMEPtr other) const
 
- Protected Member Functions inherited from ThePEG::Interfaced
void reporeg (IBPtr object, string name) const
 
bool setDefaultReference (PtrT &ptr, string classname, string objectname)
 
 Interfaced (const string &newName)
 
 Interfaced (const Interfaced &i)
 
void setGenerator (tEGPtr generator)
 
- Protected Member Functions inherited from ThePEG::InterfacedBase
virtual void readSetup (istream &is)
 
virtual void doupdate ()
 
virtual void doinit ()
 
virtual void doinitrun ()
 
virtual void dofinish ()
 
virtual IVector getReferences ()
 
virtual void rebind (const TranslationMap &)
 
virtual IBPtr clone () const=0
 
 InterfacedBase (string newName)
 
 InterfacedBase (const InterfacedBase &i)
 
virtual void readSetup (istream &is)
 
virtual void doupdate ()
 
virtual void doinit ()
 
virtual void doinitrun ()
 
virtual void dofinish ()
 
virtual IVector getReferences ()
 
virtual void rebind (const TranslationMap &)
 
- Protected Member Functions inherited from ThePEG::Pointer::ReferenceCounted
 ReferenceCounted (const ReferenceCounted &)
 
ReferenceCountedoperator= (const ReferenceCounted &)
 
- Protected Member Functions inherited from ThePEG::Named
const Namedoperator= (const Named &other)
 
const string & name (const string &newName)
 

Standard Interfaced functions.

Energy2 mb2_
 Mass squared of the vector boson.
 
double _channelwgtA
 Parameters for the old-style ME correction.
 
double _channelwgtB
 Relative weight for the \(qg\) and \(\bar{q}g\) channels.
 
vector< double > _channelweights
 Weights for the channels as a vector.
 
unsigned int _nover
 Number of weights greater than 1.
 
double _maxwgt
 Maximum weight.
 
double _power
 Constants for the sampling.
 
double _preqqbar
 The prefactor, \(c\) for the \(q\bar{q}\) channel.
 
double _preqg
 The prefactor, \(c\) for the \(qg\) channel.
 
double _pregqbar
 The prefactor, \(c\) for the \(g\bar{q}\) channel.
 
vector< double > _prefactor
 The prefactors as a vector for easy use.
 
vector< tcBeamPtr_beams
 Properties of the incoming particles.
 
vector< tcPDPtr_partons
 Pointers to the ParticleDataObjects for the partons.
 
double _yb
 Properties of the boson and jets.
 
Energy _mass
 The mass of the gauge boson.
 
bool _quarkplus
 Whether the quark is in the + or - z direction.
 
double _yj
 the rapidity of the jet
 
Energy _pt
 The transverse momentum of the jet.
 
Energy _min_pt
 The transverse momentum of the jet.
 
ShowerAlphaPtr _alpha
 Pointer to the object calculating the strong coupling.
 
virtual void doinit ()
 Initialize this object after the setup phase before saving an EventGenerator to disk.
 
virtual void dofinish ()
 Finalize this object.
 
DrellYanBaseoperator= (const DrellYanBase &)=delete
 The assignment operator is private and must never be called.
 

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 void Init ()
 The standard Init function used to initialize the interfaces.
 

Additional Inherited Members

- Public Types inherited from Herwig::HwMEBase
enum  POWHEGType { No , ISR , FSR , Both }
 Virtual members to be overridden by inheriting classes which implement hard corrections. More...
 
- Public Types inherited from ThePEG::MEBase
typedef vector< DiagPtr > DiagramVector
 
typedef DiagramVector::size_type DiagramIndex
 
typedef vector< ReweightPtrReweightVector
 
- Public Types inherited from ThePEG::InterfacedBase
enum  InitState
 
- Public Types inherited from ThePEG::Pointer::ReferenceCounted
typedef unsigned int CounterType
 
- Public Types inherited from ThePEG::LastXCombInfo< StandardXComb >
typedef ThePEG::Ptr< XC >::pointer XCPtr
 
typedef ThePEG::Ptr< XC >::const_pointer cXCPtr
 
typedef ThePEG::Ptr< XC >::transient_pointer tXCPtr
 
typedef ThePEG::Ptr< XC >::transient_const_pointer tcXCPtr
 
- Static Public Member Functions inherited from Herwig::HwMEBase
static void Init ()
 The standard Init function used to initialize the interfaces.
 
- Static Public Member Functions inherited from ThePEG::MEBase
static void Init ()
 
- Static Public Member Functions inherited from ThePEG::HandlerBase
static void Init ()
 
- Static Public Member Functions inherited from ThePEG::Interfaced
static void Init ()
 
- Static Public Member Functions inherited from ThePEG::InterfacedBase
static void Init ()
 
- Static Public Member Functions inherited from ThePEG::Base
static void Init ()
 
- Public Attributes inherited from ThePEG::InterfacedBase
 initializing
 
 uninitialized
 
 initialized
 
 runready
 
- Public Attributes inherited from ThePEG::Pointer::ReferenceCounted
const unsigned long uniqueId
 
- Static Protected Member Functions inherited from ThePEG::Interfaced
static void registerRepository (IBPtr)
 
static void registerRepository (IBPtr, string newName)
 
- Protected Attributes inherited from ThePEG::LastXCombInfo< StandardXComb >
XCPtr theLastXComb
 

Detailed Description

The DrellYanBase class class provides a base class for the implemented of Drell-Yan type processes and provides the matrix element and POWHEG style hard corrections.

See also
The interfaces defined for DrellYanBase.

Definition at line 23 of file DrellYanBase.h.

Member Function Documentation

◆ applyHard()

bool Herwig::DrellYanBase::applyHard ( ParticleVector quarks,
vector< tcBeamPtr beams,
Lorentz5Momentum  boson,
unsigned int &  iemit,
unsigned int &  itype,
vector< Lorentz5Momentum > &  pnew,
LorentzRotation trans,
pair< double, double > &  xnew,
Energy2  shad 
)
protected

Return the momenta and type of hard matrix element correction.

Parameters
quarksThe original incoming particles.
beamsThe BeamParticleData objects
bosonThe momentum of the original outgoing gauge boson
iemitWhether the first (0) or second (1) particle emitted the radiation
itypeThe type of radiated particle (0 is gluon, 1 is quark and 2 is antiquark)
pnewThe momenta of the new particles
transThe LorentzRotation from the boson rest frame to the new lab
xnewThe new values of the momentuym fractions
Returns
Whether or not the matrix element correction needs to be applied

◆ applyHardMatrixElementCorrection()

virtual RealEmissionProcessPtr Herwig::DrellYanBase::applyHardMatrixElementCorrection ( RealEmissionProcessPtr  )
virtual

Apply the hard matrix element correction to a given hard process or decay.

Reimplemented from Herwig::HwMEBase.

◆ dofinish()

virtual void Herwig::DrellYanBase::dofinish ( )
protectedvirtual

Finalize this object.

Called in the run phase just after a run has ended. Used eg. to write out statistics.

Reimplemented from ThePEG::InterfacedBase.

◆ doinit()

virtual void Herwig::DrellYanBase::doinit ( )
protectedvirtual

Initialize this object after the setup phase before saving an EventGenerator to disk.

Exceptions
InitExceptionif object could not be initialized properly.

Reimplemented from ThePEG::MEBase.

Reimplemented in Herwig::MEPP2WH, Herwig::MEPP2ZH, Herwig::MEqq2gZ2ff, Herwig::MEqq2W2ff, Herwig::MEee2ZH, Herwig::MEfftoVH, Herwig::MEPP2WHPowheg, Herwig::MEPP2ZHPowheg, Herwig::MEqq2gZ2ffPowheg, and Herwig::MEqq2W2ffPowheg.

◆ generateHardest()

virtual RealEmissionProcessPtr Herwig::DrellYanBase::generateHardest ( RealEmissionProcessPtr  ,
ShowerInteraction   
)
virtual

Apply the POWHEG style correction.

Reimplemented from Herwig::HwMEBase.

◆ getEvent()

bool Herwig::DrellYanBase::getEvent ( vector< Lorentz5Momentum > &  pnew,
int &  emissiontype 
)
protected

generates the hardest emission (yj,p)

Parameters
pnewThe momenta of the new particles
emissiontypeThe type of emission, as for getResult
Returns
Whether not an emission was generated

◆ getResult()

double Herwig::DrellYanBase::getResult ( int  emis_type,
Energy  pt,
double  yj 
)
protected

Returns the matrix element for a given type of process, rapidity of the jet \(y_j\) and transverse momentum \(p_T\).

Parameters
emis_typethe type of emission, (0 is \(q\bar{q}\to Vg\), 1 is \(qg\to Vq\) and 2 is \(g\bar{q}\to V\bar{q}\))
ptThe transverse momentum of the jet
yjThe rapidity of the jet

◆ hasMECorrection()

virtual bool Herwig::DrellYanBase::hasMECorrection ( )
inlinevirtual

Has an old fashioned ME correction.

Reimplemented from Herwig::HwMEBase.

Reimplemented in Herwig::MEee2ZH.

Definition at line 43 of file DrellYanBase.h.

References _alpha.

◆ hasPOWHEGCorrection()

virtual POWHEGType Herwig::DrellYanBase::hasPOWHEGCorrection ( )
inlinevirtual

Has a POWHEG style correction.

Reimplemented from Herwig::HwMEBase.

Reimplemented in Herwig::MEee2ZH.

Definition at line 37 of file DrellYanBase.h.

◆ Init()

static void Herwig::DrellYanBase::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.

◆ initializeMECorrection()

virtual void Herwig::DrellYanBase::initializeMECorrection ( RealEmissionProcessPtr  ,
double &  initial,
double &  final 
)
inlinevirtual

Initialize the ME correction.

Reimplemented from Herwig::HwMEBase.

Definition at line 48 of file DrellYanBase.h.

◆ operator=()

DrellYanBase & Herwig::DrellYanBase::operator= ( const DrellYanBase )
privatedelete

The assignment operator is private and must never be called.

In fact, it should not even be implemented.

◆ persistentInput()

void Herwig::DrellYanBase::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.

◆ persistentOutput()

void Herwig::DrellYanBase::persistentOutput ( PersistentOStream os) const

Function used to write out object persistently.

Parameters
osthe persistent output stream written to.

◆ setKinematics()

virtual void Herwig::DrellYanBase::setKinematics ( )
inlinevirtual

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.

Reimplemented from Herwig::HwMEBase.

Reimplemented in Herwig::MEfftoVH.

Definition at line 91 of file DrellYanBase.h.

References mb2_, Herwig::HwMEBase::setKinematics(), and ThePEG::MEBase::sHat().

◆ softMatrixElementVeto()

virtual bool Herwig::DrellYanBase::softMatrixElementVeto ( PPtr  parent,
PPtr  progenitor,
const bool &  fs,
const Energy &  highestpT,
const vector< tcPDPtr > &  ids,
const double &  z,
const Energy &  scale,
const Energy &  pT 
)
virtual

Apply the soft matrix element correction.

Parameters
parentThe initial particle in the current branching
progenitorThe progenitor particle of the jet
fsWhether the emission is initial or final-state
highestpTThe highest pT so far in the shower
idsids of the particles produced in the branching
zThe momentum fraction of the branching
scalethe evolution scale of the branching
pTThe transverse momentum of the branching
Returns
If true the emission should be vetoed

Reimplemented from Herwig::HwMEBase.

Member Data Documentation

◆ _alpha

ShowerAlphaPtr Herwig::DrellYanBase::_alpha
private

Pointer to the object calculating the strong coupling.

Definition at line 310 of file DrellYanBase.h.

Referenced by hasMECorrection().

◆ _beams

vector<tcBeamPtr> Herwig::DrellYanBase::_beams
private

Properties of the incoming particles.

Pointers to the BeamParticleData objects

Definition at line 264 of file DrellYanBase.h.

◆ _channelweights

vector<double> Herwig::DrellYanBase::_channelweights
private

Weights for the channels as a vector.

Definition at line 213 of file DrellYanBase.h.

◆ _channelwgtA

double Herwig::DrellYanBase::_channelwgtA
private

Parameters for the old-style ME correction.

Relative weight for the \(q\bar{q}\) and \(q/\bar{q}g\) channels

Definition at line 203 of file DrellYanBase.h.

◆ _channelwgtB

double Herwig::DrellYanBase::_channelwgtB
private

Relative weight for the \(qg\) and \(\bar{q}g\) channels.

Definition at line 208 of file DrellYanBase.h.

◆ _mass

Energy Herwig::DrellYanBase::_mass
private

The mass of the gauge boson.

Definition at line 284 of file DrellYanBase.h.

◆ _maxwgt

double Herwig::DrellYanBase::_maxwgt
private

Maximum weight.

Definition at line 223 of file DrellYanBase.h.

◆ _min_pt

Energy Herwig::DrellYanBase::_min_pt
private

The transverse momentum of the jet.

Definition at line 305 of file DrellYanBase.h.

◆ _nover

unsigned int Herwig::DrellYanBase::_nover
private

Number of weights greater than 1.

Definition at line 218 of file DrellYanBase.h.

◆ _partons

vector<tcPDPtr> Herwig::DrellYanBase::_partons
private

Pointers to the ParticleDataObjects for the partons.

Definition at line 269 of file DrellYanBase.h.

◆ _power

double Herwig::DrellYanBase::_power
private

Constants for the sampling.

The distribution is assumed to have the form \(\frac{c}{{\rm GeV}}\times\left(\frac{{\rm GeV}}{p_T}\right)^n\) The power, \(n\), for the sampling

Definition at line 234 of file DrellYanBase.h.

◆ _prefactor

vector<double> Herwig::DrellYanBase::_prefactor
private

The prefactors as a vector for easy use.

Definition at line 254 of file DrellYanBase.h.

◆ _pregqbar

double Herwig::DrellYanBase::_pregqbar
private

The prefactor, \(c\) for the \(g\bar{q}\) channel.

Definition at line 249 of file DrellYanBase.h.

◆ _preqg

double Herwig::DrellYanBase::_preqg
private

The prefactor, \(c\) for the \(qg\) channel.

Definition at line 244 of file DrellYanBase.h.

◆ _preqqbar

double Herwig::DrellYanBase::_preqqbar
private

The prefactor, \(c\) for the \(q\bar{q}\) channel.

Definition at line 239 of file DrellYanBase.h.

◆ _pt

Energy Herwig::DrellYanBase::_pt
private

The transverse momentum of the jet.

Definition at line 299 of file DrellYanBase.h.

◆ _quarkplus

bool Herwig::DrellYanBase::_quarkplus
private

Whether the quark is in the + or - z direction.

Definition at line 289 of file DrellYanBase.h.

◆ _yb

double Herwig::DrellYanBase::_yb
private

Properties of the boson and jets.

The rapidity of the gauge boson

Definition at line 279 of file DrellYanBase.h.

◆ _yj

double Herwig::DrellYanBase::_yj
private

the rapidity of the jet

Definition at line 294 of file DrellYanBase.h.

◆ mb2_

Energy2 Herwig::DrellYanBase::mb2_
private

Mass squared of the vector boson.

Definition at line 194 of file DrellYanBase.h.

Referenced by setKinematics().


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