Definition at line 16 of file LHEReader.h.
std::shared_ptr< LHEEvent > lhef::LHEReader::next |
( |
bool * |
newFileOpened = nullptr | ) |
|
Definition at line 444 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.
456 if (newFileOpened !=
nullptr)
457 *newFileOpened =
true;
476 return std::shared_ptr<LHEEvent>();
484 std::istringstream
data;
490 std::for_each(
handler->headers.begin(),
511 return std::shared_ptr<LHEEvent>();
515 std::istringstream
data;
519 std::shared_ptr<LHEEvent> lheevent;
522 for (
size_t i = 0;
i <
info.size(); ++
i) {
527 lheevent->setNpLO(
handler->npLO);
528 lheevent->setNpNLO(
handler->npNLO);
530 if (!
handler->scales.empty()) {
531 lheevent->setScales(
handler->scales);
538 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