LArSoft
v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
|
#include "EventProcessor.h"
Public Types | |
enum | Status { epSuccess = 0, epSignal = 3 } |
using | StatusCode = Status |
Public Member Functions | |
EventProcessor (EventProcessor const &)=delete | |
EventProcessor & | operator= (EventProcessor const &)=delete |
EventProcessor (fhicl::ParameterSet const &pset) | |
~EventProcessor () | |
StatusCode | runToCompletion () |
Definition at line 46 of file EventProcessor.h.
Definition at line 57 of file EventProcessor.h.
Enumerator | |
---|---|
epSuccess | |
epSignal |
Definition at line 52 of file EventProcessor.h.
|
delete |
|
explicit |
Definition at line 121 of file EventProcessor.cc.
References act_table_, actReg_, art::ProductMetaData::create_instance(), endPathExecutor_, FDEBUG, art::MasterProductRegistry::finalizeForProcessing(), art::ServiceToken::forceCreation(), fhicl::ParameterSet::get(), art::getReleaseVersion(), handleEmptyRuns_, handleEmptySubRuns_, art::ProcessConfiguration::id(), initSchedules_(), initServices_(), input_, mfStatusUpdater_, pathManager_, preg_, producedProducts_, productsToProduce_, psSignals_, art::ServiceToken::registerProducts(), serviceDirector_, servicesActivate_(), servicesDeactivate_(), and serviceToken_.
art::EventProcessor::~EventProcessor | ( | ) |
Definition at line 157 of file EventProcessor.cc.
References servicesActivate_(), and serviceToken_.
|
private |
Definition at line 490 of file EventProcessor.cc.
References art::Event, FDEBUG, art::highest_level(), input_, art::InputFile, art::input::IsEvent, art::input::IsFile, art::input::IsInvalid, art::input::IsRun, art::input::IsStop, art::input::IsSubRun, art::errors::LogicError, art::Run, and art::SubRun.
Referenced by levelsToProcess(), and recordOutputModuleClosureRequests().
|
private |
|
private |
Definition at line 520 of file EventProcessor.cc.
References breakpoints::beginJob(), endPathExecutor_, FDEBUG, input_, invokePostBeginJobWorkers_(), schedule_, and serviceToken_.
Referenced by art::EventProcessor::begin< Level::Job >(), and recordOutputModuleClosureRequests().
|
private |
Definition at line 727 of file EventProcessor.cc.
References beginRunCalled_, FDEBUG, finalizeRunEnabled_, and runPrincipal_.
Referenced by beginRunIfNotDoneAlready(), art::EventProcessor::begin< Level::Run >(), and recordOutputModuleClosureRequests().
|
private |
Definition at line 741 of file EventProcessor.cc.
References beginRun(), and beginRunCalled_.
Referenced by art::EventProcessor::begin< Level::SubRun >(), process(), and recordOutputModuleClosureRequests().
|
private |
Definition at line 807 of file EventProcessor.cc.
References beginSubRunCalled_, FDEBUG, finalizeSubRunEnabled_, and subRunPrincipal_.
Referenced by beginSubRunIfNotDoneAlready(), art::EventProcessor::begin< Level::SubRun >(), and recordOutputModuleClosureRequests().
|
private |
Definition at line 821 of file EventProcessor.cc.
References beginSubRun(), and beginSubRunCalled_.
Referenced by process(), and recordOutputModuleClosureRequests().
|
private |
Definition at line 596 of file EventProcessor.cc.
References closeAllOutputFiles(), and closeInputFile().
Referenced by art::EventProcessor::finalize< Level::InputFile >(), and recordOutputModuleClosureRequests().
|
private |
Definition at line 630 of file EventProcessor.cc.
References endPathExecutor_, FDEBUG, and respondToCloseOutputFiles().
Referenced by closeAllFiles(), and recordOutputModuleClosureRequests().
|
private |
Definition at line 603 of file EventProcessor.cc.
References closeSomeOutputFiles(), endPathExecutor_, FDEBUG, input_, art::Granularity::InputFile, and respondToCloseInputFile().
Referenced by closeAllFiles(), art::EventProcessor::finalize< Level::InputFile >(), and recordOutputModuleClosureRequests().
|
private |
Definition at line 659 of file EventProcessor.cc.
References endPathExecutor_, FDEBUG, and respondToCloseOutputFiles().
Referenced by closeInputFile(), levelsToProcess(), and recordOutputModuleClosureRequests().
|
private |
Definition at line 560 of file EventProcessor.cc.
References art::detail::ExceptionCollector::call(), ec_, endPathExecutor_, FDEBUG, input_, pathManager_, schedule_, serviceToken_, timer_, and art::detail::writeSummary().
Referenced by art::EventProcessor::finalize< Level::Job >(), and recordOutputModuleClosureRequests().
|
private |
Definition at line 758 of file EventProcessor.cc.
References beginRunCalled_, FDEBUG, and runPrincipal_.
Referenced by art::EventProcessor::finalize< Level::Run >(), and recordOutputModuleClosureRequests().
|
private |
Definition at line 838 of file EventProcessor.cc.
References beginSubRunCalled_, FDEBUG, and subRunPrincipal_.
Referenced by art::EventProcessor::finalize< Level::SubRun >(), and recordOutputModuleClosureRequests().
|
private |
|
inlineprivate |
Definition at line 92 of file EventProcessor.h.
|
private |
Definition at line 193 of file EventProcessor.cc.
References act_table_, actReg_, art::ScheduleID::first(), fhicl::ParameterSet::get(), pathManager_, preg_, productsToProduce_, schedule_, and tbbManager_.
Referenced by EventProcessor().
|
private |
Definition at line 165 of file EventProcessor.cc.
References fhicl::ParameterSet::erase(), fhicl::ParameterSet::get(), pathManager_, and art::PathManager::triggerPathNames().
Referenced by EventProcessor().
|
private |
Definition at line 213 of file EventProcessor.cc.
References art::PathManager::endPathInfo(), art::ScheduleID::first(), input_, pathManager_, art::PathManager::triggerPathsInfo(), and art::PathsInfo::workers().
Referenced by beginJob().
|
private |
Definition at line 235 of file EventProcessor.cc.
References activeLevels_, advanceItemType(), closeSomeOutputFiles(), endPathExecutor_, art::highest_level(), art::errors::LogicError, nextLevel_, art::ReadyToAdvance, setOutputFileStatus(), and art::Switching.
|
private |
Definition at line 483 of file EventProcessor.cc.
References activeLevels_.
Referenced by process(), and recordOutputModuleClosureRequests().
|
private |
Definition at line 623 of file EventProcessor.cc.
References endPathExecutor_, fb_, and FDEBUG.
Referenced by recordOutputModuleClosureRequests().
|
private |
Definition at line 581 of file EventProcessor.cc.
References fb_, FDEBUG, input_, art::errors::LogicError, and respondToOpenInputFile().
Referenced by art::EventProcessor::begin< Level::InputFile >(), and recordOutputModuleClosureRequests().
|
private |
Definition at line 641 of file EventProcessor.cc.
References endPathExecutor_, fb_, FDEBUG, and respondToOpenOutputFiles().
Referenced by art::EventProcessor::finalize< Level::Event >(), art::EventProcessor::finalize< Level::Run >(), art::EventProcessor::finalize< Level::SubRun >(), and recordOutputModuleClosureRequests().
|
delete |
|
private |
Definition at line 439 of file EventProcessor.cc.
References art::detail::ExceptionCollector::call(), ec_, art::detail::ExceptionCollector::empty(), markLevelAsProcessed(), and art::shutdown_flag.
|
private |
Definition at line 413 of file EventProcessor.cc.
References beginRunIfNotDoneAlready(), beginSubRunIfNotDoneAlready(), ec_, art::detail::ExceptionCollector::empty(), eventPrincipal_, art::highest_level(), nextLevel_, processEvent(), readEvent(), shouldWeStop(), and art::shutdown_flag.
|
private |
Definition at line 203 of file EventProcessor.h.
References act_table_, actReg_, endPathExecutor_, art::Event, art::errors::EventProcessorFailure, art::ActionTable::find(), art::actions::IgnoreCompletely, art::actions::Rethrow, and schedule_.
|
private |
Definition at line 886 of file EventProcessor.cc.
References eventPrincipal_, and FDEBUG.
Referenced by process(), and recordOutputModuleClosureRequests().
|
private |
Definition at line 867 of file EventProcessor.cc.
References eventPrincipal_, FDEBUG, art::ProductTables::get(), art::InEvent, input_, art::Consumer::non_module_context(), producedProducts_, psSignals_, art::ProducingServiceSignals::sPostReadEvent, and subRunPrincipal_.
Referenced by process(), and recordOutputModuleClosureRequests().
|
private |
Definition at line 707 of file EventProcessor.cc.
References endPathExecutor_, FDEBUG, art::ProductTables::get(), input_, art::InRun, art::Consumer::non_module_context(), producedProducts_, psSignals_, runPrincipal_, and art::ProducingServiceSignals::sPostReadRun.
Referenced by art::EventProcessor::begin< Level::Run >(), and recordOutputModuleClosureRequests().
|
private |
Definition at line 787 of file EventProcessor.cc.
References endPathExecutor_, FDEBUG, art::ProductTables::get(), input_, art::InSubRun, art::Consumer::non_module_context(), producedProducts_, psSignals_, runPrincipal_, art::ProducingServiceSignals::sPostReadSubRun, and subRunPrincipal_.
Referenced by art::EventProcessor::begin< Level::SubRun >(), and recordOutputModuleClosureRequests().
|
inlineprivate |
Definition at line 96 of file EventProcessor.h.
References advanceItemType(), beginJob(), beginRun(), beginRunIfNotDoneAlready(), beginSubRun(), beginSubRunIfNotDoneAlready(), closeAllFiles(), closeAllOutputFiles(), closeInputFile(), closeSomeOutputFiles(), endJob(), endRun(), endSubRun(), markLevelAsProcessed(), openAllOutputFiles(), openInputFile(), openSomeOutputFiles(), processEvent(), readEvent(), readRun(), readSubRun(), respondToCloseInputFile(), respondToCloseOutputFiles(), respondToOpenInputFile(), respondToOpenOutputFiles(), setOutputFileStatus(), setRunAuxiliaryRangeSetID(), setSubRunAuxiliaryRangeSetID(), shouldWeStop(), writeEvent(), writeRun(), and writeSubRun().
|
private |
Definition at line 680 of file EventProcessor.cc.
References endPathExecutor_, fb_, FDEBUG, and schedule_.
Referenced by closeInputFile(), and recordOutputModuleClosureRequests().
|
private |
Definition at line 696 of file EventProcessor.cc.
References endPathExecutor_, fb_, FDEBUG, and schedule_.
Referenced by closeAllOutputFiles(), closeSomeOutputFiles(), and recordOutputModuleClosureRequests().
|
private |
Definition at line 672 of file EventProcessor.cc.
References endPathExecutor_, fb_, FDEBUG, and schedule_.
Referenced by openInputFile(), and recordOutputModuleClosureRequests().
|
private |
Definition at line 688 of file EventProcessor.cc.
References endPathExecutor_, fb_, FDEBUG, and schedule_.
Referenced by openSomeOutputFiles(), and recordOutputModuleClosureRequests().
art::EventProcessor::StatusCode art::EventProcessor::runToCompletion | ( | ) |
Definition at line 461 of file EventProcessor.cc.
References art::detail::ExceptionCollector::call(), ec_, art::detail::ExceptionCollector::empty(), epSignal, epSuccess, art::detail::ExceptionCollector::rethrow(), serviceToken_, art::shutdown_flag, and terminateAbnormally_().
|
private |
Definition at line 919 of file EventProcessor.cc.
References servicesSentry_.
Referenced by EventProcessor(), and ~EventProcessor().
|
private |
Definition at line 925 of file EventProcessor.cc.
References servicesSentry_.
Referenced by EventProcessor().
|
private |
Definition at line 652 of file EventProcessor.cc.
References endPathExecutor_, and FDEBUG.
Referenced by levelsToProcess(), and recordOutputModuleClosureRequests().
|
private |
Definition at line 749 of file EventProcessor.cc.
References endPathExecutor_, FDEBUG, and runPrincipal_.
Referenced by art::EventProcessor::finalize< Level::Run >(), and recordOutputModuleClosureRequests().
|
private |
Definition at line 829 of file EventProcessor.cc.
References endPathExecutor_, FDEBUG, and subRunPrincipal_.
Referenced by art::EventProcessor::finalize< Level::SubRun >(), and recordOutputModuleClosureRequests().
|
private |
Definition at line 909 of file EventProcessor.cc.
References endPathExecutor_, FDEBUG, and shouldWeStop_.
Referenced by process(), and recordOutputModuleClosureRequests().
|
private |
Definition at line 931 of file EventProcessor.cc.
Referenced by runToCompletion().
|
private |
Definition at line 897 of file EventProcessor.cc.
References endPathExecutor_, eventPrincipal_, and FDEBUG.
Referenced by art::EventProcessor::finalize< Level::Event >(), and recordOutputModuleClosureRequests().
|
private |
Definition at line 773 of file EventProcessor.cc.
References endPathExecutor_, FDEBUG, and runPrincipal_.
Referenced by art::EventProcessor::finalize< Level::Run >(), and recordOutputModuleClosureRequests().
|
private |
Definition at line 853 of file EventProcessor.cc.
References endPathExecutor_, FDEBUG, and subRunPrincipal_.
Referenced by art::EventProcessor::finalize< Level::SubRun >(), and recordOutputModuleClosureRequests().
|
private |
Definition at line 174 of file EventProcessor.h.
Referenced by EventProcessor(), initSchedules_(), and process_().
|
private |
Definition at line 143 of file EventProcessor.h.
Referenced by levelsToProcess(), and markLevelAsProcessed().
|
private |
Definition at line 175 of file EventProcessor.h.
Referenced by EventProcessor(), initSchedules_(), and process_().
|
private |
Definition at line 147 of file EventProcessor.h.
Referenced by beginRun(), beginRunIfNotDoneAlready(), endRun(), and art::EventProcessor::finalize< Level::Run >().
|
private |
Definition at line 148 of file EventProcessor.h.
Referenced by beginSubRun(), beginSubRunIfNotDoneAlready(), endSubRun(), and art::EventProcessor::finalize< Level::SubRun >().
|
private |
Definition at line 144 of file EventProcessor.h.
Referenced by endJob(), process(), and runToCompletion().
|
private |
Definition at line 187 of file EventProcessor.h.
Referenced by beginJob(), closeAllOutputFiles(), closeInputFile(), closeSomeOutputFiles(), endJob(), EventProcessor(), art::EventProcessor::recordOutputModuleClosureRequests< Level::Event >(), art::EventProcessor::recordOutputModuleClosureRequests< Level::Run >(), art::EventProcessor::recordOutputModuleClosureRequests< Level::SubRun >(), levelsToProcess(), openAllOutputFiles(), openSomeOutputFiles(), process_(), readRun(), readSubRun(), respondToCloseInputFile(), respondToCloseOutputFiles(), respondToOpenInputFile(), respondToOpenOutputFiles(), setOutputFileStatus(), setRunAuxiliaryRangeSetID(), setSubRunAuxiliaryRangeSetID(), shouldWeStop(), writeEvent(), writeRun(), and writeSubRun().
|
private |
Definition at line 192 of file EventProcessor.h.
Referenced by art::EventProcessor::finalize< Level::Event >(), process(), processEvent(), readEvent(), and writeEvent().
|
private |
Definition at line 188 of file EventProcessor.h.
Referenced by openAllOutputFiles(), openInputFile(), openSomeOutputFiles(), respondToCloseInputFile(), respondToCloseOutputFiles(), respondToOpenInputFile(), and respondToOpenOutputFiles().
|
private |
Definition at line 151 of file EventProcessor.h.
Referenced by beginRun(), art::EventProcessor::begin< Level::Run >(), and art::EventProcessor::finalize< Level::Run >().
|
private |
Definition at line 152 of file EventProcessor.h.
Referenced by beginSubRun(), art::EventProcessor::begin< Level::SubRun >(), and art::EventProcessor::finalize< Level::SubRun >().
|
private |
Definition at line 195 of file EventProcessor.h.
Referenced by EventProcessor(), and art::EventProcessor::begin< Level::Run >().
|
private |
Definition at line 196 of file EventProcessor.h.
Referenced by EventProcessor(), and art::EventProcessor::begin< Level::SubRun >().
|
private |
Definition at line 185 of file EventProcessor.h.
Referenced by advanceItemType(), beginJob(), closeInputFile(), endJob(), EventProcessor(), invokePostBeginJobWorkers_(), openInputFile(), readEvent(), readRun(), and readSubRun().
|
private |
Definition at line 176 of file EventProcessor.h.
Referenced by EventProcessor().
|
private |
Definition at line 142 of file EventProcessor.h.
Referenced by art::EventProcessor::finalize< Level::InputFile >(), levelsToProcess(), and process().
|
private |
Definition at line 183 of file EventProcessor.h.
Referenced by endJob(), EventProcessor(), initSchedules_(), initServices_(), and invokePostBeginJobWorkers_().
|
private |
Definition at line 177 of file EventProcessor.h.
Referenced by EventProcessor(), and initSchedules_().
|
private |
Definition at line 193 of file EventProcessor.h.
Referenced by EventProcessor(), readEvent(), readRun(), and readSubRun().
|
private |
Definition at line 178 of file EventProcessor.h.
Referenced by EventProcessor(), and initSchedules_().
|
private |
Definition at line 179 of file EventProcessor.h.
Referenced by EventProcessor(), readEvent(), readRun(), and readSubRun().
|
private |
Definition at line 190 of file EventProcessor.h.
Referenced by beginRun(), endRun(), art::EventProcessor::begin< Level::SubRun >(), art::EventProcessor::finalize< Level::Run >(), readRun(), readSubRun(), setRunAuxiliaryRangeSetID(), and writeRun().
|
private |
Definition at line 186 of file EventProcessor.h.
Referenced by beginJob(), endJob(), initSchedules_(), process_(), respondToCloseInputFile(), respondToCloseOutputFiles(), respondToOpenInputFile(), and respondToOpenOutputFiles().
|
private |
Definition at line 184 of file EventProcessor.h.
Referenced by EventProcessor().
|
private |
Definition at line 182 of file EventProcessor.h.
Referenced by servicesActivate_(), and servicesDeactivate_().
|
private |
Definition at line 180 of file EventProcessor.h.
Referenced by beginJob(), endJob(), EventProcessor(), runToCompletion(), and ~EventProcessor().
|
private |
Definition at line 194 of file EventProcessor.h.
Referenced by shouldWeStop().
|
private |
Definition at line 191 of file EventProcessor.h.
Referenced by beginSubRun(), endSubRun(), art::EventProcessor::finalize< Level::SubRun >(), readEvent(), readSubRun(), setSubRunAuxiliaryRangeSetID(), and writeSubRun().
|
private |
Definition at line 181 of file EventProcessor.h.
Referenced by initSchedules_().
|
private |
Definition at line 145 of file EventProcessor.h.
Referenced by endJob(), art::EventProcessor::begin< Level::Job >(), and art::EventProcessor::finalize< Level::Job >().