Herwig 7.3.0
|
A node in internally used trees. More...
#include <Tree2toNGenerator.h>
Public Member Functions | |
Vertex () | |
The default constructor. | |
void | print (ostream &os, const string &prefix="") const |
Debug printout. | |
int | nspace () const |
Count the number of spacelike lines. | |
void | update (Tree2toNDiagram &diag, map< int, pair< int, PDPtr > > &outgoing, int &lastUsed) |
Update diagram returning a map of external ids to diagram id parents. | |
Tree2toNDiagram | generate (int id) |
Generate a diagram of given id. | |
Public Attributes | |
vector< Vertex > | children |
The outgoing particles. | |
PDPtr | parent |
The incoming line at this node. | |
bool | spacelike |
True, if this is spacelike node. | |
int | externalId |
The external leg id. | |
int | parentId |
The parent diagram id. | |
A node in internally used trees.
Definition at line 106 of file Tree2toNGenerator.h.
|
inline |
The default constructor.
Definition at line 138 of file Tree2toNGenerator.h.
|
inline |
Generate a diagram of given id.
Definition at line 220 of file Tree2toNGenerator.h.
References nspace(), and ThePEG::InterfacedBase::update().
|
inline |
Count the number of spacelike lines.
Definition at line 162 of file Tree2toNGenerator.h.
References children.
Referenced by generate().
|
inline |
Debug printout.
Definition at line 144 of file Tree2toNGenerator.h.
References children, externalId, parent, and spacelike.
|
inline |
Update diagram returning a map of external ids to diagram id parents.
Definition at line 174 of file Tree2toNGenerator.h.
References children, externalId, ThePEG::Helicity::outgoing, parent, parentId, and spacelike.
vector<Vertex> Herwig::Tree2toNGenerator::Vertex::children |
The outgoing particles.
If this is a spacelike node, the first child is considered the next spacelike (or second incoming) line. If children are empty, this is an external line.
Definition at line 113 of file Tree2toNGenerator.h.
int Herwig::Tree2toNGenerator::Vertex::externalId |
The external leg id.
Definition at line 128 of file Tree2toNGenerator.h.
PDPtr Herwig::Tree2toNGenerator::Vertex::parent |
The incoming line at this node.
Definition at line 118 of file Tree2toNGenerator.h.
int Herwig::Tree2toNGenerator::Vertex::parentId |
bool Herwig::Tree2toNGenerator::Vertex::spacelike |
True, if this is spacelike node.
Definition at line 123 of file Tree2toNGenerator.h.