Private Member Functions | |
NavigateEventsLooper (NavigateEventsLooper const &) | |
NavigateEventsLooper const & | operator= (NavigateEventsLooper const &) |
Private Attributes | |
int | countLoops_ |
int | maxLoops_ |
bool | shouldStopLoop_ |
bool | shouldStopProcess_ |
Additional Inherited Members | |
Public Types inherited from edm::EDLooperBase | |
enum | Status { kContinue, kStop } |
Protected Member Functions inherited from edm::EDLooperBase | |
ModuleChanger const * | moduleChanger () const |
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... | |
Allows interactive navigation from event to event in cmsRun jobs. Just add the looper to the python configuration and then respond to the questions that show up on the display by typing a number followed by return.
This was originally written to test the looper interface used by the Fireworks event display. It might be useful by itself.
If you use this either do not use a PoolOutputModule or turn off fast cloning its configuration.
Definition at line 29 of file NavigateEventsLooper.cc.
edm::NavigateEventsLooper::NavigateEventsLooper | ( | ParameterSet const & | pset | ) |
Definition at line 49 of file NavigateEventsLooper.cc.
|
virtual |
Definition at line 56 of file NavigateEventsLooper.cc.
|
private |
|
overridevirtual |
Called after all event modules have had a chance to process the Event.
Implements edm::EDLooperBase.
Definition at line 64 of file NavigateEventsLooper.cc.
References edm::ProcessingController::canRandomAccess(), gather_cfg::cout, ev, edm::ProcessingController::forwardState(), edm::ProcessingController::kAtFirstEvent, edm::ProcessingController::kAtLastEvent, edm::EDLooperBase::kContinue, edm::ProcessingController::kEventsAheadInFile, edm::ProcessingController::kEventsBackwardsInFile, edm::ProcessingController::kNextFileExists, edm::ProcessingController::kPreviousFileExists, edm::EDLooperBase::kStop, edm::ProcessingController::kUnknownForward, edm::ProcessingController::lastOperationSucceeded(), fjr2json::lumi, edm::ProcessingController::reverseState(), DTTTrigCorrFirst::run, edm::ProcessingController::setTransitionToEvent(), edm::ProcessingController::setTransitionToNextEvent(), edm::ProcessingController::setTransitionToPreviousEvent(), shouldStopLoop_, shouldStopProcess_, and x.
|
overridevirtual |
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.
Implements edm::EDLooperBase.
Definition at line 166 of file NavigateEventsLooper.cc.
References countLoops_, gather_cfg::cout, edm::EDLooperBase::kContinue, edm::EDLooperBase::kStop, maxLoops_, and shouldStopProcess_.
|
private |
|
overridevirtual |
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.
Implements edm::EDLooperBase.
Definition at line 60 of file NavigateEventsLooper.cc.
|
private |
Definition at line 44 of file NavigateEventsLooper.cc.
Referenced by endOfLoop().
|
private |
Definition at line 43 of file NavigateEventsLooper.cc.
Referenced by endOfLoop().
|
private |
Definition at line 45 of file NavigateEventsLooper.cc.
Referenced by duringLoop().
|
private |
Definition at line 46 of file NavigateEventsLooper.cc.
Referenced by duringLoop(), and endOfLoop().