PYTHIA  8.311
Public Member Functions | Protected Member Functions | List of all members
BeamRemnants Class Reference

#include <BeamRemnants.h>

Inheritance diagram for BeamRemnants:
PhysicsBase

Public Member Functions

 BeamRemnants ()
 Constructor.
 
bool init (PartonVertexPtr partonVertexPtrIn, ColRecPtr colourReconnectionPtrIn)
 Initialization. More...
 
void reassignBeamPtrs (BeamParticle *beamAPtrIn, BeamParticle *beamBPtrIn, int iDSin)
 New beams possible for handling of hard diffraction.
 
bool add (Event &event, int iFirst=0, bool doDiffCR=false)
 Select the flavours/kinematics/colours of the two beam remnants. More...
 
- 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

This class matches the kinematics of the hard-scattering subsystems (with primordial kT added) to that of the two beam remnants.

Member Function Documentation

bool add ( Event event,
int  iFirst = 0,
bool  doDiffCR = false 
)

Select the flavours/kinematics/colours of the two beam remnants.

Select the flavours/kinematics/colours of the two beam remnants. Notation: iPar = all partons, iSys = matched systems of two beams, iRem = additional partons in remnants.

Update to current CM energy.

Check that flavour bookkept in event and in beam particles agree.

Deeply inelastic scattering needs special remnant handling. Here getGammaMode separates from photoproduction.

Number of scattering subsystems. Size of event record before treatment.

Store event as it was before adding anything.

Two different methods to add the beam remnants.

Store event before doing colour reconnections.

Check that the new colour structure is physical.

If no colour reconnection, just check the colour configuration once.

Possibility to add vertex information to beam particles and remnants.

Restore event and return false if colour reconnection failed.

Done.

bool init ( PartonVertexPtr  partonVertexPtrIn,
ColRecPtr  colourReconnectionPtrIn 
)

Initialization.

Save pointers.

Width of primordial kT distribution.

Handling of rescattering kinematics uncertainties from primodial kT.

Choice of beam remnant and colour reconnection scenarios.

Do multiparton interactions.

Flags for photoproduction from either (or both) side.

Check that remnant model and colour reconnection model work together.

Total and squared CM energy at nominal energy.

Initialize junction splitting class.

Possibility to set parton vertex information.

Done.

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: