42 : eventList_ (iConfig.getParameter<std::vector<std::
string> >(
"EventList") )
43 , taggingMode_ (iConfig.getParameter<bool>(
"taggingMode") )
47 std::ifstream inStream(fFile.c_str());
51 if(tokens.size() != 3) {
55 events_.push_back(
Event(atoi(tokens[0].c_str()), atoi(tokens[1].c_str()), atoi(tokens[2].c_str())));
59 while( getline(inStream, line) ){
61 if(tokens.size() != 3) {
65 events_.push_back(
Event(atoi(tokens[0].c_str()), atoi(tokens[1].c_str()), atoi(tokens[2].c_str())));
76 for (
unsigned int i = 0;
i <
events_.size(); ++
i) {
82 iEvent.
put( std::auto_ptr<bool>(
new bool(pass)) );
edm::LuminosityBlockNumber_t lumi
T getParameter(std::string const &) const
EventNumber_t event() const
#define DEFINE_FWK_MODULE(type)
virtual bool filter(edm::Event &iEvent, const edm::EventSetup &iSetup) override
unsigned long long EventNumber_t
LuminosityBlockNumber_t luminosityBlock() const
unsigned int LuminosityBlockNumber_t
std::vector< Event > events_
const std::vector< std::string > eventList_
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
MultiEventFilter(const edm::ParameterSet &iConfig)
Event(edm::RunNumber_t r, edm::LuminosityBlockNumber_t l, edm::EventNumber_t e)
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::vector< std::string > tokenize(std::string const &input, std::string const &separator)
breaks the input string into tokens, delimited by the separator
std::string fullPath() const