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

Storage of a potenital n-body decay. More...

#include <PrototypeVertex.h>

Inheritance diagram for Herwig::PrototypeVertex:

Public Member Functions

 PrototypeVertex ()
 Default Constructor.
 
 PrototypeVertex (tPDPtr in, OrderedVertices out, VertexBasePtr v, int n)
 Constructor.
 
void incrementN (int in)
 Increment the number of particles.
 
Energy incomingMass ()
 Mass of the incoming particle.
 
Energy outgoingMass ()
 Total mass of all the outgoing particles.
 
Energy outgoingConstituentMass ()
 Total constituent mass of all the outgoing particles.
 
bool checkExternal (bool first=true)
 Check the external particles.
 
void setOutgoing () const
 Set the outgoing particles.
 
bool canBeOnShell (unsigned int opt, Energy maxMass, bool first)
 Are there potential on-shell intermediates?
 
bool sameDecay (const PrototypeVertex &x) const
 Check if same external particles.
 
- 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
 

Static Public Member Functions

static void createPrototypes (tPDPtr inpart, VertexBasePtr vertex, std::stack< PrototypeVertexPtr > &prototypes, NBodyDecayConstructorBasePtr decayCon)
 Create a \(1\to2\) prototype.
 
static void expandPrototypes (PrototypeVertexPtr proto, VertexBasePtr vertex, std::stack< PrototypeVertexPtr > &prototypes, const set< PDPtr > &excluded, NBodyDecayConstructorBasePtr decayCon)
 Expand the prototypes by adding more legs.
 
static PrototypeVertexPtr replicateTree (PrototypeVertexPtr parent, PrototypeVertexPtr oldChild, PrototypeVertexPtr &newChild)
 Copy the whole structure with a new branching.
 
- Static Public Member Functions inherited from ThePEG::Base
static void Init ()
 

Public Attributes

tPDPtr incoming
 Incoming particle.
 
OrderedVertices outgoing
 Outgoing particles.
 
VertexBasePtr vertex
 The vertex for the interaction.
 
tPrototypeVertexPtr parent
 The parent of the vertex.
 
unsigned int npart
 Number of particles.
 
OrderedParticles outPart
 Outgoing particles.
 
bool possibleOnShell
 Can have on-shell intermediates.
 
- Public Attributes inherited from ThePEG::Pointer::ReferenceCounted
const unsigned long uniqueId
 

Additional Inherited Members

- Public Types inherited from ThePEG::Pointer::ReferenceCounted
typedef unsigned int CounterType
 
- Protected Member Functions inherited from ThePEG::Pointer::ReferenceCounted
 ReferenceCounted (const ReferenceCounted &)
 
ReferenceCountedoperator= (const ReferenceCounted &)
 

Detailed Description

Storage of a potenital n-body decay.

Definition at line 75 of file PrototypeVertex.h.

Constructor & Destructor Documentation

◆ PrototypeVertex() [1/2]

Herwig::PrototypeVertex::PrototypeVertex ( )
inline

Default Constructor.

Definition at line 82 of file PrototypeVertex.h.

◆ PrototypeVertex() [2/2]

Herwig::PrototypeVertex::PrototypeVertex ( tPDPtr  in,
OrderedVertices  out,
VertexBasePtr  v,
int  n 
)
inline

Constructor.

Definition at line 87 of file PrototypeVertex.h.

References v.

Member Function Documentation

◆ checkExternal()

bool Herwig::PrototypeVertex::checkExternal ( bool  first = true)
inline

Check the external particles.

Definition at line 171 of file PrototypeVertex.h.

References incoming, outgoing, outPart, and setOutgoing().

◆ incomingMass()

Energy Herwig::PrototypeVertex::incomingMass ( )
inline

Mass of the incoming particle.

Definition at line 138 of file PrototypeVertex.h.

References incoming.

◆ incrementN()

void Herwig::PrototypeVertex::incrementN ( int  in)
inline

Increment the number of particles.

Definition at line 130 of file PrototypeVertex.h.

References npart, and parent.

◆ outgoingConstituentMass()

Energy Herwig::PrototypeVertex::outgoingConstituentMass ( )
inline

Total constituent mass of all the outgoing particles.

Definition at line 158 of file PrototypeVertex.h.

References outgoing, and ThePEG::ZERO.

◆ outgoingMass()

Energy Herwig::PrototypeVertex::outgoingMass ( )
inline

Total mass of all the outgoing particles.

Definition at line 145 of file PrototypeVertex.h.

References outgoing, and ThePEG::ZERO.

◆ setOutgoing()

void Herwig::PrototypeVertex::setOutgoing ( ) const
inline

Set the outgoing particles.

Definition at line 185 of file PrototypeVertex.h.

References outgoing, and outPart.

Referenced by checkExternal().

Member Data Documentation

◆ incoming

tPDPtr Herwig::PrototypeVertex::incoming

Incoming particle.

Definition at line 95 of file PrototypeVertex.h.

Referenced by checkExternal(), incomingMass(), Herwig::operator<<(), and Herwig::operator==().

◆ npart

unsigned int Herwig::PrototypeVertex::npart

Number of particles.

Definition at line 115 of file PrototypeVertex.h.

Referenced by incrementN(), Herwig::operator<<(), and Herwig::operator==().

◆ outgoing

OrderedVertices Herwig::PrototypeVertex::outgoing

◆ outPart

OrderedParticles Herwig::PrototypeVertex::outPart
mutable

Outgoing particles.

Definition at line 120 of file PrototypeVertex.h.

Referenced by checkExternal(), and setOutgoing().

◆ parent

tPrototypeVertexPtr Herwig::PrototypeVertex::parent

The parent of the vertex.

Definition at line 110 of file PrototypeVertex.h.

Referenced by incrementN().

◆ possibleOnShell

bool Herwig::PrototypeVertex::possibleOnShell

Can have on-shell intermediates.

Definition at line 125 of file PrototypeVertex.h.

◆ vertex

VertexBasePtr Herwig::PrototypeVertex::vertex

The vertex for the interaction.

Definition at line 105 of file PrototypeVertex.h.

Referenced by Herwig::operator<<(), and Herwig::operator==().


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