#include <EPStates.h>
Public Types | |
typedef mpl::list < sc::custom_reaction< Run > , sc::custom_reaction< File > , sc::transition< Lumi, HandleLumis > > | reactions |
Public Member Functions | |
bool | checkInvariant () |
ContinueRun1 (my_context ctx) | |
sc::result | react (Run const &run) |
sc::result | react (File const &file) |
~ContinueRun1 () | |
Private Attributes | |
edm::IEventProcessor & | ep_ |
Definition at line 293 of file EPStates.h.
typedef mpl::list< sc::custom_reaction<Run>, sc::custom_reaction<File>, sc::transition<Lumi, HandleLumis> > statemachine::ContinueRun1::reactions |
Definition at line 303 of file EPStates.h.
statemachine::ContinueRun1::ContinueRun1 | ( | my_context | ctx | ) |
Definition at line 330 of file EPStates.cc.
References checkInvariant(), ep_, and edm::IEventProcessor::readAndCacheRun().
: my_base(ctx), ep_(context<Machine>().ep()) { ep_.readAndCacheRun(); checkInvariant(); }
statemachine::ContinueRun1::~ContinueRun1 | ( | ) |
bool statemachine::ContinueRun1::checkInvariant | ( | ) |
Definition at line 341 of file EPStates.cc.
Referenced by ContinueRun1(), react(), and ~ContinueRun1().
{ assert(context<HandleRuns>().currentRun() != INVALID_RUN); return true; }
sc::result statemachine::ContinueRun1::react | ( | File const & | file | ) |
Definition at line 355 of file EPStates.cc.
References checkInvariant().
{ checkInvariant(); if(!context<HandleFiles>().shouldWeCloseOutput()) { return transit<HandleNewInputFile2>(); } return forward_event(); }
sc::result statemachine::ContinueRun1::react | ( | Run const & | run | ) |
Definition at line 346 of file EPStates.cc.
References checkInvariant(), statemachine::HandleRuns::finalizeRun(), and DTTTrigCorrFirst::run.
{ checkInvariant(); if(context<HandleRuns>().currentRun() != run) { return transit<NewRun, HandleRuns, Run>(&HandleRuns::finalizeRun, run); } else { return transit<ContinueRun1>(); } }
Definition at line 308 of file EPStates.h.
Referenced by ContinueRun1().