Herwig 7.3.0
|
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< PhasespaceTree > | children |
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. | |
A phase space tree.
Definition at line 97 of file PhasespaceHelpers.h.
|
inline |
Default constructor.
Definition at line 102 of file PhasespaceHelpers.h.
Lorentz5Momentum Herwig::PhasespaceHelpers::PhasespaceTree::backwardMomentum |
A backward momentum, if needed.
Definition at line 124 of file PhasespaceHelpers.h.
vector<PhasespaceTree> Herwig::PhasespaceHelpers::PhasespaceTree::children |
The children lines; if empty this is an external line.
Definition at line 134 of file PhasespaceHelpers.h.
tcPDPtr Herwig::PhasespaceHelpers::PhasespaceTree::data |
The particle running along this line.
Definition at line 109 of file PhasespaceHelpers.h.
bool Herwig::PhasespaceHelpers::PhasespaceTree::doMirror |
Wether or not this is a mirrored channel.
Definition at line 149 of file PhasespaceHelpers.h.
int Herwig::PhasespaceHelpers::PhasespaceTree::externalId |
The external leg id of this line, if external.
Definition at line 129 of file PhasespaceHelpers.h.
set<int> Herwig::PhasespaceHelpers::PhasespaceTree::leafs |
External lines originating from this line.
Definition at line 139 of file PhasespaceHelpers.h.
pair<Energy,Energy> Herwig::PhasespaceHelpers::PhasespaceTree::massRange |
The allowed mass range for this line.
Definition at line 114 of file PhasespaceHelpers.h.
Lorentz5Momentum Herwig::PhasespaceHelpers::PhasespaceTree::momentum |
The momentum running along this line.
Definition at line 119 of file PhasespaceHelpers.h.
bool Herwig::PhasespaceHelpers::PhasespaceTree::spacelike |
Wether or not this is a spacelike line.
Definition at line 144 of file PhasespaceHelpers.h.