13 #ifndef Pythia8_StringInteractions_H 14 #define Pythia8_StringInteractions_H 16 #include "Pythia8/SharedPointers.h" 17 #include "Pythia8/PhysicsBase.h" 18 #include "Pythia8/FragmentationSystems.h" 46 DipSwingPtr getDipoleSwing()
const {
return dipswingPtr; }
47 StringRepPtr getStringRepulsion()
const {
return stringrepPtr; }
48 FragModPtr getFragmentationModifier()
const {
return fragmodPtr; }
89 virtual bool init() {
return true; }
94 beamBPtr = beamBPtrIn;}
97 virtual bool next(
Event & event,
int oldSize) = 0;
117 virtual bool init() {
return true; }
121 BeamParticle* beamBPtrIn,
int beamOffsetIn = 0) {beamAPtr = beamAPtrIn;
122 beamBPtr = beamBPtrIn; beamOffset = beamOffsetIn;}
126 virtual void prepare(
int ,
Event& ,
bool =
true) = 0;
130 virtual void rescatterUpdate(
int ,
Event& ) = 0;
134 virtual void update(
int ,
Event& ,
bool =
false) = 0;
138 virtual double pTnext(
Event& ,
double ,
double ,
139 bool =
false,
bool =
false) = 0;
142 virtual bool swing(
Event& event) = 0;
167 virtual bool init() {
return true; }
170 virtual bool stringRepulsion(
Event & event,
ColConfig & colConfig) = 0;
193 virtual bool init() {
return true; }
201 StringPT * pTPtr,
double m2Had, vector<int> iParton,
int endId) = 0;
virtual bool init()
Called after PhysicsBase initInfoPtr has been called.
Definition: StringInteractions.h:117
Definition: PhysicsBase.h:27
virtual ~DipoleSwingBase()
Empty virtual destructor.
Definition: StringInteractions.h:114
FragModPtr fragmodPtr
Definition: StringInteractions.h:68
The Event class holds all info on the generated event.
Definition: Event.h:453
Definition: BeamParticle.h:133
virtual ~StringInteractions()
Empty virtual destructor.
Definition: StringInteractions.h:36
Definition: StringInteractions.h:106
ColRecPtr getColourReconnections() const
Access the pointers to the different models.
Definition: StringInteractions.h:45
The StringPT class is used to select select transverse momenta.
Definition: FragmentationFlavZpT.h:322
Definition: StringInteractions.h:156
Definition: StringInteractions.h:78
The StringZ class is used to sample the fragmentation function f(z).
Definition: FragmentationFlavZpT.h:264
virtual bool init()
Called after PhysicsBase initInfoPtr has been called.
Definition: StringInteractions.h:193
Definition: StringInteractions.h:28
virtual void reassignBeamPtrs(BeamParticle *beamAPtrIn, BeamParticle *beamBPtrIn)
New beams possible for handling of hard diffraction.
Definition: StringInteractions.h:92
StringInteractions()=default
Empty constructor.
virtual bool init()
Called after PhysicsBase initHbPtrs has been called.
Definition: StringInteractions.h:89
DipSwingPtr dipswingPtr
Definition: StringInteractions.h:58
The ColConfig class describes the colour configuration of the whole event.
Definition: FragmentationSystems.h:60
virtual bool init()
Called after PhysicsBase initInfoPtr has been called.
Definition: StringInteractions.h:167
virtual ~StringRepulsionBase()
Empty virtual destructor.
Definition: StringInteractions.h:164
Header for classes to set beam momentum and interaction vertex spread.
Definition: Analysis.h:20
virtual ~ColourReconnectionBase()
Empty virtual destructor.
Definition: StringInteractions.h:86
Definition: StringInteractions.h:182
The StringFlav class is used to select quark and hadron flavours.
Definition: FragmentationFlavZpT.h:84
virtual bool hadronRepulsion(Event &)
Definition: StringInteractions.h:174
virtual void reassignBeamPtrs(BeamParticle *beamAPtrIn, BeamParticle *beamBPtrIn, int beamOffsetIn=0)
New beams possible for handling of hard diffraction.
Definition: StringInteractions.h:120
virtual ~FragmentationModifierBase()
Empty virtual destructor.
Definition: StringInteractions.h:190
virtual bool init()
The StringInteractions class.
Definition: StringInteractions.cc:23
ColRecPtr colrecPtr
Definition: StringInteractions.h:54
StringRepPtr stringrepPtr
Definition: StringInteractions.h:63