#include <LHECommonBlocks.h>
Static Public Member Functions | |
static void | fillHEPEUP (const HEPEUP *hepeup) |
static void | fillHEPRUP (const HEPRUP *heprup) |
static void | readHEPEUP (HEPEUP *hepeup) |
static void | readHEPRUP (HEPRUP *heprup) |
Private Member Functions | |
CommonBlocks () | |
~CommonBlocks () |
Definition at line 39 of file LHECommonBlocks.h.
lhef::CommonBlocks::CommonBlocks | ( | ) | [private] |
lhef::CommonBlocks::~CommonBlocks | ( | ) | [private] |
static void lhef::CommonBlocks::fillHEPEUP | ( | const HEPEUP * | hepeup | ) | [inline, static] |
Definition at line 61 of file LHECommonBlocks.h.
References HEPEUP_::aqcdup, lhef::HEPEUP::AQCDUP, HEPEUP_::aqedup, lhef::HEPEUP::AQEDUP, hepeup_, i, lhef::HEPEUP::ICOLUP, HEPEUP_::icolup, HEPEUP_::idprup, lhef::HEPEUP::IDPRUP, lhef::HEPEUP::IDUP, HEPEUP_::idup, lhef::HEPEUP::ISTUP, HEPEUP_::istup, j, HEPEUP_::mothup, lhef::HEPEUP::MOTHUP, lhef::HEPEUP::NUP, HEPEUP_::nup, HEPEUP_::pup, lhef::HEPEUP::PUP, HEPEUP_::scalup, lhef::HEPEUP::SCALUP, HEPEUP_::spinup, lhef::HEPEUP::SPINUP, HEPEUP_::vtimup, lhef::HEPEUP::VTIMUP, HEPEUP_::xwgtup, and lhef::HEPEUP::XWGTUP.
Referenced by gen::FortranCallback::fillEvent(), and Herwig6Hadronizer::upEvnt().
{ hepeup_.nup = hepeup->NUP; hepeup_.idprup = hepeup->IDPRUP; hepeup_.xwgtup = hepeup->XWGTUP; hepeup_.scalup = hepeup->SCALUP; hepeup_.aqedup = hepeup->AQEDUP; hepeup_.aqcdup = hepeup->AQCDUP; for(int i = 0; i < hepeup->NUP; i++) { hepeup_.idup[i] = hepeup->IDUP[i]; hepeup_.istup[i] = hepeup->ISTUP[i]; hepeup_.mothup[i][0] = hepeup->MOTHUP[i].first; hepeup_.mothup[i][1] = hepeup->MOTHUP[i].second; hepeup_.icolup[i][0] = hepeup->ICOLUP[i].first; hepeup_.icolup[i][1] = hepeup->ICOLUP[i].second; for(unsigned int j = 0; j < 5; j++) hepeup_.pup[i][j] = hepeup->PUP[i][j]; hepeup_.vtimup[i] = hepeup->VTIMUP[i]; hepeup_.spinup[i] = hepeup->SPINUP[i]; } }
static void lhef::CommonBlocks::fillHEPRUP | ( | const HEPRUP * | heprup | ) | [inline, static] |
Definition at line 41 of file LHECommonBlocks.h.
References HEPRUP_::ebmup, lhef::HEPRUP::EBMUP, heprup_, i, lhef::HEPRUP::IDBMUP, HEPRUP_::idbmup, lhef::HEPRUP::IDWTUP, HEPRUP_::idwtup, lhef::HEPRUP::LPRUP, HEPRUP_::lprup, lhef::HEPRUP::NPRUP, HEPRUP_::nprup, lhef::HEPRUP::PDFGUP, HEPRUP_::pdfgup, HEPRUP_::pdfsup, lhef::HEPRUP::PDFSUP, HEPRUP_::xerrup, lhef::HEPRUP::XERRUP, HEPRUP_::xmaxup, lhef::HEPRUP::XMAXUP, lhef::HEPRUP::XSECUP, and HEPRUP_::xsecup.
Referenced by gen::FortranCallback::fillHeader(), and Herwig6Hadronizer::upInit().
{ heprup_.idbmup[0] = heprup->IDBMUP.first; heprup_.idbmup[1] = heprup->IDBMUP.second; heprup_.ebmup[0] = heprup->EBMUP.first; heprup_.ebmup[1] = heprup->EBMUP.second; heprup_.pdfgup[0] = heprup->PDFGUP.first; heprup_.pdfgup[1] = heprup->PDFGUP.second; heprup_.pdfsup[0] = heprup->PDFSUP.first; heprup_.pdfsup[1] = heprup->PDFSUP.second; heprup_.idwtup = heprup->IDWTUP; heprup_.nprup = heprup->NPRUP; for(int i = 0; i < heprup->NPRUP; i++) { heprup_.xsecup[i] = heprup->XSECUP[i]; heprup_.xerrup[i] = heprup->XERRUP[i]; heprup_.xmaxup[i] = heprup->XMAXUP[i]; heprup_.lprup[i] = heprup->LPRUP[i]; } }
static void lhef::CommonBlocks::readHEPEUP | ( | HEPEUP * | hepeup | ) | [inline, static] |
Definition at line 103 of file LHECommonBlocks.h.
References HEPEUP_::aqcdup, lhef::HEPEUP::AQCDUP, HEPEUP_::aqedup, lhef::HEPEUP::AQEDUP, hepeup_, i, lhef::HEPEUP::ICOLUP, HEPEUP_::icolup, HEPEUP_::idprup, lhef::HEPEUP::IDPRUP, lhef::HEPEUP::IDUP, HEPEUP_::idup, lhef::HEPEUP::ISTUP, HEPEUP_::istup, j, HEPEUP_::mothup, lhef::HEPEUP::MOTHUP, lhef::HEPEUP::NUP, HEPEUP_::nup, HEPEUP_::pup, lhef::HEPEUP::PUP, lhef::HEPEUP::resize(), HEPEUP_::scalup, lhef::HEPEUP::SCALUP, HEPEUP_::spinup, lhef::HEPEUP::SPINUP, HEPEUP_::vtimup, lhef::HEPEUP::VTIMUP, HEPEUP_::xwgtup, and lhef::HEPEUP::XWGTUP.
Referenced by MCatNLOSource::produce().
{ hepeup->resize(hepeup_.nup); hepeup->IDPRUP = hepeup_.idprup; hepeup->XWGTUP = hepeup_.xwgtup; hepeup->SCALUP = hepeup_.scalup; hepeup->AQEDUP = hepeup_.aqedup; hepeup->AQCDUP = hepeup_.aqcdup; for(int i = 0; i < hepeup->NUP; i++) { hepeup->IDUP[i] = hepeup_.idup[i]; hepeup->ISTUP[i] = hepeup_.istup[i]; hepeup->MOTHUP[i].first = hepeup_.mothup[i][0]; hepeup->MOTHUP[i].second = hepeup_.mothup[i][1]; hepeup->ICOLUP[i].first = hepeup_.icolup[i][0]; hepeup->ICOLUP[i].second = hepeup_.icolup[i][1]; for(unsigned int j = 0; j < 5; j++) hepeup->PUP[i][j] = hepeup_.pup[i][j]; hepeup->VTIMUP[i] = hepeup_.vtimup[i]; hepeup->SPINUP[i] = hepeup_.spinup[i]; } }
static void lhef::CommonBlocks::readHEPRUP | ( | HEPRUP * | heprup | ) | [inline, static] |
Definition at line 83 of file LHECommonBlocks.h.
References HEPRUP_::ebmup, lhef::HEPRUP::EBMUP, heprup_, i, lhef::HEPRUP::IDBMUP, HEPRUP_::idbmup, lhef::HEPRUP::IDWTUP, HEPRUP_::idwtup, lhef::HEPRUP::LPRUP, HEPRUP_::lprup, lhef::HEPRUP::NPRUP, HEPRUP_::nprup, lhef::HEPRUP::PDFGUP, HEPRUP_::pdfgup, lhef::HEPRUP::PDFSUP, HEPRUP_::pdfsup, lhef::HEPRUP::resize(), HEPRUP_::xerrup, lhef::HEPRUP::XERRUP, HEPRUP_::xmaxup, lhef::HEPRUP::XMAXUP, lhef::HEPRUP::XSECUP, and HEPRUP_::xsecup.
Referenced by MCatNLOSource::beginRun(), and MCatNLOSource::produce().
{ heprup->resize(heprup_.nprup); heprup->IDBMUP.first = heprup_.idbmup[0]; heprup->IDBMUP.second = heprup_.idbmup[1]; heprup->EBMUP.first = heprup_.ebmup[0]; heprup->EBMUP.second = heprup_.ebmup[1]; heprup->PDFGUP.first = heprup_.pdfgup[0]; heprup->PDFGUP.second = heprup_.pdfgup[1]; heprup->PDFSUP.first = heprup_.pdfsup[0]; heprup->PDFSUP.second = heprup_.pdfsup[1]; heprup->IDWTUP = heprup_.idwtup; for(int i = 0; i < heprup->NPRUP; i++) { heprup->XSECUP[i] = heprup_.xsecup[i]; heprup->XERRUP[i] = heprup_.xerrup[i]; heprup->XMAXUP[i] = heprup_.xmaxup[i]; heprup->LPRUP[i] = heprup_.lprup[i]; } }