![]() |
![]() |
#include <EventProcessor.h>
Public Types | |
enum | StatusCode { epSuccess =0, epException =1, epOther =2, epSignal =3, epInputComplete =4, epTimedOut =5, epCountComplete =6 } |
Private Types | |
typedef std::set< std::pair< std::string, std::string > > | ExcludedData |
typedef std::map< std::string, ExcludedData > | ExcludedDataMap |
Private Member Functions | |
std::shared_ptr< BranchIDListHelper const > | branchIDListHelper () const |
std::shared_ptr< BranchIDListHelper > & | branchIDListHelper () |
bool | checkForAsyncStopRequest (StatusCode &) |
void | handleNextEventForStreamAsync (WaitingTaskHolder iTask, unsigned int iStreamIndex) |
void | init (std::shared_ptr< ProcessDesc > &processDesc, ServiceToken const &token, serviceregistry::ServiceLegacy) |
std::shared_ptr< EDLooperBase const > | looper () const |
std::shared_ptr< EDLooperBase > & | looper () |
std::shared_ptr< ProductRegistry const > | preg () const |
std::shared_ptr< ProductRegistry > & | preg () |
void | processEventAsync (WaitingTaskHolder iHolder, unsigned int iStreamIndex) |
void | processEventAsyncImpl (WaitingTaskHolder iHolder, unsigned int iStreamIndex) |
void | processEventWithLooper (EventPrincipal &) |
void | readEvent (unsigned int iStreamIndex) |
bool | readNextEventForStream (unsigned int iStreamIndex, LuminosityBlockProcessingStatus &iLumiStatus) |
std::shared_ptr< ThinnedAssociationsHelper const > | thinnedAssociationsHelper () const |
std::shared_ptr< ThinnedAssociationsHelper > & | thinnedAssociationsHelper () |
Definition at line 63 of file EventProcessor.h.
|
private |
Definition at line 344 of file EventProcessor.h.
|
private |
Definition at line 345 of file EventProcessor.h.
Enumerator | |
---|---|
epSuccess | |
epException | |
epOther | |
epSignal | |
epInputComplete | |
epTimedOut | |
epCountComplete |
Definition at line 74 of file EventProcessor.h.
|
explicit |
Definition at line 219 of file EventProcessor.cc.
References init(), edm::parameterSet(), and PythonProcessDesc::parameterSet().
edm::EventProcessor::EventProcessor | ( | std::string const & | config, |
std::vector< std::string > const & | defaultServices, | ||
std::vector< std::string > const & | forcedServices = std::vector<std::string>() |
||
) |
Definition at line 258 of file EventProcessor.cc.
References init(), edm::serviceregistry::kOverlapIsError, edm::parameterSet(), and PythonProcessDesc::parameterSet().
edm::EventProcessor::EventProcessor | ( | std::shared_ptr< ProcessDesc > | processDesc, |
ServiceToken const & | token, | ||
serviceregistry::ServiceLegacy | legacy | ||
) |
Definition at line 297 of file EventProcessor.cc.
References init().
edm::EventProcessor::EventProcessor | ( | std::string const & | config, |
bool | isPython | ||
) |
meant for unit tests
Definition at line 334 of file EventProcessor.cc.
References looper::config, init(), edm::serviceregistry::kOverlapIsError, edm::parameterSet(), and PythonProcessDesc::parameterSet().
edm::EventProcessor::~EventProcessor | ( | ) |
Definition at line 550 of file EventProcessor.cc.
References actReg_, edm::ParentageRegistry::clear(), edm::pset::Registry::clear(), esp_, espController_, getToken(), input_, edm::ParentageRegistry::instance(), edm::pset::Registry::instance(), looper_, and schedule_.
|
delete |
void edm::EventProcessor::beginJob | ( | void | ) |
This should be called before the first call to 'run' If this is not called in time, it will automatically be called the first time 'run' is called
Definition at line 569 of file EventProcessor.cc.
References actReg_, cms::Exception::addContext(), bk::beginJob(), beginJobCalled_, edm::checkForModuleDependencyCorrectness(), edm::for_all(), mps_fire::i, edm::PathsAndConsumesOfModules::initialize(), input_, edm::PreallocationConfiguration::numberOfLuminosityBlocks(), edm::PreallocationConfiguration::numberOfRuns(), edm::PreallocationConfiguration::numberOfStreams(), edm::PreallocationConfiguration::numberOfThreads(), cmsPerfStripChart::operate(), pathsAndConsumesOfModules_, preallocations_, preg(), preg_, printDependencies_, processConfiguration_, processContext_, schedule_, serviceToken_, subProcesses_, and edm::convertException::wrap().
Referenced by runToCompletion().
void edm::EventProcessor::beginLumiAsync | ( | edm::IOVSyncValue const & | iSyncValue, |
std::shared_ptr< void > const & | iRunResource, | ||
edm::WaitingTaskHolder | iHolder | ||
) |
Definition at line 1129 of file EventProcessor.cc.
References actReg_, edm::LuminosityBlockPrincipal::beginTime(), edm::WaitingTaskHolder::doneWaiting(), esp_, espController_, edm::PrincipalCache::eventPrincipal(), h, handleNextEventForStreamAsync(), mps_fire::i, input_, iovQueue_, edm::Service< T >::isAvailable(), looper_, edm::LuminosityBlockPrincipal::luminosityBlock(), lumiQueue_, edm::make_waiting_task(), eostools::move(), edm::PreallocationConfiguration::numberOfStreams(), cmsPerfStripChart::operate(), edm::SerialTaskQueue::pause(), preallocations_, principalCache_, processContext_, edm::SerialTaskQueueChain::push(), edm::SerialTaskQueue::push(), readLuminosityBlock(), edm::LuminosityBlockPrincipal::run(), schedule_, edm::SharedResourcesAcquirer::serialQueueChain(), serviceToken_, sourceResourcesAcquirer_, mps_update::status, streamLumiActive_, streamLumiStatus_, streamQueues_, subProcesses_, and edm::WaitingTaskHolder::taskHasFailed().
Referenced by handleNextEventForStreamAsync(), and processLumis().
void edm::EventProcessor::beginRun | ( | ProcessHistoryID const & | phid, |
RunNumber_t | run, | ||
bool & | globalBeginSucceeded, | ||
bool & | eventSetupForInstanceSucceeded | ||
) |
Definition at line 943 of file EventProcessor.cc.
References actReg_, edm::RunPrincipal::beginTime(), esp_, espController_, FDEBUG, forceESCacheClearOnNewRun_, input_, looper_, looperBeginJobRun_, edm::make_empty_waiting_task(), edm::PreallocationConfiguration::numberOfStreams(), preallocations_, principalCache_, processContext_, edm::RunPrincipal::run(), edm::PrincipalCache::runPrincipal(), schedule_, serviceToken_, and subProcesses_.
|
inlineprivate |
Definition at line 281 of file EventProcessor.h.
References edm::get_underlying_safe().
Referenced by init().
|
inlineprivate |
Definition at line 282 of file EventProcessor.h.
References edm::get_underlying_safe().
|
private |
Definition at line 705 of file EventProcessor.cc.
References epSignal, and edm::shutdown_flag.
Referenced by nextTransitionType().
void edm::EventProcessor::clearCounters | ( | ) |
Clears counters used by trigger report.
Definition at line 696 of file EventProcessor.cc.
References schedule_.
void edm::EventProcessor::closeInputFile | ( | bool | cleaningUpAfterException | ) |
Definition at line 844 of file EventProcessor.cc.
References actReg_, fb_, FDEBUG, and input_.
void edm::EventProcessor::closeOutputFiles | ( | ) |
Definition at line 861 of file EventProcessor.cc.
References fb_, FDEBUG, edm::for_all(), schedule_, and subProcesses_.
void edm::EventProcessor::continueLumiAsync | ( | edm::WaitingTaskHolder | iHolder | ) |
Definition at line 1252 of file EventProcessor.cc.
References h, handleNextEventForStreamAsync(), edm::make_functor_task(), eostools::move(), edm::PreallocationConfiguration::numberOfStreams(), preallocations_, mps_update::status, and streamLumiStatus_.
Referenced by processLumis().
void edm::EventProcessor::deleteLumiFromCache | ( | LuminosityBlockProcessingStatus & | iStatus | ) |
Definition at line 1523 of file EventProcessor.cc.
References edm::LuminosityBlockProcessingStatus::lumiPrincipal(), alignCSCRings::s, and subProcesses_.
Referenced by globalEndLumiAsync().
void edm::EventProcessor::deleteRunFromCache | ( | ProcessHistoryID const & | phid, |
RunNumber_t | run | ||
) |
Definition at line 1498 of file EventProcessor.cc.
References edm::PrincipalCache::deleteRun(), FDEBUG, edm::for_all(), principalCache_, and subProcesses_.
Referenced by endUnfinishedRun().
void edm::EventProcessor::doErrorStuff | ( | ) |
Definition at line 933 of file EventProcessor.cc.
References FDEBUG.
Referenced by runToCompletion().
void edm::EventProcessor::enableEndPaths | ( | bool | active | ) |
Turn end_paths "off" if "active" is false; turn end_paths "on" if "active" is true.
Definition at line 681 of file EventProcessor.cc.
References schedule_.
void edm::EventProcessor::endJob | ( | void | ) |
This should be called before the EventProcessor is destroyed throws if any module's endJob throws an exception.
Definition at line 625 of file EventProcessor.cc.
References actReg_, EnergyCorrector::c, edm::ExceptionCollector::call(), edm::SubProcess::doEndJob(), edm::InputSource::doEndJob(), edm::EDLooperBase::endOfJob(), edm::ExceptionCollector::hasThrown(), mps_fire::i, input_, looper(), looper_, edm::PreallocationConfiguration::numberOfStreams(), cmsPerfStripChart::operate(), preallocations_, edm::ExceptionCollector::rethrow(), schedule_, serviceToken_, and subProcesses_.
Referenced by PythonEventProcessor::~PythonEventProcessor().
bool edm::EventProcessor::endOfLoop | ( | ) |
Definition at line 896 of file EventProcessor.cc.
References esp_, FDEBUG, forceLooperToEnd_, edm::EDLooperBase::kContinue, looper_, preg_, schedule_, and mps_update::status.
Referenced by runToCompletion().
bool edm::EventProcessor::endPathsEnabled | ( | ) | const |
Return true if end_paths are active, and false if they are inactive.
Definition at line 686 of file EventProcessor.cc.
References schedule_.
void edm::EventProcessor::endRun | ( | ProcessHistoryID const & | phid, |
RunNumber_t | run, | ||
bool | globalBeginSucceeded, | ||
bool | cleaningUpAfterException | ||
) |
Definition at line 1044 of file EventProcessor.cc.
References actReg_, edm::RunPrincipal::endTime(), esp_, espController_, FDEBUG, input_, looper_, edm::make_empty_waiting_task(), edm::EventID::maxEventNumber(), edm::LuminosityBlockID::maxLuminosityBlockNumber(), edm::PreallocationConfiguration::numberOfStreams(), preallocations_, principalCache_, processContext_, edm::RunPrincipal::run(), edm::PrincipalCache::runPrincipal(), schedule_, serviceToken_, edm::RunPrincipal::setEndTime(), and subProcesses_.
Referenced by endUnfinishedRun().
void edm::EventProcessor::endUnfinishedLumi | ( | ) |
Definition at line 1394 of file EventProcessor.cc.
References mps_fire::i, edm::make_empty_waiting_task(), edm::PreallocationConfiguration::numberOfStreams(), preallocations_, streamEndLumiAsync(), streamLumiActive_, and streamLumiStatus_.
void edm::EventProcessor::endUnfinishedRun | ( | ProcessHistoryID const & | phid, |
RunNumber_t | run, | ||
bool | globalBeginSucceeded, | ||
bool | cleaningUpAfterException, | ||
bool | eventSetupForInstanceSucceeded | ||
) |
Definition at line 1020 of file EventProcessor.cc.
References deleteRunFromCache(), endRun(), edm::make_empty_waiting_task(), edm::RunPrincipal::mergeableRunProductMetadata(), edm::MergeableRunProductMetadata::postWriteRun(), edm::MergeableRunProductMetadata::preWriteRun(), principalCache_, run(), edm::PrincipalCache::runPrincipal(), lumiQTWidget::t, and writeRunAsync().
std::vector< ModuleDescription const * > edm::EventProcessor::getAllModuleDescriptions | ( | ) | const |
Return a vector allowing const access to all the ModuleDescriptions for this EventProccessor. *** N.B. *** Ownership of the ModuleDescriptions is not *** passed to the caller. Do not call delete on these *** pointers!
Definition at line 661 of file EventProcessor.cc.
References schedule_.
ServiceToken edm::EventProcessor::getToken | ( | ) |
Definition at line 656 of file EventProcessor.cc.
References serviceToken_.
Referenced by ~EventProcessor().
void edm::EventProcessor::getTriggerReport | ( | TriggerReport & | rep | ) | const |
Return the trigger report information on paths, modules-in-path, modules-in-endpath, and modules.
Definition at line 691 of file EventProcessor.cc.
References schedule_.
void edm::EventProcessor::globalEndLumiAsync | ( | edm::WaitingTaskHolder | iTask, |
std::shared_ptr< LuminosityBlockProcessingStatus > | iLumiStatus | ||
) |
Definition at line 1273 of file EventProcessor.cc.
References deleteLumiFromCache(), edm::WaitingTaskHolder::doneWaiting(), esp_, iovQueue_, mps_monitormerge::items, looper_, edm::make_waiting_task(), edm::EventID::maxEventNumber(), eostools::move(), cmsPerfStripChart::operate(), processContext_, edm::SerialTaskQueue::resume(), schedule_, serviceToken_, mps_update::status, subProcesses_, lumiQTWidget::t, tmp, and writeLumiAsync().
Referenced by streamEndLumiAsync().
|
private |
Definition at line 1588 of file EventProcessor.cc.
References beginLumiAsync(), deferredExceptionPtr_, deferredExceptionPtrIsSet_, edm::WaitingTaskHolder::doneWaiting(), MillePedeFileConverter_cfg::e, edm::InputSource::IsLumi, lastTransitionType(), edm::make_waiting_task(), eostools::move(), cmsPerfStripChart::operate(), processEventAsync(), edm::SerialTaskQueueChain::push(), readNextEventForStream(), edm::SharedResourcesAcquirer::serialQueueChain(), serviceToken_, sourceResourcesAcquirer_, mps_update::status, streamEndLumiAsync(), and streamLumiStatus_.
Referenced by beginLumiAsync(), and continueLumiAsync().
|
private |
Definition at line 377 of file EventProcessor.cc.
References act_table_, actReg_, branchIDListHelper(), branchIDListHelper_, trackingPlots::common, edm::errors::Configuration, esp_, espController_, Exception, FDEBUG, fileModeNoMerge_, edm::fillLooper(), forceESCacheClearOnNewRun_, edm::ParameterSet::getUntrackedParameter(), historyAppender_, input_, edm::PrincipalCache::insert(), edm::ParentageRegistry::insertMapped(), edm::ParentageRegistry::instance(), mps_monitormerge::items, edm::serviceregistry::kConfigurationOverrides, looper_, lumiQueue_, edm::makeInput(), mergeableRunProductProcesses_, eostools::move(), jets_cff::nThreads, edm::PreallocationConfiguration::numberOfLuminosityBlocks(), edm::PreallocationConfiguration::numberOfStreams(), cmsPerfStripChart::operate(), or, edm::parameterSet(), edm::popSubProcessVParameterSet(), preallocations_, preg(), preg_, principalCache_, printDependencies_, processConfiguration_, processContext_, edm::ParameterSet::registerIt(), schedule_, serviceToken_, edm::PrincipalCache::setNumberOfConcurrentPrincipals(), edm::ProcessContext::setProcessConfiguration(), edm::MergeableRunProductProcesses::setProcessesWithMergeableRunProducts(), edm::PrincipalCache::setProcessHistoryRegistry(), edm::IllegalParameters::setThrowAnException(), streamLumiStatus_, streamQueues_, AlCaHLTBitMon_QueryRunRegistry::string, subProcesses_, thinnedAssociationsHelper(), thinnedAssociationsHelper_, and edm::validateTopLevelParameterSets().
Referenced by EventProcessor().
|
inline |
Definition at line 191 of file EventProcessor.h.
References Ecal2004TBTDCRanges_v1_cff::endRun, init, edm::InputSource::IsStop, findQualityFiles::run, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by handleNextEventForStreamAsync(), and processLumis().
|
inlineprivate |
Definition at line 285 of file EventProcessor.h.
References edm::get_underlying_safe().
Referenced by endJob().
|
inlineprivate |
Definition at line 286 of file EventProcessor.h.
References edm::get_underlying_safe().
edm::LuminosityBlockNumber_t edm::EventProcessor::nextLuminosityBlockID | ( | ) |
Definition at line 749 of file EventProcessor.cc.
References input_.
Referenced by readNextEventForStream().
std::pair< edm::ProcessHistoryID, edm::RunNumber_t > edm::EventProcessor::nextRunID | ( | ) |
Definition at line 744 of file EventProcessor.cc.
References input_.
InputSource::ItemType edm::EventProcessor::nextTransitionType | ( | ) |
Definition at line 717 of file EventProcessor.cc.
References actReg_, checkForAsyncStopRequest(), deferredExceptionPtrIsSet_, epSuccess, edm::ExternalSignal, input_, edm::InputSource::IsStop, edm::InputSource::IsSynchronize, lastSourceTransition_, and runEdmFileComparison::returnCode.
Referenced by readNextEventForStream().
void edm::EventProcessor::openOutputFiles | ( | ) |
Definition at line 853 of file EventProcessor.cc.
References fb_, FDEBUG, edm::for_all(), schedule_, and subProcesses_.
|
delete |
|
inlineprivate |
Definition at line 279 of file EventProcessor.h.
References edm::get_underlying_safe().
Referenced by beginJob(), init(), readAndMergeLumi(), readAndMergeRun(), readFile(), and readRun().
|
inlineprivate |
Definition at line 280 of file EventProcessor.h.
References edm::get_underlying_safe().
void edm::EventProcessor::prepareForNextLoop | ( | ) |
Definition at line 915 of file EventProcessor.cc.
References esp_, FDEBUG, edm::propagate_const< T >::get(), and looper_.
Referenced by runToCompletion().
|
inline |
Definition at line 133 of file EventProcessor.h.
References EcalCondTools::getToken(), and cuy::rep.
|
private |
Definition at line 1647 of file EventProcessor.cc.
References edm::make_functor_task(), and processEventAsyncImpl().
Referenced by handleNextEventForStreamAsync().
|
private |
Definition at line 1654 of file EventProcessor.cc.
References edm::WaitingTaskHolder::doneWaiting(), esp_, ev, edm::PrincipalCache::eventPrincipal(), FDEBUG, edm::Service< T >::isAvailable(), looper_, edm::make_waiting_task(), eostools::move(), cmsPerfStripChart::operate(), principalCache_, processEventWithLooper(), groupFilesInBlocks::reverse, schedule_, serviceToken_, and subProcesses_.
Referenced by processEventAsync().
|
private |
Definition at line 1715 of file EventProcessor.cc.
References esp_, input_, edm::InputSource::IsStop, edm::EDLooperBase::kContinue, edm::ProcessingController::kToPreviousEvent, edm::ProcessingController::kToSpecifiedEvent, edm::ProcessingController::lastOperationSucceeded(), lastSourceTransition_, looper_, processContext_, edm::ProcessingController::requestedTransition(), edm::ProcessingController::setLastOperationSucceeded(), shouldWeStop_, edm::ProcessingController::specifiedEventTransition(), mps_update::status, edm::EventPrincipal::streamID(), and summarizeEdmComparisonLogfiles::succeeded.
Referenced by processEventAsyncImpl().
InputSource::ItemType edm::EventProcessor::processLumis | ( | std::shared_ptr< void > const & | iRunResource | ) |
Definition at line 1107 of file EventProcessor.cc.
References beginLumiAsync(), continueLumiAsync(), input_, lastTransitionType(), edm::make_empty_waiting_task(), edm::PreallocationConfiguration::numberOfStreams(), preallocations_, and streamLumiActive_.
int edm::EventProcessor::readAndMergeLumi | ( | LuminosityBlockProcessingStatus & | iStatus | ) |
Definition at line 1465 of file EventProcessor.cc.
References actReg_, input_, edm::LuminosityBlockProcessingStatus::lumiPrincipal(), or, and preg().
Referenced by readNextEventForStream().
std::pair< ProcessHistoryID, RunNumber_t > edm::EventProcessor::readAndMergeRun | ( | ) |
Definition at line 1433 of file EventProcessor.cc.
References actReg_, input_, edm::PrincipalCache::merge(), preg(), principalCache_, and edm::PrincipalCache::runPrincipalPtr().
|
private |
Definition at line 1633 of file EventProcessor.cc.
References actReg_, edm::PrincipalCache::eventPrincipal(), FDEBUG, input_, principalCache_, processContext_, and streamLumiStatus_.
Referenced by readNextEventForStream().
void edm::EventProcessor::readFile | ( | ) |
Definition at line 825 of file EventProcessor.cc.
References actReg_, edm::PrincipalCache::adjustEventsToNewProductRegistry(), edm::PrincipalCache::adjustIndexesAfterProductRegistryAddition(), fb_, FDEBUG, input_, edm::PreallocationConfiguration::numberOfStreams(), edm::PreallocationConfiguration::numberOfThreads(), edm::FileBlock::ParallelProcesses, preallocations_, preg(), preg_, edm::PrincipalCache::preReadFile(), principalCache_, and findQualityFiles::size.
Referenced by Vispa.Plugins.EventBrowser.EventBrowserTabController.EventBrowserTabController::navigate(), Vispa.Main.TabController.TabController::open(), and Vispa.Main.TabController.TabController::refresh().
void edm::EventProcessor::readLuminosityBlock | ( | LuminosityBlockProcessingStatus & | iStatus | ) |
Definition at line 1445 of file EventProcessor.cc.
References actReg_, Exception, edm::PrincipalCache::getAvailableLumiPrincipalPtr(), edm::PrincipalCache::hasRunPrincipal(), historyAppender_, input_, edm::errors::LogicError, edm::LuminosityBlockProcessingStatus::lumiPrincipal(), eostools::move(), principalCache_, and edm::PrincipalCache::runPrincipalPtr().
Referenced by beginLumiAsync().
|
private |
Definition at line 1529 of file EventProcessor.cc.
References edm::LuminosityBlockProcessingStatus::continuingLumi(), deferredExceptionPtr_, deferredExceptionPtrIsSet_, edm::LuminosityBlockProcessingStatus::endLumi(), edm::LuminosityBlockProcessingStatus::haveContinuedLumi(), input_, edm::InputSource::IsEvent, edm::InputSource::IsLumi, edm::InputSource::IsRun, edm::InputSource::IsStop, edm::LuminosityBlockProcessingStatus::lumiPrincipal(), nextLuminosityBlockID(), nextTransitionType(), cmsPerfStripChart::operate(), or, readAndMergeLumi(), readEvent(), serviceToken_, edm::LuminosityBlockProcessingStatus::setNextSyncValue(), shouldWeStop(), sourceMutex_, edm::LuminosityBlockProcessingStatus::stopProcessingEvents(), and edm::LuminosityBlockProcessingStatus::wasEventProcessingStopped().
Referenced by handleNextEventForStreamAsync().
std::pair< ProcessHistoryID, RunNumber_t > edm::EventProcessor::readRun | ( | ) |
Definition at line 1413 of file EventProcessor.cc.
References actReg_, Exception, edm::PrincipalCache::hasRunPrincipal(), historyAppender_, input_, edm::PrincipalCache::insert(), edm::errors::LogicError, mergeableRunProductProcesses_, preg(), principalCache_, and processConfiguration_.
void edm::EventProcessor::respondToCloseInputFile | ( | ) |
Definition at line 878 of file EventProcessor.cc.
References fb_, FDEBUG, edm::for_all(), schedule_, and subProcesses_.
void edm::EventProcessor::respondToOpenInputFile | ( | ) |
Definition at line 869 of file EventProcessor.cc.
References branchIDListHelper_, fb_, FDEBUG, edm::for_all(), schedule_, and subProcesses_.
void edm::EventProcessor::rewindInput | ( | ) |
Definition at line 909 of file EventProcessor.cc.
References FDEBUG, and input_.
Referenced by runToCompletion().
|
inline |
Definition at line 355 of file EventProcessor.h.
Referenced by Types.EventID::cppID(), Types.LuminosityBlockID::cppID(), and endUnfinishedRun().
EventProcessor::StatusCode edm::EventProcessor::runToCompletion | ( | ) |
Definition at line 754 of file EventProcessor.cc.
References cms::Exception::addAdditionalInfo(), cms::Exception::alreadyPrinted(), asyncStopRequestedWhileProcessingEvents_, asyncStopStatusCodeFromProcessingEvents_, beginJob(), deferredExceptionPtr_, deferredExceptionPtrIsSet_, doErrorStuff(), MillePedeFileConverter_cfg::e, endOfLoop(), epSuccess, Exception, exceptionMessageFiles_, exceptionMessageLumis_, exceptionMessageRuns_, fileModeNoMerge_, edm::InputSource::IsStop, cmsPerfStripChart::operate(), prepareForNextLoop(), runEdmFileComparison::returnCode, rewindInput(), serviceToken_, startingNewLoop(), and edm::convertException::wrap().
Referenced by PythonEventProcessor::run().
bool edm::EventProcessor::setDeferredException | ( | std::exception_ptr | iException | ) |
Definition at line 1770 of file EventProcessor.cc.
References deferredExceptionPtr_, and deferredExceptionPtrIsSet_.
void edm::EventProcessor::setExceptionMessageFiles | ( | std::string & | message | ) |
Definition at line 1758 of file EventProcessor.cc.
References exceptionMessageFiles_.
void edm::EventProcessor::setExceptionMessageLumis | ( | std::string & | message | ) |
Definition at line 1766 of file EventProcessor.cc.
References exceptionMessageLumis_.
void edm::EventProcessor::setExceptionMessageRuns | ( | std::string & | message | ) |
Definition at line 1762 of file EventProcessor.cc.
References exceptionMessageRuns_.
bool edm::EventProcessor::shouldWeCloseOutput | ( | ) | const |
Definition at line 920 of file EventProcessor.cc.
References FDEBUG, schedule_, and subProcesses_.
bool edm::EventProcessor::shouldWeStop | ( | ) | const |
Definition at line 1744 of file EventProcessor.cc.
References FDEBUG, schedule_, shouldWeStop_, and subProcesses_.
Referenced by readNextEventForStream().
void edm::EventProcessor::startingNewLoop | ( | ) |
Definition at line 886 of file EventProcessor.cc.
References FDEBUG, looper_, looperBeginJobRun_, and shouldWeStop_.
Referenced by runToCompletion().
void edm::EventProcessor::streamEndLumiAsync | ( | edm::WaitingTaskHolder | iTask, |
unsigned int | iStreamIndex, | ||
std::shared_ptr< LuminosityBlockProcessingStatus > | iLumiStatus | ||
) |
Definition at line 1350 of file EventProcessor.cc.
References edm::WaitingTaskHolder::doneWaiting(), esp_, globalEndLumiAsync(), edm::make_waiting_task(), edm::EventID::maxEventNumber(), eostools::move(), schedule_, serviceToken_, mps_update::status, streamLumiActive_, streamLumiStatus_, streamQueues_, subProcesses_, and lumiQTWidget::t.
Referenced by endUnfinishedLumi(), and handleNextEventForStreamAsync().
|
inlineprivate |
Definition at line 283 of file EventProcessor.h.
References edm::get_underlying_safe().
Referenced by init().
|
inlineprivate |
Definition at line 284 of file EventProcessor.h.
References edm::get_underlying_safe().
int edm::EventProcessor::totalEvents | ( | ) | const |
Return the number of events this EventProcessor has tried to process (inclues both successes and failures, including failures due to exceptions during processing).
Definition at line 666 of file EventProcessor.cc.
References schedule_.
Referenced by PythonEventProcessor::totalEvents().
int edm::EventProcessor::totalEventsFailed | ( | ) | const |
Return the number of events that have not passed any trigger. (N.B. totalEventsFailed() + totalEventsPassed() == totalEvents()
Definition at line 676 of file EventProcessor.cc.
References schedule_.
Referenced by PythonEventProcessor::totalEventsFailed().
int edm::EventProcessor::totalEventsPassed | ( | ) | const |
Return the number of events processed by this EventProcessor which have been passed by one or more trigger paths.
Definition at line 671 of file EventProcessor.cc.
References schedule_.
Referenced by PythonEventProcessor::totalEventsPassed().
void edm::EventProcessor::writeLumiAsync | ( | WaitingTaskHolder | task, |
std::shared_ptr< LuminosityBlockProcessingStatus > | iStatus | ||
) |
Definition at line 1504 of file EventProcessor.cc.
References actReg_, edm::WaitingTaskHolder::doneWaiting(), edm::make_waiting_task(), processContext_, alignCSCRings::s, schedule_, serviceToken_, and subProcesses_.
Referenced by globalEndLumiAsync().
void edm::EventProcessor::writeRunAsync | ( | WaitingTaskHolder | task, |
ProcessHistoryID const & | phid, | ||
RunNumber_t | run, | ||
MergeableRunProductMetadata const * | mergeableRunProductMetadata | ||
) |
Definition at line 1480 of file EventProcessor.cc.
References actReg_, edm::WaitingTaskHolder::doneWaiting(), edm::make_waiting_task(), principalCache_, processContext_, edm::PrincipalCache::runPrincipal(), alignCSCRings::s, schedule_, serviceToken_, and subProcesses_.
Referenced by endUnfinishedRun().
|
private |
Definition at line 304 of file EventProcessor.h.
Referenced by init().
|
private |
Definition at line 294 of file EventProcessor.h.
Referenced by beginJob(), beginLumiAsync(), beginRun(), closeInputFile(), endJob(), endRun(), init(), nextTransitionType(), readAndMergeLumi(), readAndMergeRun(), readEvent(), readFile(), readLuminosityBlock(), readRun(), writeLumiAsync(), writeRunAsync(), and ~EventProcessor().
|
private |
Definition at line 340 of file EventProcessor.h.
Referenced by runToCompletion().
|
private |
Definition at line 341 of file EventProcessor.h.
Referenced by runToCompletion().
|
private |
Definition at line 328 of file EventProcessor.h.
Referenced by beginJob().
|
private |
Definition at line 296 of file EventProcessor.h.
Referenced by init(), and respondToOpenInputFile().
|
private |
Definition at line 323 of file EventProcessor.h.
Referenced by handleNextEventForStreamAsync(), readNextEventForStream(), runToCompletion(), and setDeferredException().
|
private |
Definition at line 322 of file EventProcessor.h.
Referenced by handleNextEventForStreamAsync(), nextTransitionType(), readNextEventForStream(), runToCompletion(), and setDeferredException().
|
private |
Definition at line 302 of file EventProcessor.h.
Referenced by beginLumiAsync(), beginRun(), endOfLoop(), endRun(), globalEndLumiAsync(), init(), prepareForNextLoop(), processEventAsyncImpl(), processEventWithLooper(), streamEndLumiAsync(), and ~EventProcessor().
|
private |
Definition at line 301 of file EventProcessor.h.
Referenced by beginLumiAsync(), beginRun(), endRun(), init(), and ~EventProcessor().
|
private |
Definition at line 346 of file EventProcessor.h.
|
private |
Definition at line 331 of file EventProcessor.h.
Referenced by runToCompletion(), and setExceptionMessageFiles().
|
private |
Definition at line 333 of file EventProcessor.h.
Referenced by runToCompletion(), and setExceptionMessageLumis().
|
private |
Definition at line 332 of file EventProcessor.h.
Referenced by runToCompletion(), and setExceptionMessageRuns().
|
private |
Definition at line 318 of file EventProcessor.h.
Referenced by closeInputFile(), closeOutputFiles(), openOutputFiles(), readFile(), respondToCloseInputFile(), and respondToOpenInputFile().
|
private |
Definition at line 330 of file EventProcessor.h.
Referenced by init(), and runToCompletion().
|
private |
Definition at line 342 of file EventProcessor.h.
|
private |
Definition at line 336 of file EventProcessor.h.
Referenced by beginRun(), and init().
|
private |
Definition at line 334 of file EventProcessor.h.
Referenced by endOfLoop().
|
private |
Definition at line 316 of file EventProcessor.h.
Referenced by init(), readLuminosityBlock(), and readRun().
|
private |
Definition at line 299 of file EventProcessor.h.
Referenced by beginJob(), beginLumiAsync(), beginRun(), closeInputFile(), endJob(), endRun(), init(), nextLuminosityBlockID(), nextRunID(), nextTransitionType(), processEventWithLooper(), processLumis(), readAndMergeLumi(), readAndMergeRun(), readEvent(), readFile(), readLuminosityBlock(), readNextEventForStream(), readRun(), rewindInput(), and ~EventProcessor().
|
private |
Definition at line 303 of file EventProcessor.h.
Referenced by beginLumiAsync(), and globalEndLumiAsync().
|
private |
Definition at line 300 of file EventProcessor.h.
Referenced by nextTransitionType(), and processEventWithLooper().
|
private |
Definition at line 319 of file EventProcessor.h.
Referenced by beginLumiAsync(), beginRun(), Config.Process::dumpConfig(), Config.Process::dumpPython(), endJob(), endOfLoop(), endRun(), globalEndLumiAsync(), init(), prepareForNextLoop(), processEventAsyncImpl(), processEventWithLooper(), startingNewLoop(), and ~EventProcessor().
|
private |
Definition at line 335 of file EventProcessor.h.
Referenced by beginRun(), and startingNewLoop().
|
private |
Definition at line 311 of file EventProcessor.h.
Referenced by beginLumiAsync(), and init().
|
private |
Definition at line 308 of file EventProcessor.h.
|
private |
Definition at line 307 of file EventProcessor.h.
Referenced by beginJob().
|
private |
Definition at line 338 of file EventProcessor.h.
Referenced by beginJob(), beginLumiAsync(), beginRun(), continueLumiAsync(), endJob(), endRun(), endUnfinishedLumi(), init(), processLumis(), and readFile().
|
private |
Definition at line 295 of file EventProcessor.h.
Referenced by beginJob(), endOfLoop(), init(), and readFile().
|
private |
Definition at line 327 of file EventProcessor.h.
Referenced by beginLumiAsync(), beginRun(), deleteRunFromCache(), endRun(), endUnfinishedRun(), init(), processEventAsyncImpl(), readAndMergeRun(), readEvent(), readFile(), readLuminosityBlock(), readRun(), and writeRunAsync().
|
private |
Definition at line 348 of file EventProcessor.h.
Referenced by beginJob(), and init().
|
private |
Definition at line 305 of file EventProcessor.h.
Referenced by beginJob(), init(), and readRun().
|
private |
Definition at line 306 of file EventProcessor.h.
Referenced by beginJob(), beginLumiAsync(), beginRun(), endRun(), globalEndLumiAsync(), init(), processEventWithLooper(), readEvent(), writeLumiAsync(), and writeRunAsync().
|
private |
Definition at line 309 of file EventProcessor.h.
Referenced by Config.Process::_insertPaths(), Config.Process::_replaceInSchedule(), beginJob(), beginLumiAsync(), beginRun(), clearCounters(), closeOutputFiles(), Config.Process::dumpPython(), enableEndPaths(), endJob(), endOfLoop(), endPathsEnabled(), endRun(), getAllModuleDescriptions(), getTriggerReport(), globalEndLumiAsync(), init(), openOutputFiles(), processEventAsyncImpl(), Config.Process::prune(), Config.Process::resolve(), respondToCloseInputFile(), respondToOpenInputFile(), shouldWeCloseOutput(), shouldWeStop(), streamEndLumiAsync(), totalEvents(), totalEventsFailed(), totalEventsPassed(), writeLumiAsync(), writeRunAsync(), and ~EventProcessor().
|
private |
Definition at line 298 of file EventProcessor.h.
Referenced by beginJob(), beginLumiAsync(), beginRun(), endJob(), endRun(), getToken(), globalEndLumiAsync(), handleNextEventForStreamAsync(), init(), processEventAsyncImpl(), readNextEventForStream(), runToCompletion(), streamEndLumiAsync(), writeLumiAsync(), and writeRunAsync().
|
private |
Definition at line 329 of file EventProcessor.h.
Referenced by processEventWithLooper(), shouldWeStop(), and startingNewLoop().
|
private |
Definition at line 326 of file EventProcessor.h.
Referenced by readNextEventForStream().
|
private |
Definition at line 325 of file EventProcessor.h.
Referenced by beginLumiAsync(), and handleNextEventForStreamAsync().
|
private |
Definition at line 313 of file EventProcessor.h.
Referenced by beginLumiAsync(), endUnfinishedLumi(), processLumis(), and streamEndLumiAsync().
|
private |
Definition at line 312 of file EventProcessor.h.
Referenced by beginLumiAsync(), continueLumiAsync(), endUnfinishedLumi(), handleNextEventForStreamAsync(), init(), readEvent(), and streamEndLumiAsync().
|
private |
Definition at line 310 of file EventProcessor.h.
Referenced by beginLumiAsync(), init(), and streamEndLumiAsync().
|
private |
Definition at line 315 of file EventProcessor.h.
Referenced by beginJob(), beginLumiAsync(), beginRun(), closeOutputFiles(), deleteLumiFromCache(), deleteRunFromCache(), Config.Process::dumpConfig(), Config.Process::dumpPython(), endJob(), endRun(), globalEndLumiAsync(), init(), openOutputFiles(), processEventAsyncImpl(), respondToCloseInputFile(), respondToOpenInputFile(), shouldWeCloseOutput(), shouldWeStop(), streamEndLumiAsync(), writeLumiAsync(), and writeRunAsync().
|
private |
Definition at line 297 of file EventProcessor.h.
Referenced by init().