#include <EPStates.h>
Public Member Functions | |
EmptyRunLumiMode | emptyRunLumiMode () const |
edm::IEventProcessor & | ep () const |
FileMode | fileMode () const |
Machine (edm::IEventProcessor *ep, FileMode fileMode, EmptyRunLumiMode emptyRunLumiMode) | |
void | rewindAndPrepareForNextLoop (Restart const &restart) |
void | startingNewLoop (Stop const &stop) |
void | startingNewLoop (File const &file) |
Private Attributes | |
EmptyRunLumiMode | emptyRunLumiMode_ |
edm::IEventProcessor * | ep_ |
FileMode | fileMode_ |
Definition at line 93 of file EPStates.h.
statemachine::Machine::Machine | ( | edm::IEventProcessor * | ep, |
FileMode | fileMode, | ||
EmptyRunLumiMode | emptyRunLumiMode | ||
) |
Definition at line 25 of file EPStates.cc.
: ep_(ep), fileMode_(fileMode), emptyRunLumiMode_(emptyRunLumiMode) { }
EmptyRunLumiMode statemachine::Machine::emptyRunLumiMode | ( | ) | const |
Definition at line 35 of file EPStates.cc.
References emptyRunLumiMode_.
{ return emptyRunLumiMode_; }
edm::IEventProcessor & statemachine::Machine::ep | ( | ) | const |
FileMode statemachine::Machine::fileMode | ( | ) | const |
void statemachine::Machine::rewindAndPrepareForNextLoop | ( | Restart const & | restart | ) |
Definition at line 46 of file EPStates.cc.
References ep_, edm::IEventProcessor::prepareForNextLoop(), and edm::IEventProcessor::rewindInput().
{ ep_->prepareForNextLoop(); ep_->rewindInput(); }
void statemachine::Machine::startingNewLoop | ( | File const & | file | ) |
Definition at line 37 of file EPStates.cc.
References ep_, and edm::IEventProcessor::startingNewLoop().
{ ep_->startingNewLoop(); }
void statemachine::Machine::startingNewLoop | ( | Stop const & | stop | ) |
Definition at line 41 of file EPStates.cc.
References edm::IEventProcessor::alreadyHandlingException(), ep_, and edm::IEventProcessor::startingNewLoop().
{ if(ep_->alreadyHandlingException()) return; ep_->startingNewLoop(); }
Definition at line 112 of file EPStates.h.
Referenced by emptyRunLumiMode().
edm::IEventProcessor* statemachine::Machine::ep_ [private] |
Definition at line 110 of file EPStates.h.
Referenced by ep(), rewindAndPrepareForNextLoop(), and startingNewLoop().
FileMode statemachine::Machine::fileMode_ [private] |
Definition at line 111 of file EPStates.h.
Referenced by fileMode().