herwig is hosted by Hepforge, IPPP Durham
Herwig 7.3.0
Herwig::PartonicDecayerBase Class Referenceabstract

Here is the documentation of the PartonicDecayerBase class. More...

#include <PartonicDecayerBase.h>

Inheritance diagram for Herwig::PartonicDecayerBase:

Public Member Functions

 PartonicDecayerBase ()
 The default constructor.
 
- 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.
 
virtual POWHEGType hasPOWHEGCorrection ()
 Has a POWHEG style correction.
 
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 (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)
 Apply the POWHEG style correction.
 
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.
 
bool initialize () const
 Access to the initialize variable.
 
bool databaseOutput () const
 Access the database output variable.
 
- Public Member Functions inherited from ThePEG::Decayer
void persistentOutput (PersistentOStream &os) const
 
void persistentInput (PersistentIStream &is, int version)
 
virtual bool accept (const DecayMode &dm) const=0
 
virtual bool needsFullStep () const
 
virtual ParticleVector decay (const DecayMode &dm, const Particle &p) const=0
 
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
 
Ptr< Amplitude >::pointer amplitude () const
 
- 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
 

Standard Interfaced functions.

PartonSplitterPtr _partonSplitter
 This is a pointer to a Herwig::PartonSplitter object.
 
ClusterFinderPtr _clusterFinder
 This is a pointer to a Herwig::ClusterFinder object.
 
ClusterFissionerPtr _clusterFissioner
 This is a pointer to a Herwig::ClusterFissioner object.
 
LightClusterDecayerPtr _lightClusterDecayer
 This is a pointer to a Herwig::LightClusterDecayer object.
 
ClusterDecayerPtr _clusterDecayer
 This is a pointer to a Herwig::ClusterDecayer object.
 
bool _exclusive
 Switch to control hadrons produced in partonic b and c decays.
 
unsigned int _partontries
 Number of tries for partonic modes.
 
bool _inter
 Whether or not to include the intermediates.
 
bool _shower
 Wheher or not to perform the parton shower.
 
SplittingGeneratorPtr _splittingGenerator
 Pointer to the splitting generator.
 
PartnerFinderPtr _partnerFinder
 Pointer to the PartnerFinder object.
 
KinematicsReconstructorPtr _reconstructor
 Pointer to the KinematicsReconstructor object.
 
virtual void doinit ()
 Initialize this object after the setup phase before saving an EventGenerator to disk.
 
bool duplicateMode (const Particle &parent, const vector< tPPtr > &hadrons) const
 Check hadrons produced in a partonic hadron decay do not reproduce an inclusive mode.
 
PartonicDecayerBaseoperator= (const PartonicDecayerBase &)=delete
 The assignment operator is private and must never be called.
 

Virtual functions required by the Decayer class.

virtual bool accept (tcPDPtr parent, const tPDVector &children) const =0
 Check if this decayer can perfom the decay for a particular mode.
 
virtual ParticleVector decay (const Particle &parent, const tPDVector &children) const =0
 Perform the decay of the particle to the specified decay products.
 
virtual ParticleVector decay (const DecayMode &dm, const Particle &p) const
 Perform a decay for a given DecayMode and a given Particle instance.
 
virtual void dataBaseOutput (ofstream &os, bool header) const
 Output the setup information for the particle database.
 
PVector shower (const Particle &parent, ParticleVector &partons) const
 Perform the parton shower.
 
bool timeLikeShower (tShowerParticlePtr particle, Branching fb, bool first, PVector &output) const
 

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::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
 
- Static Public Member Functions inherited from Herwig::HwDecayerBase
static void Init ()
 The standard Init function used to initialize the interfaces.
 
- Static Public Member Functions inherited from ThePEG::Decayer
static void Init ()
 
static ParticleVector DecayParticle (tPPtr parent, Step &step, long maxtry=1000)
 
- 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
 
- Protected Member Functions inherited from Herwig::HwDecayerBase
virtual void dofinish ()
 Finalize this object.
 
void fixRho (RhoDMatrix &) const
 Set rho to be diagonal if no correlations.
 
- 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)
 
- Static Protected Member Functions inherited from ThePEG::Interfaced
static void registerRepository (IBPtr)
 
static void registerRepository (IBPtr, string newName)
 

Detailed Description

Here is the documentation of the PartonicDecayerBase class.

See also
The interfaces defined for PartonicDecayerBase.

Definition at line 41 of file PartonicDecayerBase.h.

Member Function Documentation

◆ accept()

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

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

Parameters
parentThe decaying particle
childrenThe decay products
Returns
true If this decayer can handle the given mode, otherwise false.

Implements Herwig::HwDecayerBase.

Implemented in Herwig::BtoSGammaDecayer, Herwig::HeavyDecayer, Herwig::QuarkoniumDecayer, and Herwig::WeakPartonicDecayer.

◆ dataBaseOutput()

virtual void Herwig::PartonicDecayerBase::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

Implements Herwig::HwDecayerBase.

Reimplemented in Herwig::BtoSGammaDecayer, Herwig::HeavyDecayer, Herwig::QuarkoniumDecayer, and Herwig::WeakPartonicDecayer.

◆ decay() [1/2]

virtual ParticleVector Herwig::PartonicDecayerBase::decay ( const DecayMode dm,
const Particle p 
) const
virtual

Perform a decay for a given DecayMode and a given Particle instance.

Parameters
dmthe DecayMode describing the decay.
pthe Particle instance to be decayed.
Returns
a ParticleVector containing the decay products.

Reimplemented from Herwig::HwDecayerBase.

◆ decay() [2/2]

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

Perform the decay of the particle to the specified decay products.

Parameters
parentThe decaying particle
childrenThe decay products
Returns
a ParticleVector containing the decay products.

Implements Herwig::HwDecayerBase.

Implemented in Herwig::BtoSGammaDecayer, Herwig::HeavyDecayer, Herwig::QuarkoniumDecayer, and Herwig::WeakPartonicDecayer.

◆ doinit()

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

◆ duplicateMode()

bool Herwig::PartonicDecayerBase::duplicateMode ( const Particle parent,
const vector< tPPtr > &  hadrons 
) const
protected

Check hadrons produced in a partonic hadron decay do not reproduce an inclusive mode.

Parameters
parentThe decaying particles.
hadronsThe hadrons produced in the partonic decay.
Returns
Whether or not there are duplicate modes.

◆ Init()

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

◆ operator=()

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

The assignment operator is private and must never be called.

In fact, it should not even be implemented.

◆ persistentInput()

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

Function used to write out object persistently.

Parameters
osthe persistent output stream written to.

Member Data Documentation

◆ _clusterDecayer

ClusterDecayerPtr Herwig::PartonicDecayerBase::_clusterDecayer
private

This is a pointer to a Herwig::ClusterDecayer object.

Definition at line 178 of file PartonicDecayerBase.h.

◆ _clusterFinder

ClusterFinderPtr Herwig::PartonicDecayerBase::_clusterFinder
private

This is a pointer to a Herwig::ClusterFinder object.

Definition at line 163 of file PartonicDecayerBase.h.

◆ _clusterFissioner

ClusterFissionerPtr Herwig::PartonicDecayerBase::_clusterFissioner
private

This is a pointer to a Herwig::ClusterFissioner object.

Definition at line 168 of file PartonicDecayerBase.h.

◆ _exclusive

bool Herwig::PartonicDecayerBase::_exclusive
private

Switch to control hadrons produced in partonic b and c decays.

Definition at line 183 of file PartonicDecayerBase.h.

◆ _inter

bool Herwig::PartonicDecayerBase::_inter
private

Whether or not to include the intermediates.

Definition at line 193 of file PartonicDecayerBase.h.

◆ _lightClusterDecayer

LightClusterDecayerPtr Herwig::PartonicDecayerBase::_lightClusterDecayer
private

This is a pointer to a Herwig::LightClusterDecayer object.

Definition at line 173 of file PartonicDecayerBase.h.

◆ _partnerFinder

PartnerFinderPtr Herwig::PartonicDecayerBase::_partnerFinder
private

Pointer to the PartnerFinder object.

Definition at line 210 of file PartonicDecayerBase.h.

◆ _partonSplitter

PartonSplitterPtr Herwig::PartonicDecayerBase::_partonSplitter
private

This is a pointer to a Herwig::PartonSplitter object.

Definition at line 158 of file PartonicDecayerBase.h.

◆ _partontries

unsigned int Herwig::PartonicDecayerBase::_partontries
private

Number of tries for partonic modes.

Definition at line 188 of file PartonicDecayerBase.h.

◆ _reconstructor

KinematicsReconstructorPtr Herwig::PartonicDecayerBase::_reconstructor
private

Pointer to the KinematicsReconstructor object.

Definition at line 215 of file PartonicDecayerBase.h.

◆ _shower

bool Herwig::PartonicDecayerBase::_shower
private

Wheher or not to perform the parton shower.

Definition at line 200 of file PartonicDecayerBase.h.

◆ _splittingGenerator

SplittingGeneratorPtr Herwig::PartonicDecayerBase::_splittingGenerator
private

Pointer to the splitting generator.

Definition at line 205 of file PartonicDecayerBase.h.


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