CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Classes | Public Member Functions | Public Attributes
lhef::HEPEUP Class Reference

#include <LesHouches.h>

Classes

struct  FiveVector
 

Public Member Functions

void resize (int nup)
 
void resize ()
 
Standard constructors and destructors.
 HEPEUP ()
 

Public Attributes

double AQCDUP
 
double AQEDUP
 
std::vector< std::pair< int,
int > > 
ICOLUP
 
int IDPRUP
 
std::vector< int > IDUP
 
std::vector< int > ISTUP
 
std::vector< std::pair< int,
int > > 
MOTHUP
 
int NUP
 
std::vector< FiveVectorPUP
 
double SCALUP
 
std::vector< double > SPINUP
 
std::vector< double > VTIMUP
 
std::pair< double, double > XPDWUP
 
double XWGTUP
 

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 135 of file LesHouches.h.

Constructor & Destructor Documentation

lhef::HEPEUP::HEPEUP ( )
inline

Default constructor.

Definition at line 142 of file LesHouches.h.

142  :
143  NUP(0), IDPRUP(0), XWGTUP(0.0), XPDWUP(0.0, 0.0),
144  SCALUP(0.0), AQEDUP(0.0), AQCDUP(0.0)
145  {}
std::pair< double, double > XPDWUP
Definition: LesHouches.h:204
double AQCDUP
Definition: LesHouches.h:220
double AQEDUP
Definition: LesHouches.h:215
double XWGTUP
Definition: LesHouches.h:196
double SCALUP
Definition: LesHouches.h:210

Member Function Documentation

void lhef::HEPEUP::resize ( int  nup)
inline
void lhef::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 172 of file LesHouches.h.

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

Referenced by Vispa.Gui.TextDialog.TextDialog::__init__(), Vispa.Plugins.ConfigEditor.ToolDialog.ToolDialog::__init__(), Vispa.Main.MainWindow.MainWindow::_loadIni(), resize(), and Vispa.Gui.PortConnection.PointToPointConnection::updateConnection().

173  {
174  IDUP.resize(NUP);
175  ISTUP.resize(NUP);
176  MOTHUP.resize(NUP);
177  ICOLUP.resize(NUP);
178  PUP.resize(NUP);
179  VTIMUP.resize(NUP);
180  SPINUP.resize(NUP);
181  }
std::vector< double > VTIMUP
Definition: LesHouches.h:254
std::vector< std::pair< int, int > > MOTHUP
Definition: LesHouches.h:236
std::vector< FiveVector > PUP
Definition: LesHouches.h:248
std::vector< double > SPINUP
Definition: LesHouches.h:261
std::vector< int > ISTUP
Definition: LesHouches.h:230
std::vector< int > IDUP
Definition: LesHouches.h:225
std::vector< std::pair< int, int > > ICOLUP
Definition: LesHouches.h:242

Member Data Documentation

double lhef::HEPEUP::AQCDUP
double lhef::HEPEUP::AQEDUP
std::vector< std::pair<int, int> > lhef::HEPEUP::ICOLUP
int lhef::HEPEUP::IDPRUP
std::vector<int> lhef::HEPEUP::IDUP
std::vector<int> lhef::HEPEUP::ISTUP
std::vector< std::pair<int, int> > lhef::HEPEUP::MOTHUP
int lhef::HEPEUP::NUP
std::vector<FiveVector> lhef::HEPEUP::PUP
double lhef::HEPEUP::SCALUP
std::vector<double> lhef::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 261 of file LesHouches.h.

Referenced by ThePEG::LesHouchesInterface::doReadEvent(), lhef::CommonBlocks::fillHEPEUP(), alpgen::fixEventHiggsTTbar(), alpgen::fixEventMultiBoson(), alpgen::fixEventTTbar(), alpgen::fixEventWZ(), lhef::LHEEvent::LHEEvent(), LHEEventProduct::const_iterator::next(), lhef::CommonBlocks::readHEPEUP(), lhef::LHEEvent::removeParticle(), resize(), LHAupLesHouches::setEvent(), and myPythia6ServiceWithCallback::upEvnt().

std::vector<double> lhef::HEPEUP::VTIMUP
std::pair<double, double> lhef::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 204 of file LesHouches.h.

Referenced by lhef::LHEEvent::LHEEvent(), and myPythia6ServiceWithCallback::upEvnt().

double lhef::HEPEUP::XWGTUP