Herwig 7.3.0
|
Generate Tree2toNDiagrams for a given process. More...
#include <Tree2toNGenerator.h>
Classes | |
struct | LineMatcher |
Helper for topology restrictions. More... | |
struct | Vertex |
A node in internally used trees. More... | |
Public Types | |
typedef vector< Ptr< Helicity::VertexBase >::ptr > | VertexVector |
![]() | |
enum | InitState |
![]() | |
typedef unsigned int | CounterType |
Public Member Functions | |
Tree2toNGenerator () | |
The default constructor. | |
vector< Ptr< Tree2toNDiagram >::ptr > | generate (const PDVector &, unsigned int orderInGs, unsigned int orderInGem) |
Generate all diagrams for the given process. | |
VertexVector & | vertices () |
Access the vertices. | |
const VertexVector & | vertices () const |
Return the vertices. | |
PDVector & | excludeInternal () |
Access the particles to be excluded from internal lines. | |
const PDVector & | excludeInternal () const |
Return the particles to be excluded from internal lines. | |
![]() | |
double | rnd () const |
double | rnd (double xu) const |
double | rnd (double xl, double xu) const |
bool | rndbool () const |
bool | rndbool (double p) const |
bool | rndbool (double p1, double p2) const |
int | rndsign (double p1, double p2, double p3) const |
int | rnd2 (double p0, double p1) const |
int | rnd3 (double p0, double p1, double p2) const |
int | rnd4 (double p0, double p1, double p2, double p3) const |
long | irnd (long xu=2) const |
long | irnd (long xl, long xu) const |
const StandardModelBase & | SM () const |
tSMPtr | standardModel () const |
![]() | |
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 |
![]() | |
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 |
![]() | |
void | debug () const |
virtual void | debugme () const |
![]() | |
CounterType | referenceCount () const |
![]() | |
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 |
Clone Methods. | |
VertexVector | theVertices |
The vertices to be used. | |
PDVector | theExcludeInternal |
The particles to be excluded from internal lines. | |
unsigned int | maxOrderGs |
Maximum order in gs to consider. | |
unsigned int | maxOrderGem |
Maximum order in gem to consider. | |
bool | prepared |
Wether or not the generator has been prepared. | |
VertexVector | theExcludeVertices |
The vertices to be excluded. | |
vector< LineMatcher > | spaceLikeAllowed |
Minimal and maximal occurences of spacelike internal lines. | |
vector< LineMatcher > | timeLikeAllowed |
Minimal and maximal occurences of timelike internal lines. | |
PDVector | theRestrictLines |
The next particle for which internal lines need to be restricted. | |
virtual IBPtr | clone () const |
Make a simple clone of this object. | |
virtual IBPtr | fullclone () const |
Make a clone of this object, possibly modifying the cloned object to make it sane. | |
string | doSpaceLikeRange (string) |
Command to set an allowed range of spacelike internal lines. | |
string | doTimeLikeRange (string) |
Command to set an allowed range of timelike internal lines. | |
string | doClearRestrictLines (string) |
Command to clear the restrict lines container. | |
Tree2toNGenerator & | operator= (const Tree2toNGenerator &)=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. | |
list< vector< Vertex > > | cluster (const vector< Vertex > &children, unsigned int orderInGs, unsigned int orderInGem) const |
For the given set of trees determine all allowed clusterings. | |
list< vector< Vertex > > | clusterAll (const list< vector< Vertex > > ¤t, unsigned int orderInGs, unsigned int orderInGem) const |
For the given set of outgoing lines cluster recursively. | |
list< vector< Vertex > > | clusterAll (const PDVector &external, unsigned int orderInGs, unsigned int orderInGem) |
For the given set of outgoing lines cluster recursively. | |
static void | Init () |
The standard Init function used to initialize the interfaces. | |
Additional Inherited Members | |
![]() | |
static void | Init () |
![]() | |
static void | Init () |
![]() | |
static void | Init () |
![]() | |
static void | Init () |
![]() | |
initializing | |
uninitialized | |
initialized | |
runready | |
![]() | |
const unsigned long | uniqueId |
![]() | |
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) |
![]() | |
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 &) |
![]() | |
ReferenceCounted (const ReferenceCounted &) | |
ReferenceCounted & | operator= (const ReferenceCounted &) |
![]() | |
const Named & | operator= (const Named &other) |
const string & | name (const string &newName) |
![]() | |
static void | registerRepository (IBPtr) |
static void | registerRepository (IBPtr, string newName) |
Generate Tree2toNDiagrams for a given process.
Definition at line 35 of file Tree2toNGenerator.h.
typedef vector<Ptr<Helicity::VertexBase>::ptr> Herwig::Tree2toNGenerator::VertexVector |
Definition at line 53 of file Tree2toNGenerator.h.
|
protectedvirtual |
Make a simple clone of this object.
Implements ThePEG::InterfacedBase.
|
inline |
Access the particles to be excluded from internal lines.
Definition at line 68 of file Tree2toNGenerator.h.
References theExcludeInternal.
|
inline |
Return the particles to be excluded from internal lines.
Definition at line 73 of file Tree2toNGenerator.h.
References theExcludeInternal.
|
protectedvirtual |
Make a clone of this object, possibly modifying the cloned object to make it sane.
Reimplemented from ThePEG::InterfacedBase.
|
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.
|
privatedelete |
The assignment operator is private and must never be called.
In fact, it should not even be implemented.
void Herwig::Tree2toNGenerator::persistentInput | ( | PersistentIStream & | is, |
int | version | ||
) |
Function used to read in object persistently.
is | the persistent input stream read from. |
version | the version number of the object when written. |
void Herwig::Tree2toNGenerator::persistentOutput | ( | PersistentOStream & | os | ) | const |
Function used to write out object persistently.
os | the persistent output stream written to. |
|
inline |
|
inline |
|
private |
Maximum order in gem to consider.
Definition at line 366 of file Tree2toNGenerator.h.
|
private |
Maximum order in gs to consider.
Definition at line 361 of file Tree2toNGenerator.h.
|
private |
Wether or not the generator has been prepared.
Definition at line 371 of file Tree2toNGenerator.h.
|
private |
Minimal and maximal occurences of spacelike internal lines.
Definition at line 381 of file Tree2toNGenerator.h.
|
private |
The particles to be excluded from internal lines.
Definition at line 356 of file Tree2toNGenerator.h.
Referenced by excludeInternal().
|
private |
The vertices to be excluded.
Definition at line 376 of file Tree2toNGenerator.h.
|
private |
The next particle for which internal lines need to be restricted.
Definition at line 391 of file Tree2toNGenerator.h.
|
private |
The vertices to be used.
Definition at line 351 of file Tree2toNGenerator.h.
Referenced by vertices().
|
private |
Minimal and maximal occurences of timelike internal lines.
Definition at line 386 of file Tree2toNGenerator.h.