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

#include <ShowerMEs.h>

Inheritance diagram for ShowerMEsPlugin:
ShowerMEs

Public Member Functions

 ShowerMEsPlugin (string nameIn="")
 Constructor and destructor.
 
 ~ShowerMEsPlugin ()
 Destructor. More...
 
void initPtrVincia (Info *infoPtrIn, SusyLesHouches *slhaPtrIn, VinciaCommon *vinComPtrIn) override
 Set pointers to required PYTHIA 8 objects. More...
 
bool initVincia () override
 Initialise the MG5 model, parameters, and couplings. More...
 
double me2Vincia (vector< Particle > state, int nIn) override
 Get the matrix element squared for a particle state.
 
bool hasProcessVincia (vector< int > idIn, vector< int > idOut, set< int > sChan) override
 Check if the process is available.
 
bool selectHelicitiesVincia (vector< Particle > &state, int nIn) override
 
void setColourDepthVincia (int colourDepthIn) override
 Set and get colour depth.
 
int getColourDepthVincia () override
 
void setVerboseVincia (int verboseIn) override
 Set verbosity level.
 
bool initDire (Info *infoPtrIn, string card) override
 Dire methods. More...
 
bool isAvailableMEDire (vector< int > in, vector< int > out) override
 
bool isAvailableMEDire (const Pythia8::Event &event) override
 
double calcMEDire (const Pythia8::Event &event) override
 
- Public Member Functions inherited from ShowerMEs
 ShowerMEs ()=default
 Constructor.
 
string makeLabelVincia (vector< int > &id, int nIn, bool convertToNames=false) const
 Convert a process label to a string, e.g. for printing to stdout. More...
 
void fillIds (const Event &event, vector< int > &in, vector< int > &out) const
 Fill a vector of IDs. More...
 
void fillMoms (const Event &event, vector< Vec4 > &p) const
 Fill a vector of momenta.
 
void fillCols (const Event &event, vector< int > &colors) const
 Fill a vector of colors.
 
vector< vector< double > > fillMoms (const Event &event) const
 Return the momenta.
 

Additional Inherited Members

- Protected Attributes inherited from ShowerMEs
bool isInitPtr {false}
 Is initialized.
 
bool isInit {false}
 
map< vector< int >, double > me2hel {}
 Saved list of helicity components for last ME evaluated.
 
InfoinfoPtr {}
 Pointers to VINCIA and Pythia 8 objects.
 
CoupSMcoupSMPtr {}
 
ParticleDataparticleDataPtr {}
 
RndmrndmPtr {}
 
SettingssettingsPtr {}
 
VinciaCommonvinComPtr {}
 
SusyLesHouchesslhaPtr {}
 
int colourDepth {0}
 Colour mode (0: leading colour, 1: Vincia colour).
 
int verbose {0}
 Verbosity level.
 

Detailed Description

Interface to external matrix elements for parton shower matrix element corrections.

Constructor & Destructor Documentation

Destructor.

Delete the MEs pointer.

Member Function Documentation

bool initDire ( Info infoPtrIn,
string  card 
)
overridevirtual

Dire methods.

Initialize the matrix element.

Load the plugin library if needed.

Create a new ME.

Initialize the ME if it exists.

Implements ShowerMEs.

void initPtrVincia ( Info infoPtrIn,
SusyLesHouches slhaPtrIn,
VinciaCommon vinComPtrIn 
)
overridevirtual

Set pointers to required PYTHIA 8 objects.

VINCIA methods. Set pointers to required PYTHIA 8 objects.

Interface to external matrix elements for parton shower matrix element corrections.

Reimplemented from ShowerMEs.

bool initVincia ( )
overridevirtual

Initialise the MG5 model, parameters, and couplings.

Initialize the matrix element.

Load the plugin library if needed.

Create a new ME.

Initialize the ME if it exists.

Implements ShowerMEs.

bool selectHelicitiesVincia ( vector< Particle > &  state,
int  nIn 
)
inlineoverridevirtual

Use me2 to set helicities for a state. Takes a reference as input and operates on it.

Reimplemented from ShowerMEs.


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