#include <EPStates.h>
Public Types | |
typedef sc::transition< File, NewInputAndOutputFiles > | reactions |
Public Member Functions | |
void | beginRun (Run const &run) |
bool | beginRunCalled () const |
void | beginRunIfNotDoneAlready () |
Run const & | currentRun () const |
void | endRun (Run const &run, bool cleaningUpAfterException) |
void | exit () |
void | finalizeRun (Run const &) |
void | finalizeRun (bool cleaningUpAfterException) |
HandleRuns (my_context ctx) | |
bool | runException () const |
void | setupCurrentRun () |
~HandleRuns () | |
Private Attributes | |
bool | beginRunCalled_ |
Run | currentRun_ |
edm::IEventProcessor & | ep_ |
bool | exitCalled_ |
bool | runException_ |
Definition at line 234 of file EPStates.h.
typedef sc::transition<File, NewInputAndOutputFiles> statemachine::HandleRuns::reactions |
Definition at line 241 of file EPStates.h.
statemachine::HandleRuns::HandleRuns | ( | my_context | ctx | ) |
Definition at line 188 of file EPStates.cc.
statemachine::HandleRuns::~HandleRuns | ( | ) |
Definition at line 202 of file EPStates.cc.
References ep_, exitCalled_, finalizeRun(), python.rootplot.argparse::message, edm::IEventProcessor::setExceptionMessageRuns(), and AlCaHLTBitMon_QueryRunRegistry::string.
void statemachine::HandleRuns::beginRun | ( | Run const & | run | ) |
Definition at line 229 of file EPStates.cc.
References edm::IEventProcessor::beginRun(), beginRunCalled_, ep_, and runException_.
Referenced by beginRunIfNotDoneAlready(), and setupCurrentRun().
bool statemachine::HandleRuns::beginRunCalled | ( | ) | const |
void statemachine::HandleRuns::beginRunIfNotDoneAlready | ( | ) |
Definition at line 261 of file EPStates.cc.
References beginRun(), beginRunCalled_, and currentRun().
Run const & statemachine::HandleRuns::currentRun | ( | ) | const |
Definition at line 215 of file EPStates.cc.
References currentRun_.
Referenced by beginRunIfNotDoneAlready(), finalizeRun(), and setupCurrentRun().
void statemachine::HandleRuns::endRun | ( | Run const & | run, |
bool | cleaningUpAfterException | ||
) |
Definition at line 237 of file EPStates.cc.
References beginRunCalled_, edm::IEventProcessor::endRun(), ep_, and runException_.
Referenced by finalizeRun().
void statemachine::HandleRuns::exit | ( | ) |
Definition at line 196 of file EPStates.cc.
References edm::IEventProcessor::alreadyHandlingException(), ep_, exitCalled_, and finalizeRun().
Referenced by argparse.ArgumentParser::error(), and python.rootplot.argparse.ArgumentParser::error().
void statemachine::HandleRuns::finalizeRun | ( | Run const & | ) |
Definition at line 245 of file EPStates.cc.
Referenced by exit(), statemachine::HandleNewInputFile2::react(), statemachine::ContinueRun1::react(), and ~HandleRuns().
void statemachine::HandleRuns::finalizeRun | ( | bool | cleaningUpAfterException | ) |
Definition at line 249 of file EPStates.cc.
References beginRunCalled_, currentRun(), currentRun_, edm::IEventProcessor::deleteRunFromCache(), endRun(), ep_, runException_, and edm::IEventProcessor::writeRun().
bool statemachine::HandleRuns::runException | ( | ) | const |
void statemachine::HandleRuns::setupCurrentRun | ( | ) |
Definition at line 218 of file EPStates.cc.
References beginRun(), currentRun(), currentRun_, statemachine::doNotHandleEmptyRunsAndLumis, ep_, edm::IEventProcessor::readRun(), and runException_.
|
private |
Definition at line 255 of file EPStates.h.
Referenced by beginRun(), beginRunCalled(), beginRunIfNotDoneAlready(), endRun(), and finalizeRun().
|
private |
Definition at line 256 of file EPStates.h.
Referenced by currentRun(), finalizeRun(), and setupCurrentRun().
|
private |
Definition at line 253 of file EPStates.h.
Referenced by beginRun(), endRun(), exit(), finalizeRun(), setupCurrentRun(), and ~HandleRuns().
|
private |
Definition at line 254 of file EPStates.h.
Referenced by exit(), and ~HandleRuns().
|
private |
Definition at line 257 of file EPStates.h.
Referenced by beginRun(), endRun(), finalizeRun(), runException(), and setupCurrentRun().