#include <LHAupLesHouches.h>
Definition at line 20 of file LHAupLesHouches.h.
◆ LHAupLesHouches()
LHAupLesHouches::LHAupLesHouches |
( |
| ) |
|
|
inline |
◆ ~LHAupLesHouches()
LHAupLesHouches::~LHAupLesHouches |
( |
| ) |
|
|
inlineoverride |
◆ loadEvent()
◆ loadRunInfo()
◆ setEvent()
bool LHAupLesHouches::setEvent |
( |
int |
idProcIn | ) |
|
|
overrideprivate |
Definition at line 50 of file LHAupLesHouches.cc.
54 if (
event->getReadAttempts() > 0)
64 const std::vector<float> &scales =
event->scales();
66 unsigned int iscale = 0;
67 for (
int i = 0;
i < hepeup.
NUP;
i++) {
74 if (iscale >= scales.size()) {
76 <<
"cluster scales for all outgoing partons or for none" << std::endl;
78 scalein = scales[iscale];
82 addParticle(hepeup.
IDUP[
i],
98 if (!infoPtr->eventAttributes) {
103 infoPtr->eventAttributes->clear();
107 int npLO =
event->npLO();
108 int npNLO =
event->npNLO();
114 snprintf(
buffer, 100,
"%i", npLO);
115 (*infoPtr->eventAttributes)[
"npLO"] =
buffer;
119 snprintf(
buffer, 100,
"%i", npNLO);
120 (*infoPtr->eventAttributes)[
"npNLO"] =
buffer;
124 const std::vector<std::string> &
comments =
event->getComments();
127 (*infoPtr->eventAttributes)[
"#rwgt"] =
comments[
i];
132 this->setPdf(pdf->
id.first,
141 this->setPdf(hepeup.
IDUP[0],
References lhef::HEPEUP::AQCDUP, lhef::HEPEUP::AQEDUP, edmScanValgrind::buffer, indexGen::comments, mps_fire::i, lhef::HEPEUP::ICOLUP, gen::PdfInfo::id, lhef::HEPEUP::IDPRUP, lhef::HEPEUP::IDUP, lhef::HEPEUP::ISTUP, lhef::HEPEUP::MOTHUP, lhef::HEPEUP::NUP, lhef::HEPEUP::PUP, gen::PdfInfo::scalePDF, lhef::HEPEUP::SCALUP, lhef::HEPEUP::SPINUP, lhef::HEPEUP::VTIMUP, gen::PdfInfo::x, gen::PdfInfo::xPDF, and lhef::HEPEUP::XWGTUP.
◆ setInit()
bool LHAupLesHouches::setInit |
( |
| ) |
|
|
overrideprivate |
Definition at line 14 of file LHAupLesHouches.cc.
21 setStrategy(heprup.
IDWTUP);
23 for (
int i = 0;
i < heprup.
NPRUP;
i++)
34 for (std::vector<std::string>::const_iterator iter = slha.begin(); iter != slha.end(); ++iter) {
35 slhaheader.append(*iter);
37 infoPtr->setHeader(
"slha", slhaheader);
References lhef::HEPRUP::EBMUP, mps_fire::i, lhef::HEPRUP::IDBMUP, lhef::HEPRUP::IDWTUP, lhef::HEPRUP::LPRUP, lhef::HEPRUP::NPRUP, lhef::HEPRUP::PDFGUP, lhef::HEPRUP::PDFSUP, AlCaHLTBitMon_QueryRunRegistry::string, lhef::HEPRUP::XERRUP, lhef::HEPRUP::XMAXUP, and lhef::HEPRUP::XSECUP.
◆ setScalesFromLHEF()
void LHAupLesHouches::setScalesFromLHEF |
( |
bool |
b | ) |
|
|
inline |
◆ event
◆ fEvAttributes
std::map<std::string, std::string>* LHAupLesHouches::fEvAttributes |
|
private |
◆ runInfo
◆ setScalesFromLHEF_
bool LHAupLesHouches::setScalesFromLHEF_ |
|
private |