PYTHIA  8.312
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
ExternalMEs Class Reference

Base class for external matrix-element interfaces. More...

#include <ExternalMEs.h>

Inheritance diagram for ExternalMEs:
ExternalMEsMadgraph

Public Member Functions

 ExternalMEs ()=default
 Destructor.
 
virtual void initPtrs (Info *infoPtrIn)
 Initialisers for pointers. More...
 
virtual bool init ()
 Initialisers.
 
virtual bool initVincia (Info *)
 
virtual bool initDire (Info *, string)
 
virtual bool isAvailable (vector< int >, vector< int >)
 
virtual bool isAvailable (const Event &)
 
virtual bool isAvailable (const Event &, const int)
 
virtual bool isAvailable (const vector< Particle > &)
 
virtual double calcME2 (const vector< Particle > &)
 
virtual double calcME2 (const Event &, const int)
 
virtual void setColourMode (int colModeIn)
 Setters.
 
virtual void setHelicityMode (int helModeIn)
 
virtual void setIncludeSymmetryFac (bool doInclIn)
 
virtual void setIncludeHelicityAvgFac (bool doInclIn)
 
virtual void setIncludeColourAvgFac (bool doInclIn)
 
virtual int colourMode ()
 Getters.
 
virtual int helicityMode ()
 
virtual bool includeSymmetryFac ()
 
virtual bool includeHelicityAvgFac ()
 
virtual bool includeColourAvgFac ()
 
virtual map< vector< int >, double > getHelicityAmplitudes ()
 

Protected Member Functions

void fillIds (const Event &event, vector< int > &in, vector< int > &out, int iBeg=3) const
 Fill a vector of IDs, from an event, starting from entry i = iBeg. More...
 
void fillMoms (const Event &event, vector< Vec4 > &p, int iBeg=3) const
 Fill a vector of momenta, from an event, starting from entry i = iBeg. More...
 
void fillCols (const Event &event, vector< int > &colors, int iBeg=3) const
 Fill a vector of colors, from an event, starting from entry i = iBeg. More...
 
vector< vector< double > > fillMoms (const Event &event, int iBeg=3) const
 Return the momenta, from an event, starting from entry i = iBeg. More...
 

Protected Attributes

int colMode {1}
 Colour mode (0: strict LC, 1: LC, 2: LC sum, 3: FC).
 
map< vector< int >, double > me2hel
 Saved list of helicity components for last ME evaluated.
 
int helMode {1}
 Helicity mode (0: explicit helicity sum, 1: implicit helicity sum).
 
bool inclSymFac {false}
 Symmetry and averaging factors.
 
bool inclHelAvgFac {false}
 
bool inclColAvgFac {false}
 
InfoinfoPtr {}
 Pointers to VINCIA and Pythia 8 objects.
 
LoggerloggerPtr {}
 
CoupSMcoupSMPtr {}
 
ParticleDataparticleDataPtr {}
 
RndmrndmPtr {}
 
SettingssettingsPtr {}
 
SusyLesHouchesslhaPtr {}
 
bool isInitPtr {false}
 Is initialized.
 
bool isInit {false}
 

Detailed Description

Base class for external matrix-element interfaces.

Member Function Documentation

virtual double calcME2 ( const vector< Particle > &  )
inlinevirtual

Calculate the matrix element squared for a particle state or event (ignoring any event entries before iBeg).

Reimplemented in ExternalMEsMadgraph.

void fillCols ( const Event event,
vector< int > &  colors,
int  iBeg = 3 
) const
protected

Fill a vector of colors, from an event, starting from entry i = iBeg.

Fill a vector of colors.

Start at i = iBeg, and go to end of event.

void fillIds ( const Event event,
vector< int > &  in,
vector< int > &  out,
int  iBeg = 3 
) const
protected

Fill a vector of IDs, from an event, starting from entry i = iBeg.

Fill a vector of IDs.

Start at i = iBeg, and go to end of event.

void fillMoms ( const Event event,
vector< Vec4 > &  p,
int  iBeg = 3 
) const
protected

Fill a vector of momenta, from an event, starting from entry i = iBeg.

Fill a vector of momenta.

Start at i = iBeg, and go to end of event.

vector< vector< double > > fillMoms ( const Event event,
int  iBeg = 3 
) const
protected

Return the momenta, from an event, starting from entry i = iBeg.

Return the momenta.

void initPtrs ( Info infoPtrIn)
virtual

Initialisers for pointers.

The parton shower matrix-element interface.

Set pointers to required PYTHIA 8 objects.

virtual bool isAvailable ( vector< int >  ,
vector< int >   
)
inlinevirtual

Methods to check availability of matrix elements for list of in/out ID codes, an event (ignoring any event entries before iBeg), or a vector of particles.

Reimplemented in ExternalMEsMadgraph.


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