Definition at line 16 of file LHEReader.h.
std::shared_ptr< LHEEvent > lhef::LHEReader::next |
( |
bool * |
newFileOpened = nullptr | ) |
|
Definition at line 448 of file LHEReader.cc.
References lhef::LHERunInfo::addHeader(), curDoc, curIndex, curRunInfo, curSource, data, fileURLs, dqmdumpme::first, firstEvent, handler, mps_fire::i, info(), lhef::LHEReader::XMLHandler::kComment, lhef::LHEReader::XMLHandler::kEvent, lhef::LHEReader::XMLHandler::kHeader, lhef::LHEReader::XMLHandler::kInit, lhef::LHEReader::XMLHandler::kNone, particlelevel_cff::LHERunInfo, lhef::logFileAction(), maxEvents, EgammaValidation_cff::num, platform, lhef::XMLDocument::platformHandle(), edm::second(), and strName.
460 if (newFileOpened !=
nullptr)
461 *newFileOpened =
true;
480 return std::shared_ptr<LHEEvent>();
488 std::istringstream
data;
494 std::for_each(
handler->headers.begin(),
515 return std::shared_ptr<LHEEvent>();
519 std::istringstream
data;
523 std::shared_ptr<LHEEvent> lheevent;
526 for (
size_t i = 0;
i <
info.size(); ++
i) {
531 lheevent->setNpLO(
handler->npLO);
532 lheevent->setNpNLO(
handler->npNLO);
533 lheevent->setEvtNum(
handler->evtnum);
536 if (!
handler->scales.empty()) {
537 lheevent->setScales(
handler->scales);
544 return std::shared_ptr<LHEEvent>();
std::shared_ptr< void > platform
static void logFileAction(char const *msg, std::string const &fileName)
std::vector< std::pair< std::string, std::string > > wgt_info
const std::vector< std::string > fileURLs
U second(std::pair< T, U > const &p)
void addHeader(const Header &header)
const std::string strName
static std::shared_ptr< void > platformHandle()
std::unique_ptr< XMLDocument > curDoc
std::unique_ptr< Source > curSource
char data[epos_bytes_allocation]
std::shared_ptr< LHERunInfo > curRunInfo
std::unique_ptr< XMLHandler > handler