CMS 3D CMS Logo

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

Constructor & Destructor Documentation

lhef::HEPEUP::HEPEUP ( )
inline

Default constructor.

Definition at line 155 of file LesHouches.h.

155  :
156  NUP(0), IDPRUP(0), XWGTUP(0.0), XPDWUP(0.0, 0.0),
157  SCALUP(0.0), AQEDUP(0.0), AQCDUP(0.0)
158  {}
std::pair< double, double > XPDWUP
Definition: LesHouches.h:217
double AQCDUP
Definition: LesHouches.h:233
double AQEDUP
Definition: LesHouches.h:228
double XWGTUP
Definition: LesHouches.h:209
double SCALUP
Definition: LesHouches.h:223

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

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

186  {
187  IDUP.resize(NUP);
188  ISTUP.resize(NUP);
189  MOTHUP.resize(NUP);
190  ICOLUP.resize(NUP);
191  PUP.resize(NUP);
192  VTIMUP.resize(NUP);
193  SPINUP.resize(NUP);
194  }
std::vector< double > VTIMUP
Definition: LesHouches.h:267
std::vector< std::pair< int, int > > MOTHUP
Definition: LesHouches.h:249
std::vector< FiveVector > PUP
Definition: LesHouches.h:261
std::vector< double > SPINUP
Definition: LesHouches.h:274
std::vector< int > ISTUP
Definition: LesHouches.h:243
std::vector< int > IDUP
Definition: LesHouches.h:238
std::vector< std::pair< int, int > > ICOLUP
Definition: LesHouches.h:255

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

Referenced by gen::TauolappInterface::decay(), EmbeddingLHEProducer::fill_lhe_with_particle(), lhef::CommonBlocks::fillHEPEUP(), alpgen::fixEventHiggsTTbar(), alpgen::fixEventMultiBoson(), alpgen::fixEventTTbar(), alpgen::fixEventWZ(), lhef::LHEEvent::LHEEvent(), LHEEventProduct::const_iterator::next(), lhef::CommonBlocks::readHEPEUP(), lhef::LHEEvent::removeParticle(), and LHAupLesHouches::setEvent().

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

Referenced by lhef::LHEEvent::LHEEvent().

double lhef::HEPEUP::XWGTUP