CMS 3D CMS Logo

lhef::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 <SimDataFormats/GeneratorProducts/interface/LesHouches.h>

List of all members.

Public Member Functions

bool operator== (const HEPRUP &other) const
void resize ()
 Assuming the NPRUP variable, corresponding to the number of sub-processes, is correctly set, resize the relevant vectors accordingly.
void resize (int nrup)
 Set the NPRUP variable, corresponding to the number of sub-processes, to nrup, and resize all relevant vectors accordingly.
Standard constructors and destructors.
 HEPRUP ()
 Default constructor.

Public Attributes

std::pair< double, double > EBMUP
 Energy of beam particles given in GeV.
std::pair< int, intIDBMUP
 PDG id's of beam particles.
int IDWTUP
 Master switch indicating how the ME generator envisages the events weights should be interpreted according to the Les Houches accord.
std::vector< intLPRUP
 The subprocess code for the different subprocesses.
int NPRUP
 The number of different subprocesses in this file (should typically be just one).
std::pair< int, intPDFGUP
 The author group for the PDF used for the beams according to the PDFLib specification.
std::pair< int, intPDFSUP
 The id number the PDF used for the beams according to the PDFLib specification.
std::vector< double > XERRUP
 The statistical error in the cross sections for the different subprocesses in pb.
std::vector< double > XMAXUP
 The maximum event weights (in XWGTUP) for different subprocesses.
std::vector< double > XSECUP
 The cross sections for the different subprocesses in pb.


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.

00029 : IDWTUP(0), NPRUP(0) {}


Member Function Documentation

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

Definition at line 33 of file LesHouches.h.

References EBMUP, IDBMUP, IDWTUP, LPRUP, NPRUP, PDFGUP, PDFSUP, XERRUP, XMAXUP, and XSECUP.

00034         {
00035                 return IDBMUP == other.IDBMUP &&
00036                        EBMUP == other.EBMUP &&
00037                        PDFGUP == other.PDFGUP &&
00038                        PDFSUP == other.PDFSUP &&
00039                        IDWTUP == other.IDWTUP &&
00040                        NPRUP == other.NPRUP &&
00041                        XSECUP == other.XSECUP &&
00042                        XERRUP == other.XERRUP &&
00043                        XMAXUP == other.XMAXUP &&
00044                        LPRUP == other.LPRUP;
00045         }

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.

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

Referenced by resize().

00063                       {
00064                 XSECUP.resize(NPRUP);
00065                 XERRUP.resize(NPRUP);
00066                 XMAXUP.resize(NPRUP);
00067                 LPRUP.resize(NPRUP);
00068         }

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.

References NPRUP, and resize().

Referenced by lhef::LHERunInfo::LHERunInfo(), LHERunInfoProduct::mergeProduct(), and lhef::CommonBlocks::readHEPRUP().

00053         {
00054                 NPRUP = nrup;
00055                 resize();
00056         }


Member Data Documentation

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

Energy of beam particles given in GeV.

Definition at line 78 of file LesHouches.h.

Referenced by lhef::CommonBlocks::fillHEPRUP(), lhef::LHEEvent::fillPdfInfo(), lhef::LHERunInfo::LHERunInfo(), LHERunInfoProduct::mergeProduct(), LHERunInfoProduct::const_iterator::next(), ThePEG::LesHouchesInterface::open(), operator==(), lhef::CommonBlocks::readHEPRUP(), and lhef::Pythia8Hadronisation::LHAupLesHouches::setInit().

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(), lhef::LHERunInfo::LHERunInfo(), LHERunInfoProduct::mergeProduct(), LHERunInfoProduct::const_iterator::next(), ThePEG::LesHouchesInterface::open(), operator==(), lhef::CommonBlocks::readHEPRUP(), and lhef::Pythia8Hadronisation::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::LHERunInfo(), LHERunInfoProduct::mergeProduct(), LHERunInfoProduct::const_iterator::next(), operator==(), lhef::CommonBlocks::readHEPRUP(), lhef::Pythia8Hadronisation::LHAupLesHouches::setInit(), lhef::LHERunInfo::statistics(), and lhef::LHERunInfo::xsec().

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(), lhef::LHERunInfo::init(), lhef::LHERunInfo::LHERunInfo(), LHERunInfoProduct::mergeProduct(), LHERunInfoProduct::const_iterator::next(), ThePEG::LesHouchesInterface::open(), operator==(), lhef::CommonBlocks::readHEPRUP(), resize(), and lhef::Pythia8Hadronisation::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(), lhef::LHERunInfo::init(), lhef::LHERunInfo::LHERunInfo(), LHERunInfoProduct::mergeProduct(), LHERunInfoProduct::const_iterator::next(), ThePEG::LesHouchesInterface::open(), operator==(), lhef::CommonBlocks::readHEPRUP(), resize(), and lhef::Pythia8Hadronisation::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(), lhef::LHERunInfo::LHERunInfo(), LHERunInfoProduct::mergeProduct(), LHERunInfoProduct::const_iterator::next(), ThePEG::LesHouchesInterface::open(), operator==(), lhef::CommonBlocks::readHEPRUP(), and lhef::Pythia8Hadronisation::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(), lhef::LHERunInfo::LHERunInfo(), LHERunInfoProduct::mergeProduct(), LHERunInfoProduct::const_iterator::next(), ThePEG::LesHouchesInterface::open(), operator==(), lhef::CommonBlocks::readHEPRUP(), and lhef::Pythia8Hadronisation::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(), lhef::LHERunInfo::LHERunInfo(), LHERunInfoProduct::mergeProduct(), LHERunInfoProduct::const_iterator::next(), ThePEG::LesHouchesInterface::open(), operator==(), lhef::CommonBlocks::readHEPRUP(), resize(), lhef::Pythia8Hadronisation::LHAupLesHouches::setInit(), lhef::LHERunInfo::statistics(), and lhef::LHERunInfo::xsec().

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(), lhef::LHERunInfo::LHERunInfo(), LHERunInfoProduct::mergeProduct(), LHERunInfoProduct::const_iterator::next(), ThePEG::LesHouchesInterface::open(), operator==(), lhef::CommonBlocks::readHEPRUP(), resize(), and lhef::Pythia8Hadronisation::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(), lhef::LHERunInfo::LHERunInfo(), LHERunInfoProduct::mergeProduct(), LHERunInfoProduct::const_iterator::next(), ThePEG::LesHouchesInterface::open(), operator==(), lhef::CommonBlocks::readHEPRUP(), resize(), lhef::Pythia8Hadronisation::LHAupLesHouches::setInit(), lhef::LHERunInfo::statistics(), and lhef::LHERunInfo::xsec().


The documentation for this class was generated from the following file:
Generated on Tue Jun 9 18:48:46 2009 for CMSSW by  doxygen 1.5.4