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

The HEPRUP 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.

pair< long, long > IDBMUP
 PDG id's of beam particles.
 
pair< double, double > EBMUP
 Energy of beam particles given in GeV.
 
pair< int, int > PDFGUP
 The author group for the PDF used for the beams according to the PDFLib specification.
 
pair< int, int > PDFSUP
 The id number the PDF used for the beams according to the PDFLib specification.
 
int IDWTUP
 Master switch indicating how the ME generator envisages the events weights should be interpreted according to the Les Houches accord.
 
int NPRUP
 The number of different subprocesses in this file (should typically be just one)
 
vector< double > XSECUP
 The cross sections for the different subprocesses in pb.
 
vector< double > XERRUP
 The statistical error in the cross sections for the different subprocesses in pb.
 
vector< double > XMAXUP
 The maximum event weights (in XWGTUP) for different subprocesses.
 
vector< int > LPRUP
 The subprocess code for the different subprocesses.
 
 HEPRUP ()
 Default constructor.
 
void resize (int nrup)
 Set the NPRUP variable, corresponding to the number of sub-processes, to nrup, and resize all relevant vectors accordingly.
 
void resize ()
 Assuming the NPRUP variable, corresponding to the number of sub-processes, is correctly set, resize the relevant vectors accordingly.
 

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

Constructor & Destructor Documentation

◆ HEPRUP()

ThePEG::HEPRUP::HEPRUP ( )
inline

Default constructor.

Definition at line 35 of file LesHouches.h.

Member Function Documentation

◆ resize() [1/2]

void ThePEG::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 55 of file LesHouches.h.

References LPRUP, NPRUP, XERRUP, XMAXUP, and XSECUP.

Referenced by resize().

◆ resize() [2/2]

void ThePEG::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 45 of file LesHouches.h.

References NPRUP, and resize().

Member Data Documentation

◆ EBMUP

pair<double,double> ThePEG::HEPRUP::EBMUP

Energy of beam particles given in GeV.

Definition at line 70 of file LesHouches.h.

◆ IDBMUP

pair<long,long> ThePEG::HEPRUP::IDBMUP

PDG id's of beam particles.

(first/second is in +/-z direction).

Definition at line 65 of file LesHouches.h.

◆ IDWTUP

int ThePEG::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 89 of file LesHouches.h.

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

◆ LPRUP

vector<int> ThePEG::HEPRUP::LPRUP

The subprocess code for the different subprocesses.

Definition at line 116 of file LesHouches.h.

Referenced by resize().

◆ NPRUP

int ThePEG::HEPRUP::NPRUP

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

Definition at line 95 of file LesHouches.h.

Referenced by resize().

◆ PDFGUP

pair<int,int> ThePEG::HEPRUP::PDFGUP

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

Definition at line 76 of file LesHouches.h.

◆ PDFSUP

pair<int,int> ThePEG::HEPRUP::PDFSUP

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

Definition at line 82 of file LesHouches.h.

◆ XERRUP

vector<double> ThePEG::HEPRUP::XERRUP

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

Definition at line 106 of file LesHouches.h.

Referenced by resize().

◆ XMAXUP

vector<double> ThePEG::HEPRUP::XMAXUP

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

Definition at line 111 of file LesHouches.h.

Referenced by resize().

◆ XSECUP

vector<double> ThePEG::HEPRUP::XSECUP

The cross sections for the different subprocesses in pb.

Definition at line 100 of file LesHouches.h.

Referenced by resize().


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