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;
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();
125 for (
unsigned i = 0;
i < comments.size();
i++) {
126 if (comments[
i].rfind(
"#rwgt", 0) == 0)
127 (*infoPtr->eventAttributes)[
"#rwgt"] = comments[
i];
132 this->setPdf(pdf->
id.first,
141 this->setPdf(hepeup.
IDUP[0],
std::vector< std::pair< int, int > > ICOLUP
std::pair< double, double > EBMUP
std::pair< double, double > x
std::vector< double > VTIMUP
Log< level::Error, false > LogError
const HEPRUP * getHEPRUP() const
std::pair< double, double > xPDF
std::vector< FiveVector > PUP
std::vector< double > SPINUP
std::vector< std::pair< int, int > > MOTHUP
lhef::LHERunInfo * runInfo
std::map< std::string, std::string > * fEvAttributes