24 throw cms::Exception(
"TestFailure") <<
"beginOfJob: got " << doodad.a <<
" while expected 1";
31 throw cms::Exception(
"TestFailure") <<
"beginRun: got " << doodad.a <<
" while expected 1";
T const & getData(const ESGetToken< T, R > &iToken) const noexcept(false)
void startingNewLoop(unsigned int) override
#define DEFINE_FWK_LOOPER(type)
Status duringLoop(edm::Event const &iEvent, edm::EventSetup const &iSetup) override
edm::ESGetToken< Doodad, GadgetRcd > token_
~DoodadEDLooper() override=default
Status endOfLoop(edm::EventSetup const &, unsigned int iCount) override
void beginRun(edm::Run const &iRun, edm::EventSetup const &iSetup) override
Called after all event modules have processed the begin of a Run.
DoodadEDLooper(edm::ParameterSet const &iPSet)
void beginOfJob(edm::EventSetup const &iSetup) override