#include <EDLooperBase.h>
Public Types | |
enum | Status { kContinue, kStop } |
Protected Member Functions | |
ModuleChanger * | moduleChanger () |
This only returns a non-zero value during the call to endOfLoop. More... | |
ScheduleInfo const * | scheduleInfo () const |
This returns a non-zero value after the constructor has been called. More... | |
Private Member Functions | |
virtual void | beginLuminosityBlock (LuminosityBlock const &, EventSetup const &) |
Called after all event modules have processed the begin of a LuminosityBlock. More... | |
virtual void | beginRun (Run const &, EventSetup const &) |
Called after all event modules have processed the begin of a Run. More... | |
virtual Status | duringLoop (Event const &, EventSetup const &, ProcessingController &)=0 |
virtual void | endLuminosityBlock (LuminosityBlock const &, EventSetup const &) |
Called after all event modules have processed the end of a LuminosityBlock. More... | |
virtual Status | endOfLoop (EventSetup const &, unsigned int iCounter)=0 |
virtual void | endRun (Run const &, EventSetup const &) |
Called after all event modules have processed the end of a Run. More... | |
virtual void | startingNewLoop (unsigned int)=0 |
Private Attributes | |
ExceptionToActionTable const * | act_table_ |
unsigned int | iCounter_ |
ModuleCallingContext | moduleCallingContext_ |
edm::propagate_const < ModuleChanger * > | moduleChanger_ |
ModuleDescription | moduleDescription_ |
edm::propagate_const < std::unique_ptr < ScheduleInfo > > | scheduleInfo_ |
Definition at line 77 of file EDLooperBase.h.
Enumerator | |
---|---|
kContinue | |
kStop |
Definition at line 79 of file EDLooperBase.h.
EDLooperBase::EDLooperBase | ( | ) |
Definition at line 31 of file EDLooperBase.cc.
|
virtual |
Definition at line 35 of file EDLooperBase.cc.
|
delete |
|
virtual |
Override this method if you need to monitor the state of the processing.
Reimplemented in FWFFLooper.
Definition at line 147 of file EDLooperBase.cc.
|
privatevirtual |
Called after all event modules have processed the begin of a LuminosityBlock.
Reimplemented in AlignmentProducer.
Definition at line 144 of file EDLooperBase.cc.
|
virtual |
Reimplemented in AlignmentProducer.
Definition at line 87 of file EDLooperBase.cc.
|
virtual |
Reimplemented in ZeeCalibration, Pi0FixedMassWindowCalibration, __class__< T >, EcalEleCalibLooper, and InvRingCalib.
Definition at line 88 of file EDLooperBase.cc.
|
privatevirtual |
Called after all event modules have processed the begin of a Run.
Reimplemented in AlignmentProducer, and FWFFLooper.
Definition at line 142 of file EDLooperBase.cc.
void EDLooperBase::copyInfo | ( | ScheduleInfo const & | iInfo | ) |
Definition at line 157 of file EDLooperBase.cc.
void EDLooperBase::doBeginLuminosityBlock | ( | LuminosityBlockPrincipal & | iLB, |
EventSetup const & | iES, | ||
ProcessContext * | processContext | ||
) |
Definition at line 117 of file EDLooperBase.cc.
void EDLooperBase::doBeginRun | ( | RunPrincipal & | iRP, |
EventSetup const & | iES, | ||
ProcessContext * | processContext | ||
) |
Definition at line 92 of file EDLooperBase.cc.
EDLooperBase::Status EDLooperBase::doDuringLoop | ( | edm::EventPrincipal & | eventPrincipal, |
EventSetup const & | es, | ||
edm::ProcessingController & | ioController, | ||
StreamContext * | streamContext | ||
) |
Definition at line 43 of file EDLooperBase.cc.
void EDLooperBase::doEndLuminosityBlock | ( | LuminosityBlockPrincipal & | iLB, |
EventSetup const & | iES, | ||
ProcessContext * | processContext | ||
) |
Definition at line 129 of file EDLooperBase.cc.
EDLooperBase::Status EDLooperBase::doEndOfLoop | ( | EventSetup const & | es | ) |
Definition at line 73 of file EDLooperBase.cc.
void EDLooperBase::doEndRun | ( | RunPrincipal & | iRP, |
EventSetup const & | iES, | ||
ProcessContext * | processContext | ||
) |
Definition at line 105 of file EDLooperBase.cc.
void EDLooperBase::doStartingNewLoop | ( | ) |
Definition at line 38 of file EDLooperBase.cc.
|
privatepure virtual |
Called after all event modules have had a chance to process the Event.
Implemented in FWFFLooper, edm::EDLooper, and edm::NavigateEventsLooper.
|
privatevirtual |
Called after all event modules have processed the end of a LuminosityBlock.
Reimplemented in AlignmentProducer.
Definition at line 145 of file EDLooperBase.cc.
|
virtual |
Reimplemented in MuScleFit, ZeeCalibration, AlignmentProducer, Pi0FixedMassWindowCalibration, __class__< T >, EcalEleCalibLooper, and InvRingCalib.
Definition at line 90 of file EDLooperBase.cc.
|
privatepure virtual |
Called after the system has finished one loop over the events. Thar argument is a count of how many loops have been processed before this loo. For the first time through the events the argument will be 0.
Implemented in MuScleFit, ZeeCalibration, AlignmentProducer, Pi0FixedMassWindowCalibration, FWFFLooper, EcalEleCalibLooper, InvRingCalib, edm::NavigateEventsLooper, edm::IterateNTimesLooper, and PhysicsTools::MVATrainerLooper.
|
privatevirtual |
Called after all event modules have processed the end of a Run.
Reimplemented in AlignmentProducer.
Definition at line 143 of file EDLooperBase.cc.
|
virtual |
Reimplemented in edm::ESProducerLooper.
Definition at line 151 of file EDLooperBase.cc.
|
protected |
This only returns a non-zero value during the call to endOfLoop.
Definition at line 165 of file EDLooperBase.cc.
|
delete |
void EDLooperBase::prepareForNextLoop | ( | eventsetup::EventSetupProvider * | esp | ) |
Definition at line 78 of file EDLooperBase.cc.
|
protected |
This returns a non-zero value after the constructor has been called.
Definition at line 168 of file EDLooperBase.cc.
|
inline |
Definition at line 105 of file EDLooperBase.h.
void EDLooperBase::setModuleChanger | ( | ModuleChanger * | iChanger | ) |
Definition at line 161 of file EDLooperBase.cc.
|
privatepure virtual |
Called before system starts to loop over the events. The argument is a count of how many loops have been processed. For the first time through the events the argument will be 0.
Implemented in MuScleFit, ZeeCalibration, AlignmentProducer, Pi0FixedMassWindowCalibration, FWFFLooper, __class__< T >, EcalEleCalibLooper, InvRingCalib, edm::NavigateEventsLooper, edm::IterateNTimesLooper, and PhysicsTools::MVATrainerLooper.
|
private |
Definition at line 149 of file EDLooperBase.h.
|
private |
Definition at line 148 of file EDLooperBase.h.
|
private |
Definition at line 155 of file EDLooperBase.h.
|
private |
Definition at line 152 of file EDLooperBase.h.
|
private |
Definition at line 154 of file EDLooperBase.h.
|
private |
Definition at line 151 of file EDLooperBase.h.