PYTHIA  8.303
Public Member Functions | Protected Member Functions | List of all members
FlavourRope Class Reference

#include <Ropewalk.h>

Inheritance diagram for FlavourRope:
FragmentationModifierBase PhysicsBase

Public Member Functions

 FlavourRope (Ropewalk &rwIn)
virtual bool init () override
 Initialize. Set pointers. More...
bool doChangeFragPar (StringFlav *flavPtr, StringZ *zPtr, StringPT *pTPtr, double m2Had, vector< int > iParton, int endId) override
 Change the fragmentation parameters. More...
void setEnhancement (double hIn)
 Set enhancement manually.
void setEventPtr (Event &event)
 Set pointer to the event.
virtual bool initEvent (Event &event, ColConfig &colConfig) override
 Inteface to he Ropewalk class. More...
- Public Member Functions inherited from FragmentationModifierBase
 FragmentationModifierBase ()=default
 Empty default constructor.
virtual ~FragmentationModifierBase ()
 Empty virtual destructor.
- Public Member Functions inherited from PhysicsBase
void initInfoPtr (Info &infoPtrIn)
 This function is called from above for physics objects used in a run. More...
virtual ~PhysicsBase ()
 Empty virtual destructor.
bool flag (string key) const
 Shorthand to read settings values.
int mode (string key) const
double parm (string key) const
string word (string key) const

Protected Member Functions

virtual void onInitInfoPtr () override
- Protected Member Functions inherited from PhysicsBase
 PhysicsBase ()
 Default constructor.
virtual void onBeginEvent ()
 This function is called in the very beginning of each Pythia::next call.
virtual void onEndEvent (Status)
virtual void onStat ()
 This function is called from the Pythia::stat() call.
void registerSubObject (PhysicsBase &pb)
 Register a sub object that should have its information in sync with this.

Additional Inherited Members

- Public Types inherited from PhysicsBase
enum  Status {
 Enumerate the different status codes the event generation can have.
- Protected Attributes inherited from PhysicsBase
InfoinfoPtr = {}
SettingssettingsPtr = {}
 Pointer to the settings database.
ParticleDataparticleDataPtr = {}
 Pointer to the particle data table.
HadronWidthshadronWidthsPtr = {}
 Pointer to the hadron widths data table.
RndmrndmPtr = {}
 Pointer to the random number generator.
CoupSMcoupSMPtr = {}
 Pointers to SM and SUSY couplings.
CoupSUSYcoupSUSYPtr = {}
BeamParticlebeamAPtr = {}
BeamParticlebeamBPtr = {}
BeamParticlebeamPomAPtr = {}
BeamParticlebeamPomBPtr = {}
BeamParticlebeamGamAPtr = {}
BeamParticlebeamGamBPtr = {}
BeamParticlebeamVMDAPtr = {}
BeamParticlebeamVMDBPtr = {}
PartonSystemspartonSystemsPtr = {}
 Pointer to information on subcollision parton locations.
SigmaTotalsigmaTotPtr = {}
 Pointer to the total/elastic/diffractive cross sections.
set< PhysicsBase * > subObjects
UserHooksPtr userHooksPtr

Detailed Description

The FlavourRope class takes care of placing a string breakup in the event, and assigning the string breakup effective parameters. It is a UserHooks derived class, and one must make sure to add it to the UserHooksVector in the main program or somewhere else.

Member Function Documentation

bool doChangeFragPar ( StringFlav flavPtr,
StringZ zPtr,
StringPT pTPtr,
double  m2Had,
vector< int >  iParton,
int  endId 

Change the fragmentation parameters.

The FlavourRope class takes care of placing a string breakup in the event, and assigning the string breakup effective parameters.

The new parameters.

Change settings to new settings.

Re-initialize flavour, z, and pT selection with new settings.

Implements FragmentationModifierBase.

virtual bool init ( )

Initialize. Set pointers.

Initialize event pointer such that it can be tested.

Initialize FragPar.

Reimplemented from FragmentationModifierBase.

bool initEvent ( Event event,
ColConfig colConfig 

Inteface to he Ropewalk class.

Initialise the current event just before string fragmentation starts.

Implements FragmentationModifierBase.

virtual void onInitInfoPtr ( )

If an object needs to set up infoPtr for sub objects, override this and call registerSubObject for each object in question.

Reimplemented from PhysicsBase.

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