Definition at line 485 of file LHEReader.cc.
References lhef::LHERunInfo::addHeader(), curDoc, curIndex, curRunInfo, curSource, data, event(), fileURLs, plotBeamSpotDB::first, firstEvent, handler, i, info(), lhef::LHEReader::XMLHandler::kComment, lhef::LHEReader::XMLHandler::kEvent, lhef::LHEReader::XMLHandler::kHeader, lhef::LHEReader::XMLHandler::kInit, lhef::LHEReader::XMLHandler::kNone, lhef::logFileAction(), maxEvents, pileupDistInMC::num, edm::second(), and strName.
Referenced by BeautifulSoup.PageElement::_invert().
493 if ( newFileOpened !=
nullptr ) *newFileOpened =
true;
513 return boost::shared_ptr<LHEEvent>();
522 std::istringstream
data;
528 std::for_each(
handler->headers.begin(),
543 <<
"Got LHE event without"
544 " initialization." << std::endl;
552 return boost::shared_ptr<LHEEvent>();
556 std::istringstream
data;
560 boost::shared_ptr<LHEEvent> lheevent;
561 lheevent.reset(
new LHEEvent(
curRunInfo, data));
563 for(
size_t i=0;
i< info.size(); ++
i ) {
568 lheevent->setNpLO(
handler->npLO);
569 lheevent->setNpNLO(
handler->npNLO);
571 if (
handler->scales.size()>0) {
572 lheevent->setScales(
handler->scales);
579 return boost::shared_ptr<LHEEvent>();
static void logFileAction(char const *msg, std::string const &fileName)
const std::vector< std::string > fileURLs
U second(std::pair< T, U > const &p)
boost::shared_ptr< LHERunInfo > curRunInfo
void addHeader(const Header &header)
const std::string strName
std::vector< std::pair< std::string, std::string > > wgt_info
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger but the state exists so we define the behavior If all triggers are the negative crieriion will lead to accepting the event(this again matches the behavior of"!*"before the partial wildcard feature was incorporated).The per-event"cost"of each negative criterion with multiple relevant triggers is about the same as!*was in the past
std::unique_ptr< XMLDocument > curDoc
std::unique_ptr< Source > curSource
char data[epos_bytes_allocation]
std::unique_ptr< XMLHandler > handler