Herwig 7 is hosted by Hepforge, IPPP Durham
Herwig  7.1.4
Herwig::ClusterFinder Class Reference

This class forms clusters from the partons produced in the Shower. More...

#include <ClusterFinder.h>

Inheritance diagram for Herwig::ClusterFinder:

Public Member Functions

ClusterVector formClusters (const PVector &partons)
 This routine forms the clusters of the event. More...
 
void reduceToTwoComponents (ClusterVector &)
 Reduces three component clusters into two components. More...
 
Standard constructors and destructors.
 ClusterFinder ()
 Default constructor.
 
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 ()
 Standard Init function used to initialize the interfaces.
 
- 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

ClusterFinderoperator= (const ClusterFinder &)
 Private and non-existent assignment operator.
 

Private Attributes

unsigned int heavyDiquarks_
 Treatment of diquarks contain heavy quarks in baryon-number violating clusters.
 
unsigned int diQuarkSelection_
 Option for the selection of which quarks to make into a diquark.
 
bool diQuarkOnShell_
 Force diquarks to be on-shell.
 

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

This class forms clusters from the partons produced in the Shower.

Author
Philip Stephens
Alberto Ribon

This class scans through the particles in the event and produces a collection of clusters, defined as a colour-singlet combinations of colour-connected particles. There are no assumptions about the type (i.e. quark or diquark) or number of the component particles of the cluster; however, most of the time clusters are formed by quark-antiquark pairs. In special situations, such as baryon-violating processes in R-nonconserved Susy, three quarks (or three antiquarks) could form a cluster. Because at the moment we don't know how to handle 3-component clusters (i.e. how to fission heavy ones, or how to decay clusters), we provide also a separate method, reduceToTwoComponents, which does the job of redefining these 3-component clusters as "normal" 2-component ones, simply by randomly considering two (anti-) quarks as a (anti-) diquark. Notice that if in the future the method reduceToTwoComponents is modified or even eliminated, the main method for finding clusters, formClusters, will not need any change.

See also
The interfaces defined for ClusterFinder.

Definition at line 45 of file ClusterFinder.h.

Member Function Documentation

◆ clone()

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

Make a simple clone of this object.

Returns
a pointer to the new object.

Implements ThePEG::InterfacedBase.

◆ formClusters()

ClusterVector Herwig::ClusterFinder::formClusters ( const PVector partons)

This routine forms the clusters of the event.

Form clusters starting from the list of partons given. It also checks if the cluster is a beam cluster, that is if at least one of its components is a beam remnant.

◆ fullclone()

virtual IBPtr Herwig::ClusterFinder::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.

◆ persistentInput()

void Herwig::ClusterFinder::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::ClusterFinder::persistentOutput ( PersistentOStream os) const

Function used to write out object persistently.

Parameters
osthe persistent output stream written to.

◆ reduceToTwoComponents()

void Herwig::ClusterFinder::reduceToTwoComponents ( ClusterVector )

Reduces three component clusters into two components.

For the eventual clusters that have three components (quark, quark, quark) or (antiquark, antiquark, antiquark), it redefines them as "normal" clusters with two components: (quark,diquark) or (antiquark,antidiquark), by a random drawing. This could be eliminated or changed in the future.


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