Herwig 7 is hosted by Hepforge, IPPP Durham
Herwig  7.1.4
Herwig::GeneralTwoBodyDecayer Class Referenceabstract

The GeneralTwoBodyDecayer class is designed to be the base class for 2 body decays for some general model. More...

#include <GeneralTwoBodyDecayer.h>

Inheritance diagram for Herwig::GeneralTwoBodyDecayer:

Public Types

typedef pair< tcPDPtr, Energy > PMPair
 A ParticleData ptr and (possible) mass pair. More...
 
- Public Types inherited from Herwig::DecayIntegrator
enum  MEOption { Initialize, Calculate, Terminate }
 Enum for the matrix element option.
 
- Public Types inherited from Herwig::HwDecayerBase
enum  POWHEGType { No, ISR, FSR, Both }
 Virtual members to be overridden by inheriting classes which implement hard corrections. More...
 
- Public Types inherited from ThePEG::InterfacedBase
enum  InitState
 
- Public Types inherited from ThePEG::Pointer::ReferenceCounted
typedef unsigned int CounterType
 

Public Member Functions

 GeneralTwoBodyDecayer ()
 The default constructor.
 
void setDecayInfo (PDPtr incoming, PDPair outgoing, VertexBasePtr, VertexBasePtr, const vector< VertexBasePtr > &, VertexBasePtr)
 Set the information on the decay.
 
Virtual functions required by the Decayer class.
virtual ParticleVector decay (const Particle &parent, const tPDVector &children) const
 For a given decay mode and a given particle instance, perform the decay and return the decay products. More...
 
virtual int modeNumber (bool &cc, tcPDPtr parent, const tPDVector &children) const
 Which of the possible decays is required. More...
 
virtual double me2 (const int, const Particle &part, const ParticleVector &decay, MEOption meopt) const =0
 Return the matrix element squared for a given mode and phase-space channel. More...
 
virtual Energy partialWidth (PMPair inpart, PMPair outa, PMPair outb) const
 Function to return partial Width. More...
 
virtual bool twoBodyMEcode (const DecayMode &dm, int &mecode, double &coupling) const
 Specify the $1\to2$ matrix element to be used in the running width calculation. More...
 
virtual double brat (const DecayMode &dm, const Particle &p, double oldbrat) const
 An overidden member to calculate a branching ratio for a certain particle instance. More...
 
virtual POWHEGType hasPOWHEGCorrection ()
 Has a POWHEG style correction.
 
virtual RealEmissionProcessPtr generateHardest (RealEmissionProcessPtr)
 Member to generate the hardest emission in the POWHEG scheme.
 
virtual double threeBodyME (const int, const Particle &inpart, const ParticleVector &decay, MEOption meopt)
 Three-body matrix element including additional QCD radiation.
 
Functions used by the persistent I/O system.
void persistentOutput (PersistentOStream &os) const
 Function used to write out object persistently. More...
 
void persistentInput (PersistentIStream &is, int version)
 Function used to read in object persistently. More...
 
- Public Member Functions inherited from Herwig::DecayIntegrator
 DecayIntegrator ()
 Default constructor.
 
virtual bool accept (tcPDPtr parent, const tPDVector &children) const
 Check if this decayer can perfom the decay for a particular mode. More...
 
int imode () const
 The mode being used for this decay.
 
void addMode (DecayPhaseSpaceModePtr mode, double maxwgt, const vector< double > wgts) const
 Add a phase-space mode to the list. More...
 
DecayMEPtr ME () const
 The helicity amplitude matrix element for spin correlations.
 
virtual WidthCalculatorBasePtr threeBodyMEIntegrator (const DecayMode &dm) const
 Method to return an object to calculate the 3 (or higher body) partial width. More...
 
virtual double threeBodyMatrixElement (const int imode, const Energy2 q2, const Energy2 s3, const Energy2 s2, const Energy2 s1, const Energy m1, const Energy m2, const Energy m3) const
 The matrix element to be integrated for the three-body decays as a function of the invariant masses of pairs of the outgoing particles. More...
 
virtual InvEnergy threeBodydGammads (const int imode, const Energy2 q2, const Energy2 s, const Energy m1, const Energy m2, const Energy m3) const
 The differential three body decay rate with one integral performed. More...
 
void setPartialWidth (const DecayMode &dm, int imode)
 Set the code for the partial width. More...
 
int findMode (const DecayMode &dm)
 Finds the phase-space mode corresponding to a given decay mode. More...
 
virtual void dataBaseOutput (ofstream &os, bool header) const
 Output the setup information for the particle database. More...
 
ParticleVector generatePhotons (const Particle &p, ParticleVector children)
 Members for the generation of QED radiation in the decays. More...
 
bool canGeneratePhotons ()
 check if photons can be generated in the decay
 
virtual double oneLoopVirtualME (unsigned int imode, const Particle &part, const ParticleVector &products)
 The one-loop virtual correction. More...
 
bool hasOneLoopME ()
 Whether or not the one loop matrix element is implemented.
 
virtual InvEnergy2 realEmissionME (unsigned int imode, const Particle &part, ParticleVector &products, unsigned int iemitter, double ctheta, double stheta, const LorentzRotation &rot1, const LorentzRotation &rot2)
 The real emission matrix element. More...
 
bool hasRealEmissionME ()
 Whether or not the real emission matrix element is implemented.
 
void persistentOutput (PersistentOStream &os) const
 Function used to write out object persistently. More...
 
void persistentInput (PersistentIStream &is, int version)
 Function used to read in object persistently. More...
 
- Public Member Functions inherited from Herwig::HwDecayerBase
 HwDecayerBase ()
 The default constructor.
 
virtual bool accept (const DecayMode &dm) const
 Check if this decayer can perfom the decay specified by the given decay mode. More...
 
virtual ParticleVector decay (const DecayMode &dm, const Particle &p) const
 Perform a decay for a given DecayMode and a given Particle instance. More...
 
void persistentOutput (PersistentOStream &os) const
 Function used to write out object persistently. More...
 
void persistentInput (PersistentIStream &is, int version)
 Function used to read in object persistently. More...
 
bool initialize () const
 Access to the initialize variable.
 
bool databaseOutput () const
 Access the database output variable.
 
virtual bool hasMECorrection ()
 Has an old fashioned ME correction.
 
virtual void initializeMECorrection (RealEmissionProcessPtr, double &, double &)
 Initialize the ME correction.
 
virtual RealEmissionProcessPtr applyHardMatrixElementCorrection (RealEmissionProcessPtr)
 Apply the hard matrix element correction to a given hard process or decay.
 
virtual bool softMatrixElementVeto (ShowerProgenitorPtr initial, ShowerParticlePtr parent, Branching br)
 Apply the soft matrix element correction. More...
 
- Public Member Functions inherited from ThePEG::Decayer
Ptr< Amplitude >::pointer amplitude () const
 
virtual bool needsFullStep () const
 
virtual ParticleVector decay (const DecayMode &dm, const Particle &p, Step &step) const
 
virtual double brat (const DecayMode &dm, const ParticleData &pd, double oldbrat) const
 
virtual ParticleVector getChildren (const DecayMode &dm, const Particle &parent) const
 
virtual void finalBoost (const Particle &parent, const ParticleVector &children) const
 
virtual void setScales (const Particle &parent, const ParticleVector &children) const
 
void persistentOutput (PersistentOStream &os) const
 
void persistentInput (PersistentIStream &is, int version)
 
virtual bool needsFullStep () const
 
virtual ParticleVector decay (const DecayMode &dm, const Particle &p, Step &step) const
 
virtual double brat (const DecayMode &dm, const ParticleData &pd, double oldbrat) const
 
virtual ParticleVector getChildren (const DecayMode &dm, const Particle &parent) const
 
virtual void finalBoost (const Particle &parent, const ParticleVector &children) const
 
virtual void setScales (const Particle &parent, const ParticleVector &children) const
 
void persistentOutput (PersistentOStream &os) const
 
void persistentInput (PersistentIStream &is, int version)
 
- Public Member Functions inherited from 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 StandardModelBase & SM () 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
 
void persistentOutput (PersistentOStream &os) const
 
void persistentInput (PersistentIStream &is, int version)
 
- Public Member Functions inherited from ThePEG::InterfacedBase
string fullName () const
 
string name () const
 
string path () const
 
string comment () const
 
void setup (istream &is)
 
virtual IBPtr fullclone () const
 
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
 
void persistentOutput (PersistentOStream &os) const
 
void persistentInput (PersistentIStream &is, int version)
 
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
 
void persistentOutput (PersistentOStream &os) const
 
void persistentInput (PersistentIStream &is, int version)
 
- Public Member Functions inherited from ThePEG::Base
void debug () const
 
- Public Member Functions inherited from ThePEG::Pointer::ReferenceCounted
CounterType referenceCount () const
 
- Public Member Functions inherited from ThePEG::Named
 Named (const string &newName=string())
 
const string & name () const
 
bool operator== (const Named &other) const
 
bool operator< (const Named &other) const
 

Static Public Member Functions

static void Init ()
 The standard Init function used to initialize the interfaces. More...
 
- Static Public Member Functions inherited from Herwig::DecayIntegrator
static void Init ()
 Standard Init function used to initialize the interfaces.
 
- Static Public Member Functions inherited from Herwig::HwDecayerBase
static void Init ()
 The standard Init function used to initialize the interfaces. More...
 
- Static Public Member Functions inherited from ThePEG::Decayer
static ParticleVector DecayParticle (tPPtr parent, Step &step, long maxtry=1000)
 
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 ()
 

Protected Member Functions

Standard Interfaced functions.
virtual void doinit ()
 Initialize this object after the setup phase before saving an EventGenerator to disk. More...
 
virtual void doinitrun ()
 Initialize this object. More...
 
- Protected Member Functions inherited from Herwig::DecayIntegrator
ParticleVector generate (bool inter, bool cc, const unsigned int &imode, const Particle &inpart) const
 Generate the momenta for the decay. More...
 
void imode (int in)
 Set the mode being use for this decay.
 
void ME (DecayMEPtr in) const
 Set the helicity matrix element for the decay.
 
void resetIntermediate (tcPDPtr part, Energy mass, Energy width)
 Reset the properities of all intermediates. More...
 
unsigned int numberModes () const
 Number of decay modes.
 
tDecayPhaseSpaceModePtr mode (unsigned int)
 Pointer to a mode.
 
tcDecayPhaseSpaceModePtr mode (unsigned int) const
 Pointer to a mode.
 
bool generateIntermediates () const
 Get whether or not the intermediates are included.
 
void generateIntermediates (bool in)
 Set whether or not the intermediates are included.
 
Energy initializePhaseSpaceMode (unsigned int imode, bool init, bool onShell=false) const
 Initialize the phase-space mode. More...
 
void hasOneLoopME (bool in)
 Whether or not the one loop matrix element is implemented.
 
void hasRealEmissionME (bool in)
 Whether or not the real emission matrix element is implemented.
 
- Protected Member Functions inherited from Herwig::HwDecayerBase
virtual void dofinish ()
 Finalize this object. More...
 
- 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 IBPtr clone () const=0
 
 InterfacedBase (string newName)
 
 InterfacedBase (const InterfacedBase &i)
 
virtual void readSetup (istream &is)
 
virtual void doupdate ()
 
virtual IVector getReferences ()
 
virtual void rebind (const TranslationMap &)
 
virtual void readSetup (istream &is)
 
virtual void doupdate ()
 
virtual IVector getReferences ()
 
virtual void rebind (const TranslationMap &)
 
- Protected Member Functions inherited from ThePEG::Pointer::ReferenceCounted
 ReferenceCounted (const ReferenceCounted &)
 
ReferenceCountedoperator= (const 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)
 

Private Member Functions

GeneralTwoBodyDecayeroperator= (const GeneralTwoBodyDecayer &)
 The assignment operator is private and must never be called. More...
 

Private Attributes

PDPtr _incoming
 Store the incoming particle.
 
vector< PDPtr_outgoing
 Outgoing particles.
 
VertexBasePtr vertex_
 Pointer to vertex.
 
VertexBasePtr incomingVertex_
 Pointer to vertex for radiation from the incoming particle.
 
vector< VertexBasePtr > outgoingVertices_
 Pointer to the vertices for radiation from the outgoing particles.
 
VertexBasePtr fourPointVertex_
 Pointer to vertex for radiation coming from 4 point vertex.
 
double _maxweight
 Maximum weight for integration.
 
Energy mb_
 Mass of decaying particle.
 
double e_
 Reduced mass of emitter child particle.
 
double s_
 Reduced mass of spectator child particle.
 
double e2_
 Reduced mass of emitter child particle squared.
 
double s2_
 Reduced mass of spectator child particle squared.
 
Energy pTmin_
 Minimum $p_T$.
 
Energy pT_
 Transverse momentum of the emission.
 
ShowerAlphaPtr coupling_
 Coupling for the generation of hard radiation.
 
vector< DVectorcolour_
 Store colour factors for ME calc.
 

Static Private Attributes

static AbstractClassDescription< GeneralTwoBodyDecayerinitGeneralTwoBodyDecayer
 The static object used to initialize the description of this class. More...
 

Functions used by inheriting decayers.

enum  dipoleType {
  FFa, FFc, IFa, IFc,
  IFba, IFbc
}
 Type of dipole.
 
VertexBasePtr getVertex () const
 Get vertex pointer. More...
 
VertexBasePtr getIncomingVertex () const
 Get vertex pointer. More...
 
vector< VertexBasePtr > getOutgoingVertices () const
 Get vertex pointer. More...
 
VertexBasePtr getFourPointVertex () const
 Get vertex pointer. More...
 
void setWeight (double wgt)
 Set integration weight. More...
 
void colourConnections (const Particle &parent, const ParticleVector &out) const
 Set colour connections. More...
 
double colourFactor (tcPDPtr in, tcPDPtr out1, tcPDPtr out2) const
 Compute the spin and colour factor.
 
double matrixElementRatio (const Particle &inpart, const ParticleVector &decay2, const ParticleVector &decay3, MEOption meopt)
 Calculate matrix element ratio R/B.
 
bool calcMomenta (int j, Energy pT, double y, double phi, double &xg, double &xs, double &xe, double &xe_z, vector< Lorentz5Momentum > &particleMomenta)
 Calculate momenta of all the particles.
 
bool psCheck (const double xg, const double xs)
 Check the calculated momenta are physical.
 
vector< Lorentz5Momentum > hardMomenta (const PPtr &in, const PPtr &emitter, const PPtr &spectator, const vector< dipoleType > &dipoles, int i)
 Return the momenta including the hard emission.
 
InvEnergy2 calculateDipole (const dipoleType &dipoleId, const Particle &inpart, const ParticleVector &decay3, const dipoleType &emittingDipole)
 Return dipole corresponding to the dipoleType dipoleId.
 
double dipoleSpinFactor (const PPtr &emitter, double z)
 Return contribution to dipole that depends on the spin of the emitter.
 
bool identifyDipoles (vector< dipoleType > &dipoles, PPtr &aProgenitor, PPtr &bProgenitor, PPtr &cProgenitor) const
 Work out the type of process.
 
void getColourLines (RealEmissionProcessPtr real)
 Set up the colour lines.
 
double colourCoeff (const PDT::Colour emitter, const PDT::Colour spectator, const PDT::Colour other)
 Return the colour coefficient of the dipole.
 
ShowerAlphaPtr coupling ()
 Coupling for the generation of hard radiation.
 
typedef vector< pair< int, double > > CFlowPairVec
 Member for the generation of additional hard radiation. More...
 
typedef vector< CFlowPairVecCFlow
 
const vector< DVector > & getColourFactors (const Particle &inpart, const ParticleVector &decay, unsigned int &nflow)
 
const CFlow & colourFlows (const Particle &inpart, const ParticleVector &decay)
 

Additional Inherited Members

- 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)
 

Detailed Description

The GeneralTwoBodyDecayer class is designed to be the base class for 2 body decays for some general model.

It inherits from DecayIntegrator and implements the modeNumber() virtual function that is the same for all of the decays. A decayer for a specific spin configuration should inherit from this and implement the me2() and partialWidth() member functions. The colourConnections() member should be called from inside me2() in the inheriting decayer to set up the colour lines.

See also
The interfaces defined for GeneralTwoBodyDecayer.
DecayIntegrator

Definition at line 39 of file GeneralTwoBodyDecayer.h.

Member Typedef Documentation

◆ CFlowPairVec

typedef vector<pair<int,double > > Herwig::GeneralTwoBodyDecayer::CFlowPairVec
protected

Member for the generation of additional hard radiation.

Return the matrix of colour factors

Definition at line 315 of file GeneralTwoBodyDecayer.h.

◆ PMPair

A ParticleData ptr and (possible) mass pair.

Definition at line 44 of file GeneralTwoBodyDecayer.h.

Member Function Documentation

◆ brat()

virtual double Herwig::GeneralTwoBodyDecayer::brat ( const DecayMode dm,
const Particle p,
double  oldbrat 
) const
virtual

An overidden member to calculate a branching ratio for a certain particle instance.

Parameters
dmThe DecayMode of the particle
pThe particle object
oldbratThe branching fraction given in the DecayMode object

Reimplemented from ThePEG::Decayer.

◆ colourConnections()

void Herwig::GeneralTwoBodyDecayer::colourConnections ( const Particle parent,
const ParticleVector out 
) const
protected

Set colour connections.

Parameters
parentParent particle
outParticle vector containing particles to connect colour lines

◆ decay()

virtual ParticleVector Herwig::GeneralTwoBodyDecayer::decay ( const Particle parent,
const tPDVector children 
) const
virtual

For a given decay mode and a given particle instance, perform the decay and return the decay products.

As this is the base class this is not implemented.

Returns
The vector of particles produced in the decay.

Reimplemented from Herwig::DecayIntegrator.

◆ doinit()

virtual void Herwig::GeneralTwoBodyDecayer::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::InterfacedBase.

Reimplemented in Herwig::VFFDecayer, Herwig::SFFDecayer, Herwig::SSSDecayer, Herwig::VSSDecayer, Herwig::FFVDecayer, Herwig::SSVDecayer, Herwig::FFSDecayer, Herwig::TFFDecayer, Herwig::TVVDecayer, Herwig::SVVDecayer, Herwig::FRVDecayer, Herwig::TSSDecayer, Herwig::FRSDecayer, Herwig::SRFDecayer, Herwig::VVVDecayer, and Herwig::VVSDecayer.

◆ doinitrun()

virtual void Herwig::GeneralTwoBodyDecayer::doinitrun ( )
protectedvirtual

Initialize this object.

Called in the run phase just before a run begins.

Reimplemented from Herwig::DecayIntegrator.

Reimplemented in Herwig::SVVDecayer.

◆ getFourPointVertex()

VertexBasePtr Herwig::GeneralTwoBodyDecayer::getFourPointVertex ( ) const
inlineprotected

Get vertex pointer.

Returns
a pointer to the vertex for QCD radiation from 4 point vertex

Definition at line 171 of file GeneralTwoBodyDecayer.h.

◆ getIncomingVertex()

VertexBasePtr Herwig::GeneralTwoBodyDecayer::getIncomingVertex ( ) const
inlineprotected

Get vertex pointer.

Returns
a pointer to the vertex for QCD radiation off the decaying particle

Definition at line 159 of file GeneralTwoBodyDecayer.h.

◆ getOutgoingVertices()

vector<VertexBasePtr> Herwig::GeneralTwoBodyDecayer::getOutgoingVertices ( ) const
inlineprotected

Get vertex pointer.

Returns
a pointer to the vertex for QCD radiation off the decay products

Definition at line 165 of file GeneralTwoBodyDecayer.h.

◆ getVertex()

VertexBasePtr Herwig::GeneralTwoBodyDecayer::getVertex ( ) const
inlineprotected

Get vertex pointer.

Returns
a pointer to the vertex

Definition at line 153 of file GeneralTwoBodyDecayer.h.

◆ Init()

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

◆ me2()

virtual double Herwig::GeneralTwoBodyDecayer::me2 ( const int  ,
const Particle part,
const ParticleVector decay,
MEOption  meopt 
) const
pure virtual

Return the matrix element squared for a given mode and phase-space channel.

Parameters
ichanThe channel we are calculating the matrix element for.
partThe decaying Particle.
decayThe particles produced in the decay.
meoptOption for the calculation of the matrix element
Returns
The matrix element squared for the phase-space configuration.

Implements Herwig::DecayIntegrator.

Implemented in Herwig::SVVDecayer, Herwig::FFSDecayer, Herwig::FFVDecayer, Herwig::VFFDecayer, Herwig::FRVDecayer, Herwig::SFFDecayer, Herwig::SSVDecayer, Herwig::TFFDecayer, Herwig::TSSDecayer, Herwig::TVVDecayer, Herwig::VSSDecayer, Herwig::SSSDecayer, Herwig::FRSDecayer, Herwig::SRFDecayer, Herwig::VVVDecayer, and Herwig::VVSDecayer.

◆ modeNumber()

virtual int Herwig::GeneralTwoBodyDecayer::modeNumber ( bool &  cc,
tcPDPtr  parent,
const tPDVector children 
) const
virtual

Which of the possible decays is required.

Parameters
ccIs this mode the charge conjugate
parentThe decaying particle
childrenThe decay products

Implements Herwig::DecayIntegrator.

◆ operator=()

GeneralTwoBodyDecayer& Herwig::GeneralTwoBodyDecayer::operator= ( const GeneralTwoBodyDecayer )
private

The assignment operator is private and must never be called.

In fact, it should not even be implemented.

◆ partialWidth()

virtual Energy Herwig::GeneralTwoBodyDecayer::partialWidth ( PMPair  inpart,
PMPair  outa,
PMPair  outb 
) const
virtual

◆ persistentInput()

void Herwig::GeneralTwoBodyDecayer::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::GeneralTwoBodyDecayer::persistentOutput ( PersistentOStream os) const

Function used to write out object persistently.

Parameters
osthe persistent output stream written to.

◆ setWeight()

void Herwig::GeneralTwoBodyDecayer::setWeight ( double  wgt)
inlineprotected

Set integration weight.

Parameters
wgtMaximum integration weight

Definition at line 178 of file GeneralTwoBodyDecayer.h.

◆ twoBodyMEcode()

virtual bool Herwig::GeneralTwoBodyDecayer::twoBodyMEcode ( const DecayMode dm,
int &  mecode,
double &  coupling 
) const
virtual

Specify the $1\to2$ matrix element to be used in the running width calculation.

Parameters
dmThe DecayMode
mecodeThe code for the matrix element as described in the GenericWidthGenerator class.
couplingThe coupling for the matrix element.
Returns
True if the the order of the particles in the decayer is the same as the DecayMode tag.

Reimplemented from Herwig::DecayIntegrator.

Member Data Documentation

◆ initGeneralTwoBodyDecayer

AbstractClassDescription<GeneralTwoBodyDecayer> Herwig::GeneralTwoBodyDecayer::initGeneralTwoBodyDecayer
staticprivate

The static object used to initialize the description of this class.

Indicates that this is an abstract class with persistent data.

Definition at line 333 of file GeneralTwoBodyDecayer.h.


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