#include <EPStates.h>
Classes | |
class | LumiID |
Public Types | |
typedef sc::transition< Run, NewRun, HandleRuns,&HandleRuns::finalizeRun > | reactions |
Public Member Functions | |
bool | checkInvariant () |
LumiID const & | currentLumi () const |
bool | currentLumiEmpty () const |
void | exit () |
void | finalizeLumi (bool cleaningUpAfterException) |
HandleLumis (my_context ctx) | |
void | markLumiNonEmpty () |
void | setupCurrentLumi () |
~HandleLumis () | |
Private Attributes | |
LumiID | currentLumi_ |
bool | currentLumiEmpty_ |
edm::IEventProcessor & | ep_ |
bool | exitCalled_ |
bool | lumiException_ |
Definition at line 316 of file EPStates.h.
typedef sc::transition<Run, NewRun, HandleRuns, &HandleRuns::finalizeRun> statemachine::HandleLumis::reactions |
Definition at line 342 of file EPStates.h.
statemachine::HandleLumis::HandleLumis | ( | my_context | ctx | ) |
statemachine::HandleLumis::~HandleLumis | ( | ) |
Definition at line 385 of file EPStates.cc.
References checkInvariant(), ep_, exitCalled_, finalizeLumi(), lumiException_, python.rootplot.argparse::message, edm::IEventProcessor::setExceptionMessageLumis(), and AlCaHLTBitMon_QueryRunRegistry::string.
bool statemachine::HandleLumis::checkInvariant | ( | ) |
Definition at line 400 of file EPStates.cc.
References assert().
Referenced by exit(), HandleLumis(), and ~HandleLumis().
HandleLumis::LumiID const & statemachine::HandleLumis::currentLumi | ( | ) | const |
Definition at line 405 of file EPStates.cc.
References currentLumi_.
Referenced by finalizeLumi(), markLumiNonEmpty(), and setupCurrentLumi().
bool statemachine::HandleLumis::currentLumiEmpty | ( | ) | const |
void statemachine::HandleLumis::exit | ( | ) |
Definition at line 376 of file EPStates.cc.
References edm::IEventProcessor::alreadyHandlingException(), checkInvariant(), ep_, exitCalled_, finalizeLumi(), and lumiException_.
Referenced by argparse.ArgumentParser::error(), and python.rootplot.argparse.ArgumentParser::error().
void statemachine::HandleLumis::finalizeLumi | ( | bool | cleaningUpAfterException | ) |
Definition at line 426 of file EPStates.cc.
References currentLumi(), currentLumi_, currentLumiEmpty_, edm::IEventProcessor::deleteLumiFromCache(), edm::IEventProcessor::endLumi(), ep_, statemachine::handleEmptyRunsAndLumis, fjr2json::lumi, lumiException_, DTTTrigCorrFirst::run, and edm::IEventProcessor::writeLumi().
Referenced by exit(), and ~HandleLumis().
void statemachine::HandleLumis::markLumiNonEmpty | ( | ) |
Definition at line 442 of file EPStates.cc.
References edm::IEventProcessor::beginLumi(), currentLumi(), currentLumiEmpty_, ep_, statemachine::handleEmptyRunsAndLumis, fjr2json::lumi, lumiException_, and DTTTrigCorrFirst::run.
void statemachine::HandleLumis::setupCurrentLumi | ( | ) |
Definition at line 409 of file EPStates.cc.
References assert(), edm::IEventProcessor::beginLumi(), currentLumi(), currentLumi_, currentLumiEmpty_, ep_, statemachine::handleEmptyRunsAndLumis, fjr2json::lumi, lumiException_, statemachine::Run::processHistoryID(), edm::IEventProcessor::readLuminosityBlock(), DTTTrigCorrFirst::run, and statemachine::Run::runNumber().
|
private |
Definition at line 348 of file EPStates.h.
Referenced by currentLumi(), finalizeLumi(), and setupCurrentLumi().
|
private |
Definition at line 347 of file EPStates.h.
Referenced by currentLumiEmpty(), finalizeLumi(), markLumiNonEmpty(), and setupCurrentLumi().
|
private |
Definition at line 345 of file EPStates.h.
Referenced by exit(), finalizeLumi(), markLumiNonEmpty(), setupCurrentLumi(), and ~HandleLumis().
|
private |
Definition at line 346 of file EPStates.h.
Referenced by exit(), and ~HandleLumis().
|
private |
Definition at line 349 of file EPStates.h.
Referenced by exit(), finalizeLumi(), markLumiNonEmpty(), setupCurrentLumi(), and ~HandleLumis().