#include <FWCore/Framework/src/EPStates.h>
Public Types | |
typedef mpl::list < sc::transition< Lumi, HandleLumis >, sc::transition < Run, NewRun, HandleRuns, &HandleRuns::finalizeRun >, sc::custom_reaction< File > > | reactions |
Public Member Functions | |
NewRun (my_context ctx) | |
sc::result | react (File const &file) |
~NewRun () |
Definition at line 248 of file EPStates.h.
typedef mpl::list< sc::transition<Lumi, HandleLumis>, sc::transition<Run, NewRun, HandleRuns, &HandleRuns::finalizeRun>, sc::custom_reaction<File> > statemachine::NewRun::reactions |
Definition at line 257 of file EPStates.h.
statemachine::NewRun::NewRun | ( | my_context | ctx | ) |
Definition at line 381 of file EPStates.cc.
References statemachine::INVALID_RUN.
00381 : 00382 my_base(ctx) 00383 { 00384 assert(context<HandleRuns>().currentRun() == INVALID_RUN); 00385 context<HandleRuns>().setupCurrentRun(); 00386 00387 // Here we assume that the input source or event processor 00388 // will throw if we fail to get a valid run. Therefore 00389 // we should not ever fail this assert. 00390 assert(context<HandleRuns>().currentRun() != INVALID_RUN); 00391 }
statemachine::NewRun::~NewRun | ( | ) |
sc::result statemachine::NewRun::react | ( | File const & | file | ) |
Definition at line 395 of file EPStates.cc.
00396 { 00397 if (!context<HandleFiles>().shouldWeCloseOutput()) { 00398 return transit<HandleNewInputFile2>(); 00399 } 00400 return forward_event(); 00401 }