herwig is hosted by Hepforge, IPPP Durham
Herwig  7.1.5
Herwig::Node Class Reference

Here is the documentation of the Node class. More...

#include <Node.h>

Inheritance diagram for Herwig::Node:

Public Member Functions

void birth (const vector< MatchboxMEBasePtr > &vec)
 
void setXComb (tStdXCombPtr xc)
 recursive setXComb. More...
 
pair< CrossSection, CrossSection > calcDipandPS (Energy scale) const
 calculate the dipole and ps approximation
 
CrossSection calcPs (Energy scale) const
 calculate the ps approximation
 
CrossSection calcDip (Energy scale) const
 calculate the dipole
 
void flushCaches ()
 recursive flush caches and clean up XCombs.
 
void clearKinematics ()
 recursive clearKinematics
 
void setKinematics ()
 recursive setKinematics
 
bool generateKinematics (const double *r, bool directCut)
 recursive generateKinematics using tilde kinematics of the dipoles
 
bool firstgenerateKinematics (const double *r, bool directCut)
 generate the kinamatics of the first node
 
const MatchboxMEBasePtr nodeME () const
 
MatchboxMEBasePtr nodeME ()
 
NodePtr parent () const
 
vector< NodePtr > children () const
 vector of children nodes created in birth
 
NodePtr randomChild ()
 
bool allAbove (Energy pt)
 true if all children show scales above pt
 
Energy maxChildPt ()
 return maximum of all child pts.
 
bool isInHistoryOf (NodePtr other)
 true if the node is in the history of other.
 
int legsize () const
 legsize of the node ME
 
void deepHead (NodePtr deephead)
 set the first node (first men). only use in factory
 
NodePtr deepHead () const
 return the first node
 
SubtractionDipolePtr dipole () const
 returns the dipol of the node.
 
StdXCombPtr xcomb () const
 return the xcomb
 
StdXCombPtr xcomb ()
 return the xcomb (if not created, create one from head)
 
Energy runningPt () const
 return the current running pt
 
void runningPt (Energy x)
 set the current running pt
 
int cutStage () const
 return the cut stage to cut on merging pt in generate kinematics
 
vector< NodePtr > getNextOrderedNodes (bool normal=true, double hardscalefactor=1.) const
 get a vector of the next nodes, ordered in pt (and in parton shower phace space)
 
bool inShowerPS (Energy hardpt) const
 
NodePtr getHistory (bool normal=true, double hardscalefactor=1.)
 
bool subtractedReal () const
 
void subtractedReal (bool x)
 set if node correspont to a subtracted real.
 
bool virtualContribution () const
 
void virtualContribution (bool x)
 set if node correspont to a virtual contribution.
 
MergerPtr MH () const
 
void MH (MergerPtr a)
 set the merging helper
 
Energy pT () const
 pT of the dipole
 
pair< PVector, PVectorgetInOut ()
 get incoming and outgoing particles (TODO: expensive)
 
Standard constructors and destructors.
 Node ()
 
 Node (MatchboxMEBasePtr nodeME, int cutstage, MergerPtr mh)
 
 Node (NodePtr deephead, NodePtr head, SubtractionDipolePtr dipol, MatchboxMEBasePtr nodeME, int cutstage)
 
virtual ~Node ()
 The destructor.
 
Functions used by the persistent I/O system.
void persistentOutput (PersistentOStream &os) const
 Function used to write out object persistently. More...
 
void persistentInput (PersistentIStream &is, int version)
 Function used to read in object persistently. More...
 
- Public Member Functions inherited from ThePEG::Interfaced
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
 
void persistentOutput (PersistentOStream &os) const
 
void persistentInput (PersistentIStream &is, int version)
 
- Public Member Functions inherited from ThePEG::InterfacedBase
string fullName () const
 
string name () const
 
string path () const
 
string comment () const
 
void setup (istream &is)
 
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
 
void persistentOutput (PersistentOStream &os) const
 
void persistentInput (PersistentIStream &is, int version)
 
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
 
void persistentOutput (PersistentOStream &os) const
 
void persistentInput (PersistentIStream &is, int version)
 
- Public Member Functions inherited from ThePEG::Base
void debug () const
 
- Public Member Functions inherited from ThePEG::Pointer::ReferenceCounted
CounterType referenceCount () const
 
- Public Member Functions inherited from ThePEG::Named
 Named (const string &newName=string())
 
const string & name () const
 
bool operator== (const Named &other) const
 
bool operator< (const Named &other) const
 

Static Public Member Functions

static void Init ()
 The standard Init function used to initialize the interfaces. More...
 
- Static Public Member Functions inherited from ThePEG::Interfaced
static void Init ()
 
- Static Public Member Functions inherited from ThePEG::InterfacedBase
static void Init ()
 
- Static Public Member Functions inherited from ThePEG::Base
static void Init ()
 

Protected Member Functions

Clone Methods.
virtual IBPtr clone () const
 Make a simple clone of this object. More...
 
virtual IBPtr fullclone () const
 Make a clone of this object, possibly modifying the cloned object to make it sane. More...
 
- Protected Member Functions inherited from ThePEG::Interfaced
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)
 
- Protected Member Functions inherited from ThePEG::InterfacedBase
 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 &)
 
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 &)
 
- Protected Member Functions inherited from ThePEG::Pointer::ReferenceCounted
 ReferenceCounted (const ReferenceCounted &)
 
ReferenceCountedoperator= (const ReferenceCounted &)
 
 ReferenceCounted (const ReferenceCounted &)
 
ReferenceCountedoperator= (const ReferenceCounted &)
 
- Protected Member Functions inherited from ThePEG::Named
const Namedoperator= (const Named &other)
 
const string & name (const string &newName)
 

Private Member Functions

Nodeoperator= (const Node &)=delete
 The assignment operator is private and must never be called. More...
 

Private Attributes

MatchboxMEBasePtr thenodeMEPtr
 the Matrixelement representing this node.
 
SubtractionDipolePtr thedipol
 the dipol used to substract and generate kinematics using tilde kinematics
 
NodePtr theparent
 the parent node
 
NodePtr theDeepHead
 The godfather node of whole tree.(Firstnode)
 
int theCutStage
 The CutStage is number of clusterings which are possible without introducing a merging scale to cut away singularities. More...
 
bool isOrdered
 tell if node belongs to an ordered history
 
bool theSubtractedReal
 flag to tell if node is subtracted real
 
bool theVirtualContribution
 flag to tell if node is virtual contribution
 
MergerPtr theMergingHelper
 the merging helper
 
StdXCombPtr thexcomb
 
vector< NodePtr > thechildren
 vector of the children node
 
Energy theRunningPt
 the current running pt
 
NodePtr theProjector
 The nodes of the projection stage.
 
bool didflush =false
 flag not to enter infinite loop. (There should be a better solution...)
 

Additional Inherited Members

- Public Types inherited from ThePEG::InterfacedBase
enum  InitState
 
- Public Types inherited from ThePEG::Pointer::ReferenceCounted
typedef unsigned int CounterType
 
- Public Attributes inherited from ThePEG::InterfacedBase
 initializing
 
 uninitialized
 
 initialized
 
 runready
 
- Public Attributes inherited from ThePEG::Pointer::ReferenceCounted
const unsigned long uniqueId
 
- Static Protected Member Functions inherited from ThePEG::Interfaced
static void registerRepository (IBPtr)
 
static void registerRepository (IBPtr, string newName)
 

Detailed Description

Here is the documentation of the Node class.

See also
The interfaces defined for Node.

Definition at line 38 of file Node.h.

Member Function Documentation

◆ clone()

virtual IBPtr Herwig::Node::clone ( ) const
protectedvirtual

Make a simple clone of this object.

Returns
a pointer to the new object.

Implements ThePEG::InterfacedBase.

◆ fullclone()

virtual IBPtr Herwig::Node::fullclone ( ) const
protectedvirtual

Make a clone of this object, possibly modifying the cloned object to make it sane.

Returns
a pointer to the new object.

Reimplemented from ThePEG::InterfacedBase.

◆ Init()

static void Herwig::Node::Init ( )
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.

◆ operator=()

Node& Herwig::Node::operator= ( const Node )
privatedelete

The assignment operator is private and must never be called.

In fact, it should not even be implemented.

◆ persistentInput()

void Herwig::Node::persistentInput ( PersistentIStream is,
int  version 
)

Function used to read in object persistently.

Parameters
isthe persistent input stream read from.
versionthe version number of the object when written.

◆ persistentOutput()

void Herwig::Node::persistentOutput ( PersistentOStream os) const

Function used to write out object persistently.

Parameters
osthe persistent output stream written to.

◆ setXComb()

void Herwig::Node::setXComb ( tStdXCombPtr  xc)

recursive setXComb.

proStage is the number of clusterings before the projectors get filled.

Member Data Documentation

◆ theCutStage

int Herwig::Node::theCutStage
private

The CutStage is number of clusterings which are possible without introducing a merging scale to cut away singularities.

-> subtracted MEs have the CutStage 1. -> virtual and normal tree level ME get 0.

Definition at line 153 of file Node.h.


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