#include <FWCore/Framework/src/EPStates.h>
Public Types | |
typedef mpl::list < sc::transition< Event, HandleEvent >, sc::transition < Lumi, AnotherLumi >, sc::custom_reaction< File > > | reactions |
Public Member Functions | |
bool | checkInvariant () |
ContinueLumi (my_context ctx) | |
sc::result | react (File const &file) |
~ContinueLumi () | |
Private Attributes | |
edm::IEventProcessor & | ep_ |
Definition at line 412 of file EPStates.h.
typedef mpl::list< sc::transition<Event, HandleEvent>, sc::transition<Lumi, AnotherLumi>, sc::custom_reaction<File> > statemachine::ContinueLumi::reactions |
Definition at line 422 of file EPStates.h.
statemachine::ContinueLumi::ContinueLumi | ( | my_context | ctx | ) |
Definition at line 837 of file EPStates.cc.
References checkInvariant(), ep_, and edm::IEventProcessor::readAndCacheLumi().
00837 : 00838 my_base(ctx), 00839 ep_(context<Machine>().ep()) 00840 { 00841 ep_.readAndCacheLumi(); 00842 checkInvariant(); 00843 }
statemachine::ContinueLumi::~ContinueLumi | ( | ) |
Definition at line 845 of file EPStates.cc.
References checkInvariant().
00845 { 00846 checkInvariant(); 00847 }
bool statemachine::ContinueLumi::checkInvariant | ( | ) |
Definition at line 849 of file EPStates.cc.
References first, statemachine::INVALID_LUMI, statemachine::INVALID_RUN, and edm::second().
Referenced by ContinueLumi(), react(), and ~ContinueLumi().
00849 { 00850 assert(context<HandleRuns>().currentRun() != INVALID_RUN); 00851 assert(context<HandleLumis>().currentLumi().first == context<HandleRuns>().currentRun()); 00852 assert(context<HandleLumis>().currentLumi().second != INVALID_LUMI); 00853 return true; 00854 }
sc::result statemachine::ContinueLumi::react | ( | File const & | file | ) |
Definition at line 856 of file EPStates.cc.
References checkInvariant().
00857 { 00858 checkInvariant(); 00859 if (!context<HandleFiles>().shouldWeCloseOutput()) { 00860 return transit<HandleNewInputFile3>(); 00861 } 00862 return forward_event(); 00863 }