40 moduleChanger_(nullptr),
41 moduleDescription_(
"Looper",
"looper"),
42 moduleCallingContext_(&moduleDescription_) {}
59 event.setConsumer(
this);
68 e.addContext(
"Calling the 'duringLoop' method of a looper");
114 run.setConsumer(
this);
131 run.setConsumer(
this);
204 bool skipCurrentProcess =
item.skipCurrentProcess();
227 for (
size_t i = 0;
i !=
items.size(); ++
i) {
238 return std::set<eventsetup::EventSetupRecordKey>();
LuminosityBlockID id() const
void setConsumer(EDConsumerBase const *iConsumer)
void setTimestamp(Timestamp const &v)
Timestamp const & endTime() const
virtual Status endOfLoop(EventSetup const &, unsigned int iCounter)=0
void doEndLuminosityBlock(LuminosityBlockPrincipal &, EventSetupImpl const &, ProcessContext *)
unsigned int ProductResolverIndex
ModuleCallingContext moduleCallingContext_
void prefetchAsync(WaitingTaskHolder iTask, ESProxyIndex iProxyIndex, EventSetupImpl const *, ServiceToken const &, ESParentContext) const
prefetch the data to setup for subsequent calls to getImplementation
RunPrincipal const & runPrincipal() const
std::vector< ProductResolverIndexAndSkipBit > const & itemsToGetFrom(BranchType iType) const
Status doEndOfLoop(EventSetupImpl const &es)
Timestamp const & time() const
ESProxyIndex const * esGetTokenIndices(edm::Transition iTrans) const
LuminosityBlockPrincipal const & luminosityBlockPrincipal() const
void prefetchAsync(WaitingTaskHolder waitTask, ProductResolverIndex index, bool skipCurrentProcess, ServiceToken const &token, ModuleCallingContext const *mcc) const
ScheduleInfo const * scheduleInfo() const
This returns a non-zero value after the constructor has been called.
virtual Status duringLoop(Event const &, EventSetup const &, ProcessingController &)=0
virtual void beginLuminosityBlock(LuminosityBlock const &, EventSetup const &)
Called after all event modules have processed the begin of a LuminosityBlock.
void setTransition(Transition v)
Func for_all(ForwardSequence &s, Func f)
wrapper for std::for_each
virtual std::set< eventsetup::EventSetupRecordKey > modifyingRecords() const
Timestamp const & beginTime() const
ModuleDescription moduleDescription_
void setLuminosityBlockIndex(LuminosityBlockIndex const &v)
Status doDuringLoop(EventPrincipal &eventPrincipal, EventSetupImpl const &es, ProcessingController &, StreamContext *)
void doBeginRun(RunPrincipal &, EventSetupImpl const &, ProcessContext *)
void resetRecordPlusDependentRecords(EventSetupRecordKey const &)
Used when we need to force a Record to reset all its proxies.
Timestamp const & beginTime() const
~EDLooperBase() noexcept(false) override
static LuminosityBlockIndex invalidLuminosityBlockIndex()
void setModuleChanger(ModuleChanger *)
edm::propagate_const< std::unique_ptr< ScheduleInfo > > scheduleInfo_
ExceptionToActionTable const * act_table_
void copyInfo(ScheduleInfo const &)
void doBeginLuminosityBlock(LuminosityBlockPrincipal &, EventSetupImpl const &, ProcessContext *)
virtual void beginOfJob()
exception_actions::ActionCodes find(const std::string &category) const
std::vector< ESRecordIndex > const & esGetTokenRecordIndicesVector(edm::Transition iTrans) const
std::vector< ESProxyIndex > const & esGetTokenIndicesVector(edm::Transition iTrans) const
virtual void endRun(Run const &, EventSetup const &)
Called after all event modules have processed the end of a Run.
void prepareForNextLoop(eventsetup::EventSetupProvider *esp)
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
void setEventID(EventID const &v)
LuminosityBlockIndex index() const
void esPrefetchAsync(WaitingTaskHolder iTask, EventSetupImpl const &iImpl, Transition iTrans, ServiceToken const &iToken) const
ModuleChanger * moduleChanger()
This only returns a non-zero value during the call to endOfLoop.
edm::propagate_const< ModuleChanger * > moduleChanger_
void doEndRun(RunPrincipal &, EventSetupImpl const &, ProcessContext *)
EventID const & id() const
eventsetup::EventSetupRecordImpl const * findImpl(const eventsetup::EventSetupRecordKey &) const
void setRunIndex(RunIndex const &v)
virtual void attachTo(ActivityRegistry &)
Override this method if you need to monitor the state of the processing.
void prefetchAsync(WaitingTaskHolder iTask, ServiceToken const &token, Transition iTrans, Principal const &iPrincipal, EventSetupImpl const &iImpl) const
BranchType const & branchType() const
void edPrefetchAsync(WaitingTaskHolder iTask, ServiceToken const &token, Principal const &iPrincipal) const
void printCmsExceptionWarning(char const *behavior, cms::Exception const &e)
virtual void endLuminosityBlock(LuminosityBlock const &, EventSetup const &)
Called after all event modules have processed the end of a LuminosityBlock.