#include <IEventProcessor.h>
Public Types | |
enum | Status { epSuccess = 0, epException = 1, epOther = 2, epSignal = 3, epInputComplete = 4, epTimedOut = 5, epCountComplete = 6 } |
typedef Status | StatusCode |
Public Member Functions | |
virtual bool | alreadyHandlingException () const =0 |
virtual void | beginLumi (ProcessHistoryID const &phid, int run, int lumi)=0 |
virtual void | beginRun (statemachine::Run const &run)=0 |
virtual void | closeInputFile (bool cleaningUpAfterException)=0 |
virtual void | closeOutputFiles ()=0 |
virtual void | deleteLumiFromCache (ProcessHistoryID const &phid, int run, int lumi)=0 |
virtual void | deleteRunFromCache (statemachine::Run const &run)=0 |
virtual void | doErrorStuff ()=0 |
virtual void | endLumi (ProcessHistoryID const &phid, int run, int lumi, bool cleaningUpAfterException)=0 |
virtual bool | endOfLoop ()=0 |
virtual void | endRun (statemachine::Run const &run, bool cleaningUpAfterException)=0 |
virtual void | openOutputFiles ()=0 |
virtual void | prepareForNextLoop ()=0 |
virtual int | readAndCacheLumi (bool merge)=0 |
virtual statemachine::Run | readAndCacheRun (bool merge)=0 |
virtual void | readAndProcessEvent ()=0 |
virtual void | readFile ()=0 |
virtual void | respondToCloseInputFile ()=0 |
virtual void | respondToCloseOutputFiles ()=0 |
virtual void | respondToOpenInputFile ()=0 |
virtual void | respondToOpenOutputFiles ()=0 |
virtual void | rewindInput ()=0 |
virtual StatusCode | runEventCount (int numberOfEventsToProcess)=0 |
virtual StatusCode | runToCompletion (bool onlineStateTransitions)=0 |
virtual void | setExceptionMessageFiles (std::string &message)=0 |
virtual void | setExceptionMessageLumis (std::string &message)=0 |
virtual void | setExceptionMessageRuns (std::string &message)=0 |
virtual bool | shouldWeCloseOutput () const =0 |
virtual bool | shouldWeStop () const =0 |
virtual void | startingNewLoop ()=0 |
virtual void | writeLumi (ProcessHistoryID const &phid, int run, int lumi)=0 |
virtual void | writeRun (statemachine::Run const &run)=0 |
virtual | ~IEventProcessor () |
Definition at line 20 of file IEventProcessor.h.
Definition at line 36 of file IEventProcessor.h.
Definition at line 31 of file IEventProcessor.h.
{ epSuccess=0, epException=1, epOther=2, epSignal=3, epInputComplete=4, epTimedOut=5, epCountComplete=6 };
edm::IEventProcessor::~IEventProcessor | ( | ) | [virtual] |
Definition at line 9 of file IEventProcessor.cc.
{ }
virtual bool edm::IEventProcessor::alreadyHandlingException | ( | ) | const [pure virtual] |
virtual void edm::IEventProcessor::beginLumi | ( | ProcessHistoryID const & | phid, |
int | run, | ||
int | lumi | ||
) | [pure virtual] |
Implemented in edm::EventProcessor.
Referenced by statemachine::HandleLumis::markLumiNonEmpty(), and statemachine::HandleLumis::setupCurrentLumi().
virtual void edm::IEventProcessor::beginRun | ( | statemachine::Run const & | run | ) | [pure virtual] |
Implemented in edm::EventProcessor.
Referenced by statemachine::HandleRuns::beginRun().
virtual void edm::IEventProcessor::closeInputFile | ( | bool | cleaningUpAfterException | ) | [pure virtual] |
virtual void edm::IEventProcessor::closeOutputFiles | ( | ) | [pure virtual] |
Implemented in edm::EventProcessor.
Referenced by statemachine::HandleFiles::closeFiles(), and statemachine::NewInputAndOutputFiles::goToNewInputAndOutputFiles().
virtual void edm::IEventProcessor::deleteLumiFromCache | ( | ProcessHistoryID const & | phid, |
int | run, | ||
int | lumi | ||
) | [pure virtual] |
Implemented in edm::EventProcessor.
Referenced by statemachine::HandleLumis::finalizeLumi().
virtual void edm::IEventProcessor::deleteRunFromCache | ( | statemachine::Run const & | run | ) | [pure virtual] |
Implemented in edm::EventProcessor.
Referenced by statemachine::HandleRuns::finalizeRun().
virtual void edm::IEventProcessor::doErrorStuff | ( | ) | [pure virtual] |
Implemented in edm::EventProcessor.
Referenced by statemachine::Error::Error().
virtual void edm::IEventProcessor::endLumi | ( | ProcessHistoryID const & | phid, |
int | run, | ||
int | lumi, | ||
bool | cleaningUpAfterException | ||
) | [pure virtual] |
Implemented in edm::EventProcessor.
Referenced by statemachine::HandleLumis::finalizeLumi().
virtual bool edm::IEventProcessor::endOfLoop | ( | ) | [pure virtual] |
Implemented in edm::EventProcessor.
Referenced by statemachine::EndingLoop::EndingLoop().
virtual void edm::IEventProcessor::endRun | ( | statemachine::Run const & | run, |
bool | cleaningUpAfterException | ||
) | [pure virtual] |
Implemented in edm::EventProcessor.
Referenced by statemachine::HandleRuns::endRun().
virtual void edm::IEventProcessor::openOutputFiles | ( | ) | [pure virtual] |
Implemented in edm::EventProcessor.
Referenced by statemachine::NewInputAndOutputFiles::goToNewInputAndOutputFiles(), and statemachine::FirstFile::openFiles().
virtual void edm::IEventProcessor::prepareForNextLoop | ( | ) | [pure virtual] |
Implemented in edm::EventProcessor.
Referenced by statemachine::Machine::rewindAndPrepareForNextLoop().
virtual int edm::IEventProcessor::readAndCacheLumi | ( | bool | merge | ) | [pure virtual] |
Implemented in edm::EventProcessor.
Referenced by statemachine::ContinueLumi::ContinueLumi(), and statemachine::HandleLumis::setupCurrentLumi().
virtual statemachine::Run edm::IEventProcessor::readAndCacheRun | ( | bool | merge | ) | [pure virtual] |
Implemented in edm::EventProcessor.
Referenced by statemachine::ContinueRun1::ContinueRun1(), statemachine::ContinueRun2::ContinueRun2(), and statemachine::HandleRuns::setupCurrentRun().
virtual void edm::IEventProcessor::readAndProcessEvent | ( | ) | [pure virtual] |
Implemented in edm::EventProcessor.
Referenced by statemachine::HandleEvent::readAndProcessEvent().
virtual void edm::IEventProcessor::readFile | ( | ) | [pure virtual] |
virtual void edm::IEventProcessor::respondToCloseInputFile | ( | ) | [pure virtual] |
virtual void edm::IEventProcessor::respondToCloseOutputFiles | ( | ) | [pure virtual] |
Implemented in edm::EventProcessor.
Referenced by statemachine::HandleFiles::closeFiles(), and statemachine::NewInputAndOutputFiles::goToNewInputAndOutputFiles().
virtual void edm::IEventProcessor::respondToOpenInputFile | ( | ) | [pure virtual] |
virtual void edm::IEventProcessor::respondToOpenOutputFiles | ( | ) | [pure virtual] |
Implemented in edm::EventProcessor.
Referenced by statemachine::NewInputAndOutputFiles::goToNewInputAndOutputFiles(), and statemachine::FirstFile::openFiles().
virtual void edm::IEventProcessor::rewindInput | ( | ) | [pure virtual] |
Implemented in edm::EventProcessor.
Referenced by statemachine::Machine::rewindAndPrepareForNextLoop().
virtual StatusCode edm::IEventProcessor::runEventCount | ( | int | numberOfEventsToProcess | ) | [pure virtual] |
Implemented in edm::EventProcessor.
virtual StatusCode edm::IEventProcessor::runToCompletion | ( | bool | onlineStateTransitions | ) | [pure virtual] |
Implemented in edm::EventProcessor.
virtual void edm::IEventProcessor::setExceptionMessageFiles | ( | std::string & | message | ) | [pure virtual] |
Implemented in edm::EventProcessor.
Referenced by statemachine::HandleFiles::~HandleFiles().
virtual void edm::IEventProcessor::setExceptionMessageLumis | ( | std::string & | message | ) | [pure virtual] |
Implemented in edm::EventProcessor.
Referenced by statemachine::HandleLumis::~HandleLumis().
virtual void edm::IEventProcessor::setExceptionMessageRuns | ( | std::string & | message | ) | [pure virtual] |
Implemented in edm::EventProcessor.
Referenced by statemachine::HandleRuns::~HandleRuns().
virtual bool edm::IEventProcessor::shouldWeCloseOutput | ( | ) | const [pure virtual] |
Implemented in edm::EventProcessor.
Referenced by statemachine::HandleFiles::shouldWeCloseOutput().
virtual bool edm::IEventProcessor::shouldWeStop | ( | ) | const [pure virtual] |
Implemented in edm::EventProcessor.
Referenced by statemachine::HandleEvent::readAndProcessEvent().
virtual void edm::IEventProcessor::startingNewLoop | ( | ) | [pure virtual] |
Implemented in edm::EventProcessor.
Referenced by statemachine::Machine::startingNewLoop().
virtual void edm::IEventProcessor::writeLumi | ( | ProcessHistoryID const & | phid, |
int | run, | ||
int | lumi | ||
) | [pure virtual] |
Implemented in edm::EventProcessor.
Referenced by statemachine::HandleLumis::finalizeLumi().
virtual void edm::IEventProcessor::writeRun | ( | statemachine::Run const & | run | ) | [pure virtual] |
Implemented in edm::EventProcessor.
Referenced by statemachine::HandleRuns::finalizeRun().