The Node class represents a part of the shower history in the merging procedure. More...
#include <Node.h>
Standard constructors and destructors. | |
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. | |
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 (should be static) | |
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...) | |
Node () | |
Node (MatchboxMEBasePtr nodeME, int cutstage, MergerPtr mh) | |
Node (NodePtr deephead, NodePtr head, SubtractionDipolePtr dipol, MatchboxMEBasePtr nodeME, int cutstage) | |
void | birth (const vector< MatchboxMEBasePtr > &vec) |
void | setXComb (tStdXCombPtr xc) |
recursive setXComb. | |
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, PVector > | getInOut () |
get incoming and outgoing particles (TODO: expensive) | |
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. | |
static void | Init () |
The standard Init function used to initialize the interfaces. | |
Clone Methods. | |
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. | |
Node & | operator= (const Node &)=delete |
The assignment operator is private and must never be called. | |
Additional Inherited Members | |
![]() | |
enum | InitState |
![]() | |
typedef unsigned int | CounterType |
![]() | |
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 |
![]() | |
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) |
The Node class represents a part of the shower history in the merging procedure.
Each node can search for its "childen" in the "birth" step. The children processes that can be created by clustering two legs with a given spectator – just like in the shower. To perform the "birth" a vector of processes is given to the node and the possible dipoles are given by the factory object.
|
inline |
vector of children nodes created in birth
Definition at line 92 of file Node.h.
References thechildren.
|
protectedvirtual |
Make a simple clone of this object.
Implements ThePEG::InterfacedBase.
|
inline |
return the cut stage to cut on merging pt in generate kinematics
Definition at line 118 of file Node.h.
References theCutStage.
|
inline |
|
inline |
set the first node (first men). only use in factory
Definition at line 104 of file Node.h.
References theDeepHead.
|
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.
|
inline |
The assignment operator is private and must never be called.
In fact, it should not even be implemented.
void Herwig::Node::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::Node::persistentOutput | ( | PersistentOStream & | os | ) | const |
Function used to write out object persistently.
os | the persistent output stream written to. |
|
inline |
|
inline |
|
inline |
void Herwig::Node::setXComb | ( | tStdXCombPtr | xc | ) |
recursive setXComb.
proStage is the number of clusterings before the projectors get filled.
|
inline |
set if node correspont to a subtracted real.
Definition at line 128 of file Node.h.
References theSubtractedReal.
|
inline |
set if node correspont to a virtual contribution.
Definition at line 132 of file Node.h.
References theVirtualContribution.
|
private |
|
private |
|
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 158 of file Node.h.
Referenced by cutStage().
|
private |
The godfather node of whole tree.(Firstnode)
Definition at line 151 of file Node.h.
Referenced by deepHead().
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
flag to tell if node is subtracted real
Definition at line 160 of file Node.h.
Referenced by subtractedReal().
|
private |
flag to tell if node is virtual contribution
Definition at line 162 of file Node.h.
Referenced by virtualContribution().