PYTHIA  8.312
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)
 Constructor.
 
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
 
vector< bool > fvec (string key) const
 
vector< int > mvec (string key) const
 
vector< double > pvec (string key) const
 
vector< string > wvec (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 {
  INCOMPLETE = -1, COMPLETE = 0, CONSTRUCTOR_FAILED, INIT_FAILED,
  LHEF_END, LOWENERGY_FAILED, PROCESSLEVEL_FAILED, PROCESSLEVEL_USERVETO,
  MERGING_FAILED, PARTONLEVEL_FAILED, PARTONLEVEL_USERVETO, HADRONLEVEL_FAILED,
  CHECK_FAILED, OTHER_UNPHYSICAL, HEAVYION_FAILED, HADRONLEVEL_USERVETO
}
 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.
 
LoggerloggerPtr = {}
 Pointer to logger.
 
HadronWidthshadronWidthsPtr = {}
 Pointer to the hadron widths data table.
 
RndmrndmPtr = {}
 Pointer to the random number generator.
 
CoupSMcoupSMPtr = {}
 Pointers to SM and SUSY couplings.
 
CoupSUSYcoupSUSYPtr = {}
 
BeamSetupbeamSetupPtr = {}
 
BeamParticlebeamAPtr = {}
 
BeamParticlebeamBPtr = {}
 
BeamParticlebeamPomAPtr = {}
 
BeamParticlebeamPomBPtr = {}
 
BeamParticlebeamGamAPtr = {}
 
BeamParticlebeamGamBPtr = {}
 
BeamParticlebeamVMDAPtr = {}
 
BeamParticlebeamVMDBPtr = {}
 
PartonSystemspartonSystemsPtr = {}
 Pointer to information on subcollision parton locations.
 
SigmaTotalsigmaTotPtr = {}
 Pointers to the total/elastic/diffractive cross sections.
 
SigmaCombinedsigmaCmbPtr = {}
 
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 
)
overridevirtual

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 ( )
inlineoverridevirtual

Initialize. Set pointers.

Initialize event pointer such that it can be tested.

Initialize FragPar.

Reimplemented from FragmentationModifierBase.

bool initEvent ( Event event,
ColConfig colConfig 
)
overridevirtual

Inteface to he Ropewalk class.

Initialise the current event just before string fragmentation starts.

Implements FragmentationModifierBase.

virtual void onInitInfoPtr ( )
inlineoverrideprotectedvirtual

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: