Definition at line 18 of file LHEReader.h.
boost::shared_ptr< LHEEvent > lhef::LHEReader::next |
( |
bool * |
newFileOpened = nullptr | ) |
|
Definition at line 418 of file LHEReader.cc.
References lhef::LHERunInfo::addHeader(), curDoc, curIndex, curRunInfo, curSource, data, event(), fileURLs, 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, edm::second(), AlCaHLTBitMon_QueryRunRegistry::string, and strName.
426 if ( newFileOpened !=
nullptr ) *newFileOpened =
true;
439 std::istringstream
data;
459 std::for_each(
handler->headers.begin(),
472 <<
"Got LHE event without"
473 " initialization." << std::endl;
481 return boost::shared_ptr<LHEEvent>();
485 boost::shared_ptr<LHEEvent> lheevent;
486 lheevent.reset(
new LHEEvent(
curRunInfo, data));
488 for(
size_t i=0;
i< info.size(); ++
i ) {
491 sscanf(snum.c_str(),
"%le",&
num);
498 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)
std::auto_ptr< XMLHandler > handler
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::auto_ptr< XMLDocument > curDoc
char data[epos_bytes_allocation]
std::auto_ptr< Source > curSource