63 std::vector<edm::EventID>
ids_;
81 ids_(iConfig.getUntrackedParameter<
std::vector<
edm::EventID> >(
"eventSequence")),
100 throw cms::Exception(
"TooManyEvents") <<
"Was passes " <<
ids_.size() <<
" EventIDs but have processed more events than that\n";
103 throw cms::Exception(
"WrongEvent") <<
"Was expecting event " <<
ids_[
index_] <<
" but was given " << iEventID <<
"\n";
151 desc.
addUntracked<std::vector<edm::EventID> >(
"eventSequence");
152 descriptions.
add(
"runLumiEventIDChecker", desc);
LuminosityBlockID id() const
std::vector< edm::EventID > ids_
ParameterDescriptionBase * addUntracked(U const &iLabel, T const &value)
#define DEFINE_FWK_MODULE(type)
std::map< edm::EventID, unsigned int > seenIDs_
RunLumiEventChecker(edm::ParameterSet const &)
void analyze(edm::Event const &, edm::EventSetup const &) override
void check(edm::EventID const &iID, bool isEvent)
void beginRun(edm::Run const &run, edm::EventSetup const &es) override
void beginLuminosityBlock(edm::LuminosityBlock const &lumi, edm::EventSetup const &es) override
~RunLumiEventChecker() override
LuminosityBlockNumber_t luminosityBlock() const
void add(std::string const &label, ParameterSetDescription const &psetDescription)
void endRun(edm::Run const &run, edm::EventSetup const &es) override
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
void endLuminosityBlock(edm::LuminosityBlock const &lumi, edm::EventSetup const &es) override