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

#include <LHEF3.h>

Public Member Functions

 HEPEUP ()
 Default constructor.
 
 HEPEUP (const HEPEUP &x)
 Copy constructor.
 
HEPEUPsetEvent (const HEPEUP &x)
 Copy information from the given HEPEUP. More...
 
HEPEUPoperator= (const HEPEUP &x)
 Assignment operator.
 
 ~HEPEUP ()
 Destructor.
 
void reset ()
 Reset the HEPEUP object.
 
void clear ()
 Clear the HEPEUP object.
 
void resize (int nup)
 
double weight () const
 Return the main weight for this event.
 
void resize ()
 

Public Attributes

int NUP
 The number of particle entries in the current event.
 
int IDPRUP
 The subprocess code for this event (as given in LPRUP).
 
double XWGTUP
 The weight for this event.
 
pair< double, double > XPDWUP
 
double SCALUP
 
double AQEDUP
 The value of the QED coupling used in this event.
 
double AQCDUP
 The value of the QCD coupling used in this event.
 
vector< long > IDUP
 The PDG id's for the particle entries in this event.
 
vector< int > ISTUP
 The status codes for the particle entries in this event.
 
vector< pair< int, int > > MOTHUP
 
vector< pair< int, int > > ICOLUP
 
vector< vector< double > > PUP
 
vector< double > VTIMUP
 
vector< double > SPINUP
 
HEPRUPheprup
 A pointer to the current HEPRUP object.
 
map< string, double > weights_detailed
 The weights associated with this event, as given by the LHAwgt tags.
 
vector< double > weights_compressed
 The weights associated with this event, as given by the LHAweights tags.
 
LHAscales scalesSave
 Contents of the LHAscales tag.
 
LHAweights weightsSave
 Contents of the LHAweights tag (compressed format)
 
LHArwgt rwgtSave
 Contents of the LHArwgt tag (detailed format)
 
map< string, string > attributes
 Any other attributes.
 

Detailed Description

The HEPEUP class is a simple container corresponding to the Les Houches accord (hep-ph/0109068) common block with the same name. The members are named in the same way as in the common block. However, fortran arrays are represented by vectors, except for the arrays of length two which are represented by pair objects.

Member Function Documentation

void resize ( int  nup)
inline

Set the NUP variable, corresponding to the number of particles in the current event, to nup, and resize all relevant vectors accordingly.

void resize ( )

Assuming the NUP variable, corresponding to the number of particles in the current event, is correctly set, resize the relevant vectors accordingly.

HEPEUP & setEvent ( const HEPEUP x)

Copy information from the given HEPEUP.

The HEPEUP class is a simple container corresponding to the Les Houches accord (hep-ph/0109068) common block with the same name. The members are named in the same way as in the common block. However, fortran arrays are represented by vectors, except for the arrays of length two which are represented by pair objects.

Member Data Documentation

vector< pair<int,int> > ICOLUP

The colour-line indices (first(second) is (anti)colour) for the particle entries in this event.

vector< pair<int,int> > MOTHUP

Indices for the first and last mother for the particle entries in this event.

vector< vector<double> > PUP

Lab frame momentum (Px, Py, Pz, E and M in GeV) for the particle entries in this event.

double SCALUP

The scale in GeV used in the calculation of the PDF's in this event.

vector<double> SPINUP

Spin info for the particle entries in this event given as the cosine of the angle between the spin vector of a particle and the 3-momentum of the decaying particle, specified in the lab frame.

vector<double> VTIMUP

Invariant lifetime (c*tau, distance from production to decay in mm) for the particle entries in this event.

pair<double,double> XPDWUP

The PDF weights for the two incoming partons. Note that this variable is not present in the current LesHouches accord (hep-ph/0109068), hopefully it will be present in a future accord.


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