#include <EPStates.h>
Public Types | |
typedef mpl::list < sc::transition< Event, Error > , sc::transition< Lumi, Error > , sc::transition< Run, Error > , sc::transition< File, Error > , sc::transition< Stop, EndingLoop >, sc::transition < Restart, Error > > | reactions |
Public Member Functions | |
void | closeFiles (bool cleaningUpAfterException) |
void | exit () |
void | goToNewInputFile () |
HandleFiles (my_context ctx) | |
bool | shouldWeCloseOutput () |
~HandleFiles () | |
Private Attributes | |
edm::IEventProcessor & | ep_ |
bool | exitCalled_ |
Definition at line 134 of file EPStates.h.
typedef mpl::list< sc::transition<Event, Error>, sc::transition<Lumi, Error>, sc::transition<Run, Error>, sc::transition<File, Error>, sc::transition<Stop, EndingLoop>, sc::transition<Restart, Error> > statemachine::HandleFiles::reactions |
Definition at line 147 of file EPStates.h.
statemachine::HandleFiles::HandleFiles | ( | my_context | ctx | ) |
Definition at line 55 of file EPStates.cc.
statemachine::HandleFiles::~HandleFiles | ( | ) |
Definition at line 66 of file EPStates.cc.
References closeFiles(), ep_, exitCalled_, python.rootplot.argparse::message, and edm::IEventProcessor::setExceptionMessageFiles().
void statemachine::HandleFiles::closeFiles | ( | bool | cleaningUpAfterException | ) |
Definition at line 78 of file EPStates.cc.
References edm::IEventProcessor::closeInputFile(), edm::IEventProcessor::closeOutputFiles(), ep_, edm::IEventProcessor::respondToCloseInputFile(), and edm::IEventProcessor::respondToCloseOutputFiles().
Referenced by exit(), and ~HandleFiles().
void statemachine::HandleFiles::exit | ( | ) |
Definition at line 60 of file EPStates.cc.
References edm::IEventProcessor::alreadyHandlingException(), closeFiles(), ep_, and exitCalled_.
Referenced by argparse.ArgumentParser::error(), and python.rootplot.argparse.ArgumentParser::error().
void statemachine::HandleFiles::goToNewInputFile | ( | ) |
Definition at line 85 of file EPStates.cc.
References edm::IEventProcessor::closeInputFile(), ep_, edm::IEventProcessor::readFile(), edm::IEventProcessor::respondToCloseInputFile(), and edm::IEventProcessor::respondToOpenInputFile().
bool statemachine::HandleFiles::shouldWeCloseOutput | ( | ) |
Definition at line 93 of file EPStates.cc.
References ep_, dtDQMClient_cfg::fileMode, statemachine::NOMERGE, and edm::IEventProcessor::shouldWeCloseOutput().
|
private |
Definition at line 153 of file EPStates.h.
Referenced by closeFiles(), exit(), goToNewInputFile(), shouldWeCloseOutput(), and ~HandleFiles().
|
private |
Definition at line 154 of file EPStates.h.
Referenced by exit(), and ~HandleFiles().