thepeg is hosted by Hepforge, IPPP Durham
ThePEG 2.3.0
ThePEG::HEPEUP Class Reference

The HEPEUP class is a simple container corresponding to the Les Houches accord (hep-ph/0109068) common block with the same name. More...

#include <LesHouches.h>

Standard constructors and destructors.

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
 The PDF weights for the two incoming partons.
 
double SCALUP
 The scale in GeV used in the calculation of the PDF's in this event.
 
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
 Indices for the first and last mother for the particle entries in this event.
 
vector< pair< int, int > > ICOLUP
 The colour-line indices (first(second) is (anti)colour) for the particle entries in this event.
 
vector< array< double, 5 > > PUP
 Lab frame momentum (Px, Py, Pz, E and M in GeV) for the particle entries in this event.
 
vector< double > VTIMUP
 Invariant lifetime (c*tau, distance from production to decay im mm) for the particle entries 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.
 
 HEPEUP ()
 Default constructor.
 
void resize (int nup)
 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.
 

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.

Definition at line 128 of file LesHouches.h.

Constructor & Destructor Documentation

◆ HEPEUP()

ThePEG::HEPEUP::HEPEUP ( )
inline

Default constructor.

Definition at line 137 of file LesHouches.h.

Member Function Documentation

◆ resize() [1/2]

void ThePEG::HEPEUP::resize ( )
inline

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

Definition at line 159 of file LesHouches.h.

References ICOLUP, IDUP, ISTUP, MOTHUP, NUP, PUP, SPINUP, and VTIMUP.

Referenced by resize().

◆ resize() [2/2]

void ThePEG::HEPEUP::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.

Definition at line 149 of file LesHouches.h.

References NUP, and resize().

Member Data Documentation

◆ AQCDUP

double ThePEG::HEPEUP::AQCDUP

The value of the QCD coupling used in this event.

Definition at line 206 of file LesHouches.h.

◆ AQEDUP

double ThePEG::HEPEUP::AQEDUP

The value of the QED coupling used in this event.

Definition at line 201 of file LesHouches.h.

◆ ICOLUP

vector< pair<int,int> > ThePEG::HEPEUP::ICOLUP

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

Definition at line 228 of file LesHouches.h.

Referenced by resize().

◆ IDPRUP

int ThePEG::HEPEUP::IDPRUP

The subprocess code for this event (as given in LPRUP).

Definition at line 177 of file LesHouches.h.

Referenced by ThePEG::LesHouchesReader::accept(), ThePEG::LesHouchesReader::reject(), and ThePEG::LesHouchesReader::select().

◆ IDUP

vector<long> ThePEG::HEPEUP::IDUP

The PDG id's for the particle entries in this event.

Definition at line 211 of file LesHouches.h.

Referenced by resize().

◆ ISTUP

vector<int> ThePEG::HEPEUP::ISTUP

The status codes for the particle entries in this event.

Definition at line 216 of file LesHouches.h.

Referenced by resize().

◆ MOTHUP

vector< pair<int,int> > ThePEG::HEPEUP::MOTHUP

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

Definition at line 222 of file LesHouches.h.

Referenced by resize().

◆ NUP

int ThePEG::HEPEUP::NUP

The number of particle entries in the current event.

Definition at line 172 of file LesHouches.h.

Referenced by resize().

◆ PUP

vector< array<double,5> > ThePEG::HEPEUP::PUP

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

Definition at line 234 of file LesHouches.h.

Referenced by resize().

◆ SCALUP

double ThePEG::HEPEUP::SCALUP

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

Definition at line 196 of file LesHouches.h.

◆ SPINUP

vector<double> ThePEG::HEPEUP::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.

Definition at line 247 of file LesHouches.h.

Referenced by resize().

◆ VTIMUP

vector<double> ThePEG::HEPEUP::VTIMUP

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

Definition at line 240 of file LesHouches.h.

Referenced by resize().

◆ XPDWUP

pair<double,double> ThePEG::HEPEUP::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.

Definition at line 190 of file LesHouches.h.

◆ XWGTUP

double ThePEG::HEPEUP::XWGTUP

The weight for this event.

Definition at line 182 of file LesHouches.h.

Referenced by ThePEG::LesHouchesReader::eventWeight().


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