CMS 3D CMS Logo

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

#include <LesHouches.h>

Public Member Functions

bool operator== (const HEPRUP &other) const
 
void resize (int nrup)
 
void resize ()
 
Standard constructors and destructors.
 HEPRUP ()
 

Public Attributes

std::pair< double, double > EBMUP
 
std::pair< int, int > IDBMUP
 
int IDWTUP
 
std::vector< int > LPRUP
 
int NPRUP
 
std::pair< int, int > PDFGUP
 
std::pair< int, int > PDFSUP
 
std::vector< double > XERRUP
 
std::vector< double > XMAXUP
 
std::vector< double > XSECUP
 

Detailed Description

The HEPRUP 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 22 of file LesHouches.h.

Constructor & Destructor Documentation

lhef::HEPRUP::HEPRUP ( )
inline

Default constructor.

Definition at line 29 of file LesHouches.h.

Member Function Documentation

bool lhef::HEPRUP::operator== ( const HEPRUP other) const
inline

Definition at line 33 of file LesHouches.h.

void lhef::HEPRUP::resize ( int  nrup)
inline

Set the NPRUP variable, corresponding to the number of sub-processes, to nrup, and resize all relevant vectors accordingly.

Definition at line 52 of file LesHouches.h.

Referenced by Vispa.Gui.TextDialog.TextDialog::__init__(), and lhef::CommonBlocks::readHEPRUP().

void lhef::HEPRUP::resize ( )
inline

Assuming the NPRUP variable, corresponding to the number of sub-processes, is correctly set, resize the relevant vectors accordingly.

Definition at line 63 of file LesHouches.h.

Referenced by Vispa.Gui.TextDialog.TextDialog::__init__().

Member Data Documentation

std::pair<double, double> lhef::HEPRUP::EBMUP
std::pair<int, int> lhef::HEPRUP::IDBMUP

PDG id's of beam particles. (first/second is in +/-z direction).

Definition at line 73 of file LesHouches.h.

Referenced by lhef::CommonBlocks::fillHEPRUP(), ThePEG::LesHouchesInterface::open(), LHE2HepMCConverter::produce(), lhef::CommonBlocks::readHEPRUP(), and LHAupLesHouches::setInit().

int lhef::HEPRUP::IDWTUP

Master switch indicating how the ME generator envisages the events weights should be interpreted according to the Les Houches accord.

Definition at line 97 of file LesHouches.h.

Referenced by lhef::CommonBlocks::fillHEPRUP(), lhef::LHERunInfo::getHEPIDWTUP(), lhef::CommonBlocks::readHEPRUP(), and LHAupLesHouches::setInit().

std::vector<int> lhef::HEPRUP::LPRUP

The subprocess code for the different subprocesses.

Definition at line 124 of file LesHouches.h.

Referenced by lhef::CommonBlocks::fillHEPRUP(), ThePEG::LesHouchesInterface::open(), MCatNLOSource::produce(), lhef::CommonBlocks::readHEPRUP(), and LHAupLesHouches::setInit().

int lhef::HEPRUP::NPRUP

The number of different subprocesses in this file (should typically be just one)

Definition at line 103 of file LesHouches.h.

Referenced by lhef::CommonBlocks::fillHEPRUP(), ThePEG::LesHouchesInterface::open(), lhef::CommonBlocks::readHEPRUP(), and LHAupLesHouches::setInit().

std::pair<int, int> lhef::HEPRUP::PDFGUP

The author group for the PDF used for the beams according to the PDFLib specification.

Definition at line 84 of file LesHouches.h.

Referenced by lhef::CommonBlocks::fillHEPRUP(), ThePEG::LesHouchesInterface::open(), lhef::CommonBlocks::readHEPRUP(), and LHAupLesHouches::setInit().

std::pair<int, int> lhef::HEPRUP::PDFSUP

The id number the PDF used for the beams according to the PDFLib specification.

Definition at line 90 of file LesHouches.h.

Referenced by lhef::CommonBlocks::fillHEPRUP(), ThePEG::LesHouchesInterface::open(), lhef::CommonBlocks::readHEPRUP(), and LHAupLesHouches::setInit().

std::vector<double> lhef::HEPRUP::XERRUP

The statistical error in the cross sections for the different subprocesses in pb.

Definition at line 114 of file LesHouches.h.

Referenced by lhef::CommonBlocks::fillHEPRUP(), ThePEG::LesHouchesInterface::open(), lhef::CommonBlocks::readHEPRUP(), and LHAupLesHouches::setInit().

std::vector<double> lhef::HEPRUP::XMAXUP

The maximum event weights (in XWGTUP) for different subprocesses.

Definition at line 119 of file LesHouches.h.

Referenced by lhef::CommonBlocks::fillHEPRUP(), ThePEG::LesHouchesInterface::open(), lhef::CommonBlocks::readHEPRUP(), and LHAupLesHouches::setInit().

std::vector<double> lhef::HEPRUP::XSECUP

The cross sections for the different subprocesses in pb.

Definition at line 108 of file LesHouches.h.

Referenced by lhef::CommonBlocks::fillHEPRUP(), ThePEG::LesHouchesInterface::open(), lhef::CommonBlocks::readHEPRUP(), and LHAupLesHouches::setInit().