herwig is hosted by Hepforge, IPPP Durham
Herwig 7.3.0
Herwig::UEBase Class Referenceabstract

Abstract base class used to minimize the dependence between MPIHandler and all Shower classes. More...

#include <UEBase.h>

Inheritance diagram for Herwig::UEBase:

Static Public Member Functions

static void Init ()
 The 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 ()
 

Virtual functions used for the generation of additional

interactions .

virtual void initialize ()
 Some initialization code eventually.
 
virtual bool beamOK () const =0
 Return true or false depending on the generator setup.
 
virtual bool softInt () const
 Return true or false depending on whether soft interactions are enabled.
 
virtual Energy Ptmin () const =0
 Return the value of the pt cutoff.
 
virtual InvEnergy2 beta () const
 Return the slope of the soft pt spectrum.
 
virtual void finalize ()
 Some finalize code eventually.
 
virtual void clean ()
 Clean up method called after each event.
 
virtual unsigned int additionalHardProcs () const
 Return the number of different hard processes.
 
virtual unsigned int multiplicity (unsigned int i=0)=0
 return the hard multiplicity of process i.
 
virtual tStdXCombPtr generate (unsigned int sel=0)=0
 Generate a additional interaction for ProcessHandler sel.
 
virtual int Algorithm () const =0
 Return the type of algorithm.
 
virtual Energy PtForVeto () const =0
 Return the value of the hard Process pt cutoff for vetoing.
 
virtual double colourDisrupt () const
 Return the fraction of colour disrupted subprocesses.
 
virtual unsigned int softMultiplicity () const
 Return the soft multiplicity.
 
virtual CrossSection inelasticXSec () const =0
 Return the inelastic cross section ( sigmaND + sigmaDiff )
 
virtual CrossSection diffractiveXSec () const =0
 Return the diffractiv cross section (sigmaDiff) assumed by the model.
 
virtual CrossSection nonDiffractiveXSec () const =0
 Return the non-diffractiv cross section (sigmaND) assumed by the model.
 
UEBaseoperator= (const UEBase &)=delete
 The assignment operator is private and must never be called.
 

Additional Inherited Members

- Public Types inherited from ThePEG::InterfacedBase
enum  InitState
 
- Public Types inherited from ThePEG::Pointer::ReferenceCounted
typedef unsigned int CounterType
 
- 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
 
- Public Member Functions inherited from ThePEG::InterfacedBase
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
 
- Public Member Functions inherited from ThePEG::Base
void debug () const
 
virtual void debugme () const
 
- Public Member Functions inherited from ThePEG::Pointer::ReferenceCounted
CounterType referenceCount () const
 
- Public Member Functions inherited from ThePEG::Named
 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
 
- Public Attributes inherited from ThePEG::InterfacedBase
 initializing
 
 uninitialized
 
 initialized
 
 runready
 
- Public Attributes inherited from ThePEG::Pointer::ReferenceCounted
const unsigned long uniqueId
 
- 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
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 &)
 
- Protected Member Functions inherited from ThePEG::Pointer::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)
 
- Static Protected Member Functions inherited from ThePEG::Interfaced
static void registerRepository (IBPtr)
 
static void registerRepository (IBPtr, string newName)
 

Detailed Description

Abstract base class used to minimize the dependence between MPIHandler and all Shower classes.

Author
Manuel B"ahr
See also
The interfaces defined for UEBase.

Definition at line 25 of file UEBase.h.

Member Function Documentation

◆ additionalHardProcs()

virtual unsigned int Herwig::UEBase::additionalHardProcs ( ) const
inlinevirtual

Return the number of different hard processes.

Use 0 as default to not require implementation.

Reimplemented in Herwig::MPIHandler.

Definition at line 80 of file UEBase.h.

◆ Algorithm()

virtual int Herwig::UEBase::Algorithm ( ) const
pure virtual

Return the type of algorithm.

Implemented in Herwig::MPIHandler.

◆ beamOK()

virtual bool Herwig::UEBase::beamOK ( ) const
pure virtual

Return true or false depending on the generator setup.

Implemented in Herwig::MPIHandler.

◆ beta()

virtual InvEnergy2 Herwig::UEBase::beta ( ) const
inlinevirtual

Return the slope of the soft pt spectrum.

Only necessary when the soft part is modelled.

Reimplemented in Herwig::MPIHandler.

Definition at line 64 of file UEBase.h.

References ThePEG::ZERO.

◆ clean()

virtual void Herwig::UEBase::clean ( )
inlinevirtual

Clean up method called after each event.

Reimplemented in Herwig::MPIHandler.

Definition at line 74 of file UEBase.h.

◆ colourDisrupt()

virtual double Herwig::UEBase::colourDisrupt ( ) const
inlinevirtual

Return the fraction of colour disrupted subprocesses.

Use default 0 so that it is not required to implement.

Reimplemented in Herwig::MPIHandler.

Definition at line 110 of file UEBase.h.

◆ diffractiveXSec()

virtual CrossSection Herwig::UEBase::diffractiveXSec ( ) const
pure virtual

Return the diffractiv cross section (sigmaDiff) assumed by the model.

Implemented in Herwig::MPIHandler.

◆ finalize()

virtual void Herwig::UEBase::finalize ( )
inlinevirtual

Some finalize code eventually.

Reimplemented in Herwig::MPIHandler.

Definition at line 69 of file UEBase.h.

◆ generate()

virtual tStdXCombPtr Herwig::UEBase::generate ( unsigned int  sel = 0)
pure virtual

Generate a additional interaction for ProcessHandler sel.

Method can't be const because it saves the state of the underlying XComb object on it's way.

Implemented in Herwig::MPIHandler.

◆ inelasticXSec()

virtual CrossSection Herwig::UEBase::inelasticXSec ( ) const
pure virtual

Return the inelastic cross section ( sigmaND + sigmaDiff )

Implemented in Herwig::MPIHandler.

◆ Init()

static void Herwig::UEBase::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.

◆ initialize()

virtual void Herwig::UEBase::initialize ( )
inlinevirtual

Some initialization code eventually.

Reimplemented in Herwig::MPIHandler.

Definition at line 43 of file UEBase.h.

◆ multiplicity()

virtual unsigned int Herwig::UEBase::multiplicity ( unsigned int  i = 0)
pure virtual

return the hard multiplicity of process i.

Can't be constant in my case because drawing from the probability distribution also specifies the soft multiplicity that has to be stored....

Implemented in Herwig::MPIHandler.

◆ nonDiffractiveXSec()

virtual CrossSection Herwig::UEBase::nonDiffractiveXSec ( ) const
pure virtual

Return the non-diffractiv cross section (sigmaND) assumed by the model.

Implemented in Herwig::MPIHandler.

◆ operator=()

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

The assignment operator is private and must never be called.

In fact, it should not even be implemented.

◆ PtForVeto()

virtual Energy Herwig::UEBase::PtForVeto ( ) const
pure virtual

Return the value of the hard Process pt cutoff for vetoing.

Implemented in Herwig::MPIHandler.

◆ Ptmin()

virtual Energy Herwig::UEBase::Ptmin ( ) const
pure virtual

Return the value of the pt cutoff.

Implemented in Herwig::MPIHandler.

◆ softInt()

virtual bool Herwig::UEBase::softInt ( ) const
inlinevirtual

Return true or false depending on whether soft interactions are enabled.

Reimplemented in Herwig::MPIHandler.

Definition at line 53 of file UEBase.h.

◆ softMultiplicity()

virtual unsigned int Herwig::UEBase::softMultiplicity ( ) const
inlinevirtual

Return the soft multiplicity.

Use 0 as default to not require implementation.

Reimplemented in Herwig::MPIHandler.

Definition at line 116 of file UEBase.h.


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