herwig is hosted by Hepforge, IPPP Durham
Herwig  7.2.1
Herwig::SMHiggsFermionsDecayer Class Reference

The SMHiggsFermionsDecayer class is designed to decay the Standard Model Higgs to the Standard Model fermions. More...

#include <SMHiggsFermionsDecayer.h>

Inheritance diagram for Herwig::SMHiggsFermionsDecayer:

Public Member Functions

 SMHiggsFermionsDecayer ()
 The default constructor.
 
virtual int modeNumber (bool &, tcPDPtr, const tPDVector &) const
 Which of the possible decays is required.
 
virtual bool accept (tcPDPtr parent, const tPDVector &children) const
 Check if this decayer can perfom the decay for a particular mode. More...
 
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 double me2 (const int ichan, const Particle &part, const ParticleVector &decay, MEOption meopt) const
 Return the matrix element squared for a given mode and phase-space channel. More...
 
virtual void dataBaseOutput (ofstream &os, bool header) const
 Output the setup information for the particle database. More...
 
virtual POWHEGType hasPOWHEGCorrection ()
 Has a POWHEG style correction.
 
virtual double matrixElementRatio (const Particle &inpart, const ParticleVector &decay2, const ParticleVector &decay3, MEOption meopt, ShowerInteraction inter)
 Calculate matrix element ratio R/B.
 
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::PerturbativeDecayer
 PerturbativeDecayer ()
 The default constructor.
 
virtual RealEmissionProcessPtr generateHardest (RealEmissionProcessPtr)
 Member to generate the hardest emission in the POWHEG scheme.
 
virtual RealEmissionProcessPtr applyHardMatrixElementCorrection (RealEmissionProcessPtr)
 Apply the hard matrix element correction to a given hard process or decay.
 
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.
 
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 bool twoBodyMEcode (const DecayMode &, int &mecode, double &coupling) const
 Specify the $1\to2$ matrix element to be used in the running width calculation. More...
 
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...
 
Energy epsilonPS () const
 Access to the epsilon parameter.
 
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 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. 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 double brat (const DecayMode &dm, const Particle &p, 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 double brat (const DecayMode &dm, const Particle &p, 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 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())
 
 Named (const Named &)=default
 
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::PerturbativeDecayer
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

double calculateLambda (double x, double y, double z) const
 Calcluate the Kallen function.
 
InvEnergy2 dipoleSubtractionTerm (double x1, double x2) const
 Dipole subtraction term.
 
InvEnergy2 calculateRealEmission (double x1, double x2) const
 Real emission term.
 
double calculateVirtualTerm () const
 Virtual term.
 
double calculateNonSingletTerm (double beta, double L) const
 Non-singlet term.
 
Clone Methods.
virtual IBPtr clone () const
 Make a simple clone of this object. More...
 
virtual IBPtr fullclone () const
 Make a clone of this object, possibly modifying the cloned object to make it sane. More...
 
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::PerturbativeDecayer
bool identifyDipoles (vector< DipoleType > &dipoles, PPtr &aProgenitor, PPtr &bProgenitor, PPtr &cProgenitor, ShowerInteraction inter) const
 Work out the type of process.
 
ShowerAlphaPtr alphaS ()
 Coupling for the generation of hard QCD radiation.
 
ShowerAlphaPtr alphaEM ()
 Coupling for the generation of hard QED radiation.
 
vector< Lorentz5Momentum > hardMomenta (PPtr in, PPtr emitter, PPtr spectator, const vector< DipoleType > &dipoles, int i, bool inDeadZone)
 Return the momenta including the hard emission.
 
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.
 
pair< double, double > calculateDipole (const DipoleType &dipoleId, const Particle &inpart, const ParticleVector &decay3)
 Return dipole corresponding to the DipoleType dipoleId.
 
double dipoleSpinFactor (tcPDPtr emitter, double z)
 Return contribution to dipole that depends on the spin of the emitter.
 
double colourCoeff (tcPDPtr emitter, tcPDPtr spectator, tcPDPtr other, DipoleType dipole)
 Return the colour coefficient of the dipole.
 
void getColourLines (RealEmissionProcessPtr real)
 Set up the colour lines.
 
RealEmissionProcessPtr getHardEvent (RealEmissionProcessPtr born, bool inDeadZone, ShowerInteraction inter)
 Generate a hard emission.
 
bool inTotalDeadZone (double xg, double xs, const vector< DipoleType > &dipoles, int i)
 Is the $x_g,x_s$ point in the dead-zone for all the dipoles.
 
phaseSpaceRegion inInitialFinalDeadZone (double xg, double xa, double a, double c) const
 Is the $x_g,x_a$ point in the dead-zone for an initial-final colour connection.
 
phaseSpaceRegion inFinalFinalDeadZone (double xb, double xc, double b, double c) const
 Is the $x_b,x_c$ point in the dead-zone for a final-final colour connection.
 
bool useMEforT2 () const
 For me corrections use the shower or me for the T2 region.
 
const Energy & pT () const
 Access to the kinematics for inheriting classes. More...
 
const Energy & mb () const
 Mass of decaying particle.
 
const double & e () const
 Reduced mass of emitter child particle.
 
const double & s () const
 Reduced mass of spectator child particle.
 
const double & e2 () const
 Reduced mass of emitter child particle squared.
 
const double & s2 () const
 Reduced mass of spectator child particle squared.
 
- 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.
 
void epsilonPS (Energy in)
 Set the epsilon parameter.
 
void clearModes ()
 Clear the models.
 
- Protected Member Functions inherited from Herwig::HwDecayerBase
void fixRho (RhoDMatrix &) const
 Set rho to be diagonal if no correlations.
 
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
 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

SMHiggsFermionsDecayeroperator= (const SMHiggsFermionsDecayer &)=delete
 The assignment operator is private and must never be called. More...
 

Private Attributes

AbstractFFSVertexPtr _hvertex
 Pointer to the Higgs vertex.
 
vector< double > _maxwgt
 maximum weights for the different decay modes
 
RhoDMatrix _rho
 Spin density matrix.
 
ScalarWaveFunction _swave
 Scalar wavefunction.
 
vector< SpinorWaveFunction_wave
 Spinor wavefunction.
 
vector< SpinorBarWaveFunction_wavebar
 Barred spinor wavefunction.
 
double CF_
 The colour factor.
 
Energy mHiggs_
 The Higgs mass.
 
double mu_
 The reduced mass.
 
double mu2_
 The square of the reduced mass.
 
double aS_
 The strong coupling.
 
bool NLO_
 LO or NLO ?
 
vector< tcPDPtrpartons_
 Stuff for the POWHEG correction. More...
 
vector< Lorentz5Momentum > quark_
 The fermion momenta.
 
Lorentz5Momentum gauge_
 The momentum of the radiated gauge boson.
 
PPtr higgs_
 The Higgs boson.
 
Energy2 mh2_
 Higgs mass squared.
 

Additional Inherited Members

- 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 Attributes inherited from ThePEG::InterfacedBase
 initializing
 
 uninitialized
 
 initialized
 
 runready
 
- Public Attributes inherited from ThePEG::Pointer::ReferenceCounted
const unsigned long uniqueId
 
- Protected Types inherited from Herwig::PerturbativeDecayer
enum  dipoleType {
  FFa, FFc, IFa, IFc,
  IFba, IFbc, FFg
}
 Type of dipole.
 
enum  phaseSpaceRegion {
  emissionFromB, emissionFromC, emissionFromA1, emissionFromA2,
  deadZone
}
 Phase-space region for an emission (assumes $a\to b,c$.
 
- Static Protected Member Functions inherited from ThePEG::Interfaced
static void registerRepository (IBPtr)
 
static void registerRepository (IBPtr, string newName)
 

Detailed Description

The SMHiggsFermionsDecayer class is designed to decay the Standard Model Higgs to the Standard Model fermions.

See also
PerturbativeDecayer

Definition at line 28 of file SMHiggsFermionsDecayer.h.

Member Function Documentation

◆ accept()

virtual bool Herwig::SMHiggsFermionsDecayer::accept ( tcPDPtr  parent,
const tPDVector children 
) const
virtual

Check if this decayer can perfom the decay for a particular mode.

Uses the modeNumber member but can be overridden

Parameters
parentThe decaying particle
childrenThe decay products

Reimplemented from Herwig::DecayIntegrator.

◆ clone()

virtual IBPtr Herwig::SMHiggsFermionsDecayer::clone ( ) const
inlineprotectedvirtual

Make a simple clone of this object.

Returns
a pointer to the new object.

Implements ThePEG::InterfacedBase.

Definition at line 121 of file SMHiggsFermionsDecayer.h.

◆ dataBaseOutput()

virtual void Herwig::SMHiggsFermionsDecayer::dataBaseOutput ( ofstream &  os,
bool  header 
) const
virtual

Output the setup information for the particle database.

Parameters
osThe stream to output the information to
headerWhether or not to output the information for MySQL

Reimplemented from Herwig::DecayIntegrator.

◆ decay()

virtual ParticleVector Herwig::SMHiggsFermionsDecayer::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::SMHiggsFermionsDecayer::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.

◆ doinitrun()

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

Initialize this object.

Called in the run phase just before a run begins.

Reimplemented from Herwig::DecayIntegrator.

◆ fullclone()

virtual IBPtr Herwig::SMHiggsFermionsDecayer::fullclone ( ) const
inlineprotectedvirtual

Make a clone of this object, possibly modifying the cloned object to make it sane.

Returns
a pointer to the new object.

Reimplemented from ThePEG::InterfacedBase.

Definition at line 127 of file SMHiggsFermionsDecayer.h.

◆ Init()

static void Herwig::SMHiggsFermionsDecayer::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::SMHiggsFermionsDecayer::me2 ( const int  ichan,
const Particle part,
const ParticleVector decay,
MEOption  meopt 
) const
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.

◆ operator=()

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

The assignment operator is private and must never be called.

In fact, it should not even be implemented.

◆ persistentInput()

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

Function used to write out object persistently.

Parameters
osthe persistent output stream written to.

Member Data Documentation

◆ partons_

vector<tcPDPtr> Herwig::SMHiggsFermionsDecayer::partons_
private

Stuff for the POWHEG correction.

The ParticleData objects for the fermions

Definition at line 248 of file SMHiggsFermionsDecayer.h.


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