herwig is hosted by Hepforge, IPPP Durham
Herwig 7.3.0
Herwig::PhasespaceHelpers::PhasespaceTree Struct Reference

A phase space tree. More...

#include <PhasespaceHelpers.h>

Public Member Functions

 PhasespaceTree ()
 Default constructor.
 
void setup (const Tree2toNDiagram &, int pos=0)
 Setup from diagram at given position.
 
void setupMirrored (const Tree2toNDiagram &diag, int pos)
 Setup mirror from diagram at given position.
 
void init (const vector< Lorentz5Momentum > &)
 Initialize using masses as given by mass() members of the final state momenta.
 
void generateKinematics (PhasespaceInfo &, vector< Lorentz5Momentum > &)
 Generate kinematics for the children.
 
void put (PersistentOStream &) const
 Write phase space tree to ostream.
 
void get (PersistentIStream &)
 Read phase space tree from istream.
 
void print (int in=0)
 Print tree, only for debugging purposes.
 

Public Attributes

tcPDPtr data
 The particle running along this line.
 
pair< Energy, Energy > massRange
 The allowed mass range for this line.
 
Lorentz5Momentum momentum
 The momentum running along this line.
 
Lorentz5Momentum backwardMomentum
 A backward momentum, if needed.
 
int externalId
 The external leg id of this line, if external.
 
vector< PhasespaceTreechildren
 The children lines; if empty this is an external line.
 
set< int > leafs
 External lines originating from this line.
 
bool spacelike
 Wether or not this is a spacelike line.
 
bool doMirror
 Wether or not this is a mirrored channel.
 

Detailed Description

A phase space tree.

Author
Simon Platzer, Ken Arnold

Definition at line 97 of file PhasespaceHelpers.h.

Constructor & Destructor Documentation

◆ PhasespaceTree()

Herwig::PhasespaceHelpers::PhasespaceTree::PhasespaceTree ( )
inline

Default constructor.

Definition at line 102 of file PhasespaceHelpers.h.

Member Data Documentation

◆ backwardMomentum

Lorentz5Momentum Herwig::PhasespaceHelpers::PhasespaceTree::backwardMomentum

A backward momentum, if needed.

Definition at line 124 of file PhasespaceHelpers.h.

◆ children

vector<PhasespaceTree> Herwig::PhasespaceHelpers::PhasespaceTree::children

The children lines; if empty this is an external line.

Definition at line 134 of file PhasespaceHelpers.h.

◆ data

tcPDPtr Herwig::PhasespaceHelpers::PhasespaceTree::data

The particle running along this line.

Definition at line 109 of file PhasespaceHelpers.h.

◆ doMirror

bool Herwig::PhasespaceHelpers::PhasespaceTree::doMirror

Wether or not this is a mirrored channel.

Definition at line 149 of file PhasespaceHelpers.h.

◆ externalId

int Herwig::PhasespaceHelpers::PhasespaceTree::externalId

The external leg id of this line, if external.

Definition at line 129 of file PhasespaceHelpers.h.

◆ leafs

set<int> Herwig::PhasespaceHelpers::PhasespaceTree::leafs

External lines originating from this line.

Definition at line 139 of file PhasespaceHelpers.h.

◆ massRange

pair<Energy,Energy> Herwig::PhasespaceHelpers::PhasespaceTree::massRange

The allowed mass range for this line.

Definition at line 114 of file PhasespaceHelpers.h.

◆ momentum

Lorentz5Momentum Herwig::PhasespaceHelpers::PhasespaceTree::momentum

The momentum running along this line.

Definition at line 119 of file PhasespaceHelpers.h.

◆ spacelike

bool Herwig::PhasespaceHelpers::PhasespaceTree::spacelike

Wether or not this is a spacelike line.

Definition at line 144 of file PhasespaceHelpers.h.


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