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

This is the base class for NBodyDecayConstructors. More...

#include <NBodyDecayConstructorBase.h>

Inheritance diagram for Herwig::NBodyDecayConstructorBase:

Classes

struct  MassOrdering
 

Public Member Functions

 NBodyDecayConstructorBase ()
 The default constructor.
 
virtual void DecayList (const set< PDPtr, MassOrdering > &particles)
 Function used to determine allowed decaymodes, to be implemented in derived class.
 
virtual unsigned int numBodies () const =0
 Number of outgoing lines.
 
void decayConstructor (tDecayConstructorPtr d)
 Set the pointer to the DecayConstrcutor.
 
bool removeFlavourChangingVertices () const
 Remove flavour changing vertices ?
 
bool removeSmallVertices () const
 Remove small vertices ?
 
double minVertexNorm () const
 Minimum norm for vertex removal.
 
- 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
 

Protected Member Functions

virtual void createDecayMode (vector< NBDiagram > &mode, bool possibleOnShell, double symfac)
 Method to set up the decay mode, should be overidden in inheriting class.
 
void setBranchingRatio (tDMPtr dm, Energy pwidth)
 Set the branching ratio of this mode.
 
void setDecayerInterfaces (string name) const
 Set the interfaces of the decayers depending on the flags stored.
 
bool initialize () const
 Whether to initialize decayers or not.
 
int iteration () const
 Number of iterations if initializing (default 1)
 
int points () const
 Number of points to do in initialization.
 
bool info () const
 Whether to output information on the decayers.
 
bool createDecayModes () const
 Whether to create the DecayModes as well as the Decayer objects.
 
unsigned int maximumGaugeBosons () const
 Maximum number of electroweak gauge bosons.
 
unsigned int maximumList () const
 Maximum number of particles from the list whose decays we are calculating.
 
double minimumReleaseFraction () const
 Minimum energy release fraction.
 
tDecayConstructorPtr decayConstructor () const
 Get the pointer to the DecayConstructor object.
 
unsigned int removeOnShell () const
 Option for on-shell particles.
 
bool excluded (VertexBasePtr vertex) const
 Check if a vertex is excluded.
 
- 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.

bool init_
 Whether to initialize decayers or not.
 
int iteration_
 Number of iterations if initializing (default 1)
 
int points_
 Number of points to do in initialization.
 
bool info_
 Whether to output information on the decayers.
 
bool createModes_
 Whether to create the DecayModes as well as the Decayer objects.
 
unsigned int removeOnShell_
 Whether or not to remove on-shell diagrams.
 
vector< VertexBasePtr > excludedVerticesVector_
 Excluded Vertices.
 
set< VertexBasePtr > excludedVerticesSet_
 Excluded Vertices.
 
vector< PDPtrexcludedParticlesVector_
 Excluded Particles.
 
set< PDPtrexcludedParticlesSet_
 Excluded Particles.
 
bool excludeEffective_
 Whether or not to exclude effective vertices.
 
tDecayConstructorPtr decayConstructor_
 A pointer to the DecayConstructor object.
 
double minReleaseFraction_
 The minimum energy release for a three-body decay as a fraction of the parent mass.
 
unsigned int maxBoson_
 Maximum number of EW gauge bosons.
 
unsigned int maxList_
 Maximum number of particles from the decaying particle list.
 
bool includeTopOnShell_
 Include on-shell for \(t\to b W\).
 
bool removeFlavourChangingVertices_
 Remove flavour changing vertices ?
 
bool removeSmallVertices_
 Remove small vertices ?
 
double minVertexNorm_
 Minimum norm for vertex removal.
 
virtual void doinit ()
 Initialize this object after the setup phase before saving an EventGenerator to disk.
 
NBodyDecayConstructorBaseoperator= (const NBodyDecayConstructorBase &)=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 ThePEG::InterfacedBase
enum  InitState
 
- Public Types inherited from ThePEG::Pointer::ReferenceCounted
typedef unsigned int CounterType
 
- 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)
 

Detailed Description

This is the base class for NBodyDecayConstructors.

An N-body decay constructor should inherit from this and implement the DecayList virtual funtcion to create the decays and decayers.

See also
The interfaces defined for NBodyDecayConstructor.

Definition at line 34 of file NBodyDecayConstructorBase.h.

Constructor & Destructor Documentation

◆ NBodyDecayConstructorBase()

Herwig::NBodyDecayConstructorBase::NBodyDecayConstructorBase ( )
inline

The default constructor.

Definition at line 49 of file NBodyDecayConstructorBase.h.

Member Function Documentation

◆ createDecayMode()

virtual void Herwig::NBodyDecayConstructorBase::createDecayMode ( vector< NBDiagram > &  mode,
bool  possibleOnShell,
double  symfac 
)
protectedvirtual

Method to set up the decay mode, should be overidden in inheriting class.

Reimplemented in Herwig::FourBodyDecayConstructor, and Herwig::ThreeBodyDecayConstructor.

◆ createDecayModes()

bool Herwig::NBodyDecayConstructorBase::createDecayModes ( ) const
inlineprotected

Whether to create the DecayModes as well as the Decayer objects.

Definition at line 147 of file NBodyDecayConstructorBase.h.

References createModes_.

◆ decayConstructor() [1/2]

tDecayConstructorPtr Herwig::NBodyDecayConstructorBase::decayConstructor ( ) const
inlineprotected

Get the pointer to the DecayConstructor object.

Definition at line 167 of file NBodyDecayConstructorBase.h.

References decayConstructor_.

◆ decayConstructor() [2/2]

void Herwig::NBodyDecayConstructorBase::decayConstructor ( tDecayConstructorPtr  d)
inline

Set the pointer to the DecayConstrcutor.

Definition at line 73 of file NBodyDecayConstructorBase.h.

References decayConstructor_.

◆ DecayList()

virtual void Herwig::NBodyDecayConstructorBase::DecayList ( const set< PDPtr, MassOrdering > &  particles)
virtual

Function used to determine allowed decaymodes, to be implemented in derived class.

Parameters
particlesvector of ParticleData pointers containing particles in model

Reimplemented in Herwig::ThreeBodyDecayConstructor, Herwig::VectorCurrentDecayConstructor, Herwig::WeakCurrentDecayConstructor, Herwig::FourBodyDecayConstructor, and Herwig::TwoBodyDecayConstructor.

◆ doinit()

virtual void Herwig::NBodyDecayConstructorBase::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::VectorCurrentDecayConstructor, and Herwig::WeakCurrentDecayConstructor.

◆ excluded()

bool Herwig::NBodyDecayConstructorBase::excluded ( VertexBasePtr  vertex) const
inlineprotected

Check if a vertex is excluded.

Definition at line 179 of file NBodyDecayConstructorBase.h.

References excludedVerticesSet_, and excludeEffective_.

◆ info()

bool Herwig::NBodyDecayConstructorBase::info ( ) const
inlineprotected

Whether to output information on the decayers.

Definition at line 142 of file NBodyDecayConstructorBase.h.

References info_.

◆ Init()

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

◆ initialize()

bool Herwig::NBodyDecayConstructorBase::initialize ( ) const
inlineprotected

Whether to initialize decayers or not.

Definition at line 127 of file NBodyDecayConstructorBase.h.

References init_.

◆ iteration()

int Herwig::NBodyDecayConstructorBase::iteration ( ) const
inlineprotected

Number of iterations if initializing (default 1)

Definition at line 132 of file NBodyDecayConstructorBase.h.

References iteration_.

◆ maximumGaugeBosons()

unsigned int Herwig::NBodyDecayConstructorBase::maximumGaugeBosons ( ) const
inlineprotected

Maximum number of electroweak gauge bosons.

Definition at line 152 of file NBodyDecayConstructorBase.h.

References maxBoson_.

◆ maximumList()

unsigned int Herwig::NBodyDecayConstructorBase::maximumList ( ) const
inlineprotected

Maximum number of particles from the list whose decays we are calculating.

Definition at line 157 of file NBodyDecayConstructorBase.h.

References maxList_.

◆ minimumReleaseFraction()

double Herwig::NBodyDecayConstructorBase::minimumReleaseFraction ( ) const
inlineprotected

Minimum energy release fraction.

Definition at line 162 of file NBodyDecayConstructorBase.h.

References minReleaseFraction_.

◆ minVertexNorm()

double Herwig::NBodyDecayConstructorBase::minVertexNorm ( ) const
inline

Minimum norm for vertex removal.

Definition at line 94 of file NBodyDecayConstructorBase.h.

References minVertexNorm_.

◆ numBodies()

virtual unsigned int Herwig::NBodyDecayConstructorBase::numBodies ( ) const
pure virtual

◆ operator=()

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

The assignment operator is private and must never be called.

In fact, it should not even be implemented.

◆ persistentInput()

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

Function used to write out object persistently.

Parameters
osthe persistent output stream written to.

◆ points()

int Herwig::NBodyDecayConstructorBase::points ( ) const
inlineprotected

Number of points to do in initialization.

Definition at line 137 of file NBodyDecayConstructorBase.h.

References points_.

◆ removeFlavourChangingVertices()

bool Herwig::NBodyDecayConstructorBase::removeFlavourChangingVertices ( ) const
inline

Remove flavour changing vertices ?

Definition at line 80 of file NBodyDecayConstructorBase.h.

References removeFlavourChangingVertices_.

◆ removeOnShell()

unsigned int Herwig::NBodyDecayConstructorBase::removeOnShell ( ) const
inlineprotected

Option for on-shell particles.

Definition at line 174 of file NBodyDecayConstructorBase.h.

References removeOnShell_.

◆ removeSmallVertices()

bool Herwig::NBodyDecayConstructorBase::removeSmallVertices ( ) const
inline

Remove small vertices ?

Definition at line 87 of file NBodyDecayConstructorBase.h.

References removeSmallVertices_.

◆ setBranchingRatio()

void Herwig::NBodyDecayConstructorBase::setBranchingRatio ( tDMPtr  dm,
Energy  pwidth 
)
protected

Set the branching ratio of this mode.

This requires calculating a new width for the decaying particle and reweighting the current branching fractions.

Parameters
dmThe decaymode for which to set the branching ratio
pwidthThe calculated width of the mode

◆ setDecayerInterfaces()

void Herwig::NBodyDecayConstructorBase::setDecayerInterfaces ( string  name) const
protected

Set the interfaces of the decayers depending on the flags stored.

Parameters
nameFullname of the decayer in the EventGenerator including the path

Member Data Documentation

◆ createModes_

bool Herwig::NBodyDecayConstructorBase::createModes_
private

Whether to create the DecayModes as well as the Decayer objects.

Definition at line 259 of file NBodyDecayConstructorBase.h.

Referenced by createDecayModes().

◆ decayConstructor_

tDecayConstructorPtr Herwig::NBodyDecayConstructorBase::decayConstructor_
private

A pointer to the DecayConstructor object.

Definition at line 294 of file NBodyDecayConstructorBase.h.

Referenced by decayConstructor().

◆ excludedParticlesSet_

set<PDPtr> Herwig::NBodyDecayConstructorBase::excludedParticlesSet_
private

Excluded Particles.

Definition at line 284 of file NBodyDecayConstructorBase.h.

◆ excludedParticlesVector_

vector<PDPtr> Herwig::NBodyDecayConstructorBase::excludedParticlesVector_
private

Excluded Particles.

Definition at line 279 of file NBodyDecayConstructorBase.h.

◆ excludedVerticesSet_

set<VertexBasePtr> Herwig::NBodyDecayConstructorBase::excludedVerticesSet_
private

Excluded Vertices.

Definition at line 274 of file NBodyDecayConstructorBase.h.

Referenced by excluded().

◆ excludedVerticesVector_

vector<VertexBasePtr> Herwig::NBodyDecayConstructorBase::excludedVerticesVector_
private

Excluded Vertices.

Definition at line 269 of file NBodyDecayConstructorBase.h.

◆ excludeEffective_

bool Herwig::NBodyDecayConstructorBase::excludeEffective_
private

Whether or not to exclude effective vertices.

Definition at line 289 of file NBodyDecayConstructorBase.h.

Referenced by excluded().

◆ includeTopOnShell_

bool Herwig::NBodyDecayConstructorBase::includeTopOnShell_
private

Include on-shell for \(t\to b W\).

Definition at line 315 of file NBodyDecayConstructorBase.h.

◆ info_

bool Herwig::NBodyDecayConstructorBase::info_
private

Whether to output information on the decayers.

Definition at line 254 of file NBodyDecayConstructorBase.h.

Referenced by info().

◆ init_

bool Herwig::NBodyDecayConstructorBase::init_
private

Whether to initialize decayers or not.

Definition at line 239 of file NBodyDecayConstructorBase.h.

Referenced by initialize().

◆ iteration_

int Herwig::NBodyDecayConstructorBase::iteration_
private

Number of iterations if initializing (default 1)

Definition at line 244 of file NBodyDecayConstructorBase.h.

Referenced by iteration().

◆ maxBoson_

unsigned int Herwig::NBodyDecayConstructorBase::maxBoson_
private

Maximum number of EW gauge bosons.

Definition at line 305 of file NBodyDecayConstructorBase.h.

Referenced by maximumGaugeBosons().

◆ maxList_

unsigned int Herwig::NBodyDecayConstructorBase::maxList_
private

Maximum number of particles from the decaying particle list.

Definition at line 310 of file NBodyDecayConstructorBase.h.

Referenced by maximumList().

◆ minReleaseFraction_

double Herwig::NBodyDecayConstructorBase::minReleaseFraction_
private

The minimum energy release for a three-body decay as a fraction of the parent mass.

Definition at line 300 of file NBodyDecayConstructorBase.h.

Referenced by minimumReleaseFraction().

◆ minVertexNorm_

double Herwig::NBodyDecayConstructorBase::minVertexNorm_
private

Minimum norm for vertex removal.

Definition at line 330 of file NBodyDecayConstructorBase.h.

Referenced by minVertexNorm().

◆ points_

int Herwig::NBodyDecayConstructorBase::points_
private

Number of points to do in initialization.

Definition at line 249 of file NBodyDecayConstructorBase.h.

Referenced by points().

◆ removeFlavourChangingVertices_

bool Herwig::NBodyDecayConstructorBase::removeFlavourChangingVertices_
private

Remove flavour changing vertices ?

Definition at line 320 of file NBodyDecayConstructorBase.h.

Referenced by removeFlavourChangingVertices().

◆ removeOnShell_

unsigned int Herwig::NBodyDecayConstructorBase::removeOnShell_
private

Whether or not to remove on-shell diagrams.

Definition at line 264 of file NBodyDecayConstructorBase.h.

Referenced by removeOnShell().

◆ removeSmallVertices_

bool Herwig::NBodyDecayConstructorBase::removeSmallVertices_
private

Remove small vertices ?

Definition at line 325 of file NBodyDecayConstructorBase.h.

Referenced by removeSmallVertices().


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