PYTHIA  8.312
Public Member Functions | List of all members
HelicitySampler Class Reference

A helicity sampler using external matrix elements. More...

#include <ExternalMEs.h>

Public Member Functions

 HelicitySampler ()
 Constructor, destructor, and assignment.
 
void initPtrs (ExternalMEsPtr mePluginPtrIn, Rndm *rndmPtrIn)
 Initialise pointers to required Pythia objects.
 
bool selectHelicities (vector< Particle > &state, bool force)
 Set helicities for a particle state. More...
 

Detailed Description

A helicity sampler using external matrix elements.

Member Function Documentation

bool selectHelicities ( vector< Particle > &  state,
bool  force 
)

Set helicities for a particle state.

Helicity sampler which uses external matrix elements.

Set helicities for a particle state.

Check we have access to a matrix element generator.

If force = true, erase any existing helicities.

Save current settings of ME generator.

Set that we want an explicit helicity sum.

LC amplitudes only.

Include all averaging and symmetry factors.

Calculate the matrix element and fetch helicity amplitudes.

Restore ME generator settings.

Check how many helicity configurations we summed over.

Add up all helicity matrix elements.

Random number between zero and me2sum (trivial if only one helConf).

Progressively subtract each me2hel and check when we cross zero.

Set helicity configuration.


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