Definition at line 16 of file LHEReader.h.
std::shared_ptr< LHEEvent > lhef::LHEReader::next |
( |
bool * |
newFileOpened = nullptr | ) |
|
Definition at line 445 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.
457 if (newFileOpened !=
nullptr)
458 *newFileOpened =
true;
477 return std::shared_ptr<LHEEvent>();
485 std::istringstream
data;
491 std::for_each(
handler->headers.begin(),
512 return std::shared_ptr<LHEEvent>();
516 std::istringstream
data;
520 std::shared_ptr<LHEEvent> lheevent;
521 lheevent.reset(
new LHEEvent(
curRunInfo, data));
523 for (
size_t i = 0;
i < info.size(); ++
i) {
528 lheevent->setNpLO(
handler->npLO);
529 lheevent->setNpNLO(
handler->npNLO);
531 if (!
handler->scales.empty()) {
532 lheevent->setScales(
handler->scales);
539 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