Go to the documentation of this file.
36 moduleChanger_(nullptr),
37 moduleDescription_(
"Looper",
"looper"),
38 moduleCallingContext_(&moduleDescription_) {}
55 event.setConsumer(
this);
64 e.addContext(
"Calling the 'duringLoop' method of a looper");
113 run.setConsumer(
this);
130 run.setConsumer(
this);
187 return std::set<eventsetup::EventSetupRecordKey>();
Timestamp const & endTime() const
RunPrincipal const & runPrincipal() const
LuminosityBlockPrincipal const & luminosityBlockPrincipal() const
void setTransition(Transition v)
void copyInfo(ScheduleInfo const &)
void printCmsExceptionWarning(char const *behavior, cms::Exception const &e)
void setTimestamp(Timestamp const &v)
void setLuminosityBlockIndex(LuminosityBlockIndex const &v)
void doBeginRun(RunPrincipal &, EventSetupImpl const &, ProcessContext *)
void prepareForNextLoop(eventsetup::EventSetupProvider *esp)
~EDLooperBase() noexcept(false) override
EventID const & id() const
void setModuleChanger(ModuleChanger *)
void resetRecordPlusDependentRecords(EventSetupRecordKey const &)
Used when we need to force a Record to reset all its proxies.
Func for_all(ForwardSequence &s, Func f)
wrapper for std::for_each
ExceptionToActionTable const * act_table_
Timestamp const & beginTime() const
Timestamp const & time() const
edm::propagate_const< ModuleChanger * > moduleChanger_
virtual void endRun(Run const &, EventSetup const &)
Called after all event modules have processed the end of a Run.
ScheduleInfo const * scheduleInfo() const
This returns a non-zero value after the constructor has been called.
virtual void beginRun(Run const &, EventSetup const &)
Called after all event modules have processed the begin of a Run.
virtual void startingNewLoop(unsigned int)=0
virtual void endLuminosityBlock(LuminosityBlock const &, EventSetup const &)
Called after all event modules have processed the end of a LuminosityBlock.
ModuleDescription moduleDescription_
static LuminosityBlockIndex invalidLuminosityBlockIndex()
void setConsumer(EDConsumerBase const *iConsumer)
ModuleChanger * moduleChanger()
This only returns a non-zero value during the call to endOfLoop.
void doEndLuminosityBlock(LuminosityBlockPrincipal &, EventSetupImpl const &, ProcessContext *)
virtual Status endOfLoop(EventSetup const &, unsigned int iCounter)=0
ModuleCallingContext moduleCallingContext_
Status doDuringLoop(EventPrincipal &eventPrincipal, EventSetupImpl const &es, ProcessingController &, StreamContext *)
void setEventID(EventID const &v)
Status doEndOfLoop(EventSetupImpl const &es)
void doEndRun(RunPrincipal &, EventSetupImpl const &, ProcessContext *)
void setRunIndex(RunIndex const &v)
LuminosityBlockID id() const
ESProxyIndex const * esGetTokenIndices(edm::Transition iTrans) const
virtual Status duringLoop(Event const &, EventSetup const &, ProcessingController &)=0
virtual void attachTo(ActivityRegistry &)
Override this method if you need to monitor the state of the processing.
exception_actions::ActionCodes find(const std::string &category) const
virtual std::set< eventsetup::EventSetupRecordKey > modifyingRecords() const
LuminosityBlockIndex index() const
Timestamp const & beginTime() const
edm::propagate_const< std::unique_ptr< ScheduleInfo > > scheduleInfo_
void doBeginLuminosityBlock(LuminosityBlockPrincipal &, EventSetupImpl const &, ProcessContext *)
virtual void beginOfJob()
virtual void beginLuminosityBlock(LuminosityBlock const &, EventSetup const &)
Called after all event modules have processed the begin of a LuminosityBlock.