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, submitPVValidationJobs::runInfo, gen::PdfInfo::scalePDF, lhef::HEPEUP::SCALUP, lhef::HEPEUP::SPINUP, lhef::HEPEUP::VTIMUP, gen::PdfInfo::x, gen::PdfInfo::xPDF, and lhef::HEPEUP::XWGTUP.