#include <LesHouches.h>
Public Member Functions | |
bool | operator== (const HEPRUP &other) const |
void | resize (int nrup) |
void | resize () |
void | swap (HEPRUP &other) |
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 |
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.
|
inline |
|
inline |
|
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 Vispa.Gui.TextDialog.TextDialog::__init__(), Vispa.Plugins.ConfigEditor.ToolDialog.ToolDialog::__init__(), Vispa.Main.MainWindow.MainWindow::_loadIni(), AlpgenSource::beginRun(), EmbeddingLHEProducer::beginRunProduce(), lhef::LHERunInfo::LHERunInfo(), lhef::CommonBlocks::readHEPRUP(), and Vispa.Gui.PortConnection.PointToPointConnection::updateConnection().
|
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 Vispa.Gui.TextDialog.TextDialog::__init__(), Vispa.Plugins.ConfigEditor.ToolDialog.ToolDialog::__init__(), Vispa.Main.MainWindow.MainWindow::_loadIni(), resize(), lhef::HEPEUP::resize(), and Vispa.Gui.PortConnection.PointToPointConnection::updateConnection().
|
inline |
Definition at line 70 of file LesHouches.h.
References EBMUP, IDBMUP, IDWTUP, LPRUP, NPRUP, PDFGUP, PDFSUP, std::swap(), XERRUP, XMAXUP, and XSECUP.
Referenced by LHERunInfoProduct::swap().
std::pair<double, double> lhef::HEPRUP::EBMUP |
Energy of beam particles given in GeV.
Definition at line 91 of file LesHouches.h.
Referenced by LHECOMWeightProducer::beginRun(), AlpgenSource::beginRun(), lhef::CommonBlocks::fillHEPRUP(), lhef::LHEEvent::fillPdfInfo(), Herwig6Hadronizer::initialize(), lhef::LHERunInfo::LHERunInfo(), LHERunInfoProduct::mergeProduct(), LHERunInfoProduct::const_iterator::next(), operator==(), LHE2HepMCConverter::produce(), lhef::CommonBlocks::readHEPRUP(), Herwig6Hadronizer::readSettings(), LHAupLesHouches::setInit(), and swap().
std::pair<int, int> lhef::HEPRUP::IDBMUP |
PDG id's of beam particles. (first/second is in +/-z direction).
Definition at line 86 of file LesHouches.h.
Referenced by AlpgenSource::beginRun(), lhef::CommonBlocks::fillHEPRUP(), Herwig6Hadronizer::initialize(), lhef::LHERunInfo::LHERunInfo(), LHERunInfoProduct::mergeProduct(), LHERunInfoProduct::const_iterator::next(), operator==(), LHE2HepMCConverter::produce(), lhef::CommonBlocks::readHEPRUP(), Herwig6Hadronizer::readSettings(), LHAupLesHouches::setInit(), and swap().
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 110 of file LesHouches.h.
Referenced by AlpgenSource::beginRun(), EmbeddingLHEProducer::beginRunProduce(), edm::HadronizerFilter< HAD, DEC >::endLuminosityBlockProduce(), lhef::CommonBlocks::fillHEPRUP(), lhef::LHERunInfo::getHEPIDWTUP(), lhef::LHERunInfo::LHERunInfo(), LHERunInfoProduct::mergeProduct(), LHERunInfoProduct::const_iterator::next(), operator==(), lhef::CommonBlocks::readHEPRUP(), LHAupLesHouches::setInit(), lhef::LHERunInfo::statistics(), swap(), and lhef::LHERunInfo::xsec().
std::vector<int> lhef::HEPRUP::LPRUP |
The subprocess code for the different subprocesses.
Definition at line 137 of file LesHouches.h.
Referenced by AlpgenSource::beginRun(), EmbeddingLHEProducer::beginRunProduce(), GenXSecAnalyzer::endRun(), lhef::CommonBlocks::fillHEPRUP(), lhef::LHERunInfo::init(), lhef::LHERunInfo::initLumi(), lhef::LHERunInfo::LHERunInfo(), LHERunInfoProduct::const_iterator::next(), operator==(), MCatNLOSource::produce(), lhef::CommonBlocks::readHEPRUP(), resize(), LHAupLesHouches::setInit(), and swap().
int lhef::HEPRUP::NPRUP |
The number of different subprocesses in this file (should typically be just one)
Definition at line 116 of file LesHouches.h.
Referenced by lhef::CommonBlocks::fillHEPRUP(), lhef::LHERunInfo::init(), lhef::LHERunInfo::initLumi(), lhef::LHERunInfo::LHERunInfo(), LHERunInfoProduct::const_iterator::next(), operator==(), lhef::CommonBlocks::readHEPRUP(), resize(), LHAupLesHouches::setInit(), and swap().
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 97 of file LesHouches.h.
Referenced by LHECOMWeightProducer::beginRun(), AlpgenSource::beginRun(), lhef::CommonBlocks::fillHEPRUP(), lhef::LHERunInfo::LHERunInfo(), LHERunInfoProduct::mergeProduct(), LHERunInfoProduct::const_iterator::next(), operator==(), lhef::LHERunInfo::pdfSetTranslation(), lhef::CommonBlocks::readHEPRUP(), LHAupLesHouches::setInit(), and swap().
std::pair<int, int> lhef::HEPRUP::PDFSUP |
The id number the PDF used for the beams according to the PDFLib specification.
Definition at line 103 of file LesHouches.h.
Referenced by LHECOMWeightProducer::beginRun(), AlpgenSource::beginRun(), lhef::CommonBlocks::fillHEPRUP(), lhef::LHERunInfo::LHERunInfo(), LHERunInfoProduct::mergeProduct(), LHERunInfoProduct::const_iterator::next(), operator==(), lhef::LHERunInfo::pdfSetTranslation(), lhef::CommonBlocks::readHEPRUP(), LHAupLesHouches::setInit(), and swap().
std::vector<double> lhef::HEPRUP::XERRUP |
The statistical error in the cross sections for the different subprocesses in pb.
Definition at line 127 of file LesHouches.h.
Referenced by AlpgenSource::beginRun(), EmbeddingLHEProducer::beginRunProduce(), GenXSecAnalyzer::endRun(), lhef::CommonBlocks::fillHEPRUP(), lhef::LHERunInfo::initLumi(), lhef::LHERunInfo::LHERunInfo(), LHERunInfoProduct::const_iterator::next(), operator==(), lhef::CommonBlocks::readHEPRUP(), resize(), LHAupLesHouches::setInit(), lhef::LHERunInfo::statistics(), swap(), and lhef::LHERunInfo::xsec().
std::vector<double> lhef::HEPRUP::XMAXUP |
The maximum event weights (in XWGTUP) for different subprocesses.
Definition at line 132 of file LesHouches.h.
Referenced by AlpgenSource::beginRun(), EmbeddingLHEProducer::beginRunProduce(), GenXSecAnalyzer::endRun(), lhef::CommonBlocks::fillHEPRUP(), lhef::LHERunInfo::LHERunInfo(), LHERunInfoProduct::const_iterator::next(), operator==(), lhef::CommonBlocks::readHEPRUP(), resize(), LHAupLesHouches::setInit(), and swap().
std::vector<double> lhef::HEPRUP::XSECUP |
The cross sections for the different subprocesses in pb.
Definition at line 121 of file LesHouches.h.
Referenced by AlpgenSource::beginRun(), EmbeddingLHEProducer::beginRunProduce(), GenXSecAnalyzer::endRun(), lhef::CommonBlocks::fillHEPRUP(), lhef::LHERunInfo::initLumi(), lhef::LHERunInfo::LHERunInfo(), LHERunInfoProduct::const_iterator::next(), operator==(), lhef::CommonBlocks::readHEPRUP(), resize(), LHAupLesHouches::setInit(), lhef::LHERunInfo::statistics(), swap(), and lhef::LHERunInfo::xsec().