#include <EPStates.h>
Public Types | |
typedef mpl::list < sc::transition< Run, HandleRuns > , sc::custom_reaction< File > > | reactions |
Public Member Functions | |
FirstFile (my_context ctx) | |
void | openFiles () |
sc::result | react (File const &file) |
~FirstFile () | |
Private Attributes | |
edm::IEventProcessor & | ep_ |
Definition at line 183 of file EPStates.h.
typedef mpl::list< sc::transition<Run, HandleRuns>, sc::custom_reaction<File> > statemachine::FirstFile::reactions |
Definition at line 191 of file EPStates.h.
statemachine::FirstFile::FirstFile | ( | my_context | ctx | ) |
Definition at line 123 of file EPStates.cc.
References openFiles().
statemachine::FirstFile::~FirstFile | ( | ) |
Definition at line 129 of file EPStates.cc.
{ }
void statemachine::FirstFile::openFiles | ( | ) |
Definition at line 139 of file EPStates.cc.
References ep_, edm::IEventProcessor::openOutputFiles(), edm::IEventProcessor::readFile(), edm::IEventProcessor::respondToOpenInputFile(), and edm::IEventProcessor::respondToOpenOutputFiles().
Referenced by FirstFile().
{ ep_.readFile(); ep_.respondToOpenInputFile(); ep_.openOutputFiles(); ep_.respondToOpenOutputFiles(); }
sc::result statemachine::FirstFile::react | ( | File const & | file | ) |
Definition at line 131 of file EPStates.cc.
{ if(context<HandleFiles>().shouldWeCloseOutput()) { return transit<NewInputAndOutputFiles>(); } else { return transit<HandleNewInputFile1>(); } }
edm::IEventProcessor& statemachine::FirstFile::ep_ [private] |
Definition at line 196 of file EPStates.h.
Referenced by openFiles().