LArSoft
v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
|
#include "OutputWorker.h"
Public Types | |
using | ModuleType = OutputModule |
using | WorkerType = WorkerT< OutputModule > |
enum | State { Ready, Pass, Fail, Working, Exception } |
Protected Member Functions | |
OutputModule & | module () |
OutputModule const & | module () const |
Private Attributes | |
ServiceHandle< CatalogInterface > | ci_ |
Granularity | fileGranularity_ {Granularity::Unset} |
Definition at line 29 of file OutputWorker.h.
|
inherited |
|
inherited |
|
inherited |
Enumerator | |
---|---|
Ready | |
Pass | |
Fail | |
Working | |
Exception |
Definition at line 53 of file Worker.h.
art::OutputWorker::OutputWorker | ( | std::unique_ptr< OutputModule > && | mod, |
ModuleDescription const & | md, | ||
WorkerParams const & | wp | ||
) |
Definition at line 9 of file OutputWorker.cc.
References ci_, art::Worker::description(), fhicl::ParameterSetRegistry::get(), and art::Worker::label().
|
virtual |
Definition at line 19 of file OutputWorker.cc.
|
inherited |
Definition at line 18 of file Worker.cc.
References art::Worker::actReg_, art::errors::BadExceptionType, art::Worker::description(), e, art::Worker::implBeginJob(), art::Worker::md_, art::errors::OtherArt, s, art::errors::StdException, art::errors::Unknown, and art::Worker::workerType().
|
inlineinherited |
Definition at line 88 of file Worker.h.
References art::Worker::counts_.
void art::OutputWorker::closeFile | ( | ) |
Definition at line 28 of file OutputWorker.cc.
References ci_, art::Worker::description(), art::OutputModule::doCloseFile(), lastClosedFileName(), and art::WorkerT< OutputModule >::module().
Referenced by art::EndPathExecutor::closeAllOutputFiles().
void art::OutputWorker::configure | ( | OutputModuleDescription const & | desc | ) |
Definition at line 109 of file OutputWorker.cc.
References art::OutputModule::configure(), and art::WorkerT< OutputModule >::module().
|
inlineinherited |
Definition at line 79 of file Worker.h.
References art::Worker::md_, and art::Worker::setActivityRegistry().
|
inlineinherited |
Definition at line 74 of file Worker.h.
References art::Worker::md_.
Referenced by art::Worker::beginJob(), closeFile(), art::Worker::endJob(), openFile(), and OutputWorker().
|
inherited |
Definition at line 218 of file Worker.h.
References art::Worker::actions_, art::Worker::actReg_, art::errors::BadAlloc, art::errors::BadExceptionType, art::Worker::cached_exception_, art::Worker::counts_, e, art::Event, art::Worker::Exception, art::detail::exceptionContext(), art::Worker::Fail, art::actions::FailModule, art::actions::FailPath, art::ActionTable::find(), art::actions::IgnoreCompletely, art::CurrentProcessingContext::isEndPath(), art::Worker::md_, art::errors::OtherArt, art::Worker::Pass, art::Worker::Ready, art::actions::Rethrow, s, art::errors::ScheduleExecutionFailure, art::actions::SkipEvent, art::Worker::state_, art::errors::StdException, art::errors::Unknown, and art::Worker::Working.
|
inherited |
Definition at line 68 of file Worker.cc.
References art::Worker::actReg_, art::errors::BadExceptionType, art::Worker::description(), e, art::Worker::implEndJob(), art::Worker::md_, art::errors::OtherArt, s, art::errors::StdException, art::errors::Unknown, and art::Worker::workerType().
Referenced by art::EndPathExecutor::endJob(), and art::Schedule::endJob().
Granularity art::OutputWorker::fileGranularity | ( | ) | const |
Definition at line 121 of file OutputWorker.cc.
References art::OutputModule::fileGranularity(), and art::WorkerT< OutputModule >::module().
bool art::OutputWorker::fileIsOpen | ( | ) | const |
Definition at line 85 of file OutputWorker.cc.
References art::OutputModule::fileIsOpen(), and art::WorkerT< OutputModule >::module().
void art::OutputWorker::incrementInputFileNumber | ( | ) |
Definition at line 36 of file OutputWorker.cc.
References art::OutputModule::incrementInputFileNumber(), and art::WorkerT< OutputModule >::module().
|
inlineinherited |
Definition at line 127 of file Worker.h.
References art::Worker::implBeginJob(), art::Worker::implDoBegin(), art::Worker::implDoEnd(), art::Worker::implDoProcess(), art::Worker::implEndJob(), art::Worker::md_, art::ModuleDescription::moduleLabel(), and art::Worker::workerType().
Referenced by art::EndPathExecutor::closeAllOutputFiles(), art::EndPathExecutor::openAllOutputFiles(), and OutputWorker().
std::string const & art::OutputWorker::lastClosedFileName | ( | ) | const |
Definition at line 22 of file OutputWorker.cc.
References art::OutputModule::lastClosedFileName(), and art::WorkerT< OutputModule >::module().
Referenced by art::EndPathExecutor::closeAllOutputFiles(), and closeFile().
bool art::OutputWorker::limitReached | ( | ) | const |
Definition at line 103 of file OutputWorker.cc.
References art::OutputModule::limitReached(), and art::WorkerT< OutputModule >::module().
|
inlineoverridevirtualinherited |
Implements art::Worker.
Definition at line 32 of file WorkerT.h.
References art::WorkerT< T >::module_.
|
inlineprotectedinherited |
Definition at line 39 of file WorkerT.h.
References art::WorkerT< T >::module_.
Referenced by closeFile(), configure(), fileGranularity(), fileIsOpen(), incrementInputFileNumber(), lastClosedFileName(), limitReached(), openFile(), requestsToCloseFile(), selectProducts(), setFileStatus(), setRunAuxiliaryRangeSetID(), setSubRunAuxiliaryRangeSetID(), wantAllEvents(), writeEvent(), writeRun(), and writeSubRun().
|
inlineprotectedinherited |
Definition at line 44 of file WorkerT.h.
References fb(), art::WorkerT< T >::implBeginJob(), art::WorkerT< T >::implDoBegin(), art::WorkerT< T >::implDoEnd(), art::WorkerT< T >::implDoProcess(), art::WorkerT< T >::implEndJob(), art::WorkerT< T >::implRespondToCloseInputFile(), art::WorkerT< T >::implRespondToCloseOutputFiles(), art::WorkerT< T >::implRespondToOpenInputFile(), art::WorkerT< T >::implRespondToOpenOutputFiles(), art::WorkerT< T >::module_, and art::WorkerT< T >::workerType().
void art::OutputWorker::openFile | ( | FileBlock const & | fb | ) |
Definition at line 48 of file OutputWorker.cc.
References ci_, art::Worker::description(), art::OutputModule::doOpenFile(), and art::WorkerT< OutputModule >::module().
Referenced by art::EndPathExecutor::openAllOutputFiles().
bool art::OutputWorker::requestsToCloseFile | ( | ) | const |
Definition at line 42 of file OutputWorker.cc.
References art::WorkerT< OutputModule >::module(), and art::OutputModule::requestsToCloseFile().
|
inlineinherited |
Definition at line 68 of file Worker.h.
References art::Worker::Ready, and art::Worker::state_.
|
inherited |
Definition at line 128 of file Worker.cc.
References art::Worker::actReg_, art::Worker::implRespondToCloseInputFile(), and art::Worker::md_.
|
inherited |
Definition at line 146 of file Worker.cc.
References art::Worker::actReg_, art::Worker::implRespondToCloseOutputFiles(), and art::Worker::md_.
|
inherited |
Definition at line 119 of file Worker.cc.
References art::Worker::actReg_, art::Worker::implRespondToOpenInputFile(), and art::Worker::md_.
|
inherited |
Definition at line 137 of file Worker.cc.
References art::Worker::actReg_, art::Worker::implRespondToOpenOutputFiles(), and art::Worker::md_.
|
virtual |
Definition at line 115 of file OutputWorker.cc.
References art::WorkerT< OutputModule >::module(), and art::OutputModule::selectProducts().
|
inherited |
The signals are required to live longer than the last call to 'doWork' this was done to improve performance based on profiling
Definition at line 12 of file Worker.cc.
References art::Worker::actReg_.
Referenced by art::Worker::descPtr().
void art::OutputWorker::setFileStatus | ( | OutputFileStatus | ofs | ) |
Definition at line 91 of file OutputWorker.cc.
References art::WorkerT< OutputModule >::module(), and art::OutputModule::setFileStatus().
void art::OutputWorker::setRunAuxiliaryRangeSetID | ( | RangeSet const & | rs | ) |
Definition at line 73 of file OutputWorker.cc.
References art::OutputModule::doSetRunAuxiliaryRangeSetID(), and art::WorkerT< OutputModule >::module().
void art::OutputWorker::setSubRunAuxiliaryRangeSetID | ( | RangeSet const & | rs | ) |
Definition at line 79 of file OutputWorker.cc.
References art::OutputModule::doSetSubRunAuxiliaryRangeSetID(), and art::WorkerT< OutputModule >::module().
|
inlineinherited |
Definition at line 119 of file Worker.h.
References art::Worker::modifiesEvent(), and art::Worker::state_.
|
inlineinherited |
Definition at line 114 of file Worker.h.
References art::Worker::counts_, and art::ExecutionCounts< ARGS >::times().
|
inlineinherited |
Definition at line 109 of file Worker.h.
References art::Worker::counts_, and art::ExecutionCounts< ARGS >::times().
|
inlineinherited |
Definition at line 104 of file Worker.h.
References art::Worker::counts_, and art::ExecutionCounts< ARGS >::times().
|
inlineinherited |
Definition at line 94 of file Worker.h.
References art::Worker::counts_, and art::ExecutionCounts< ARGS >::times().
|
inlineinherited |
Definition at line 99 of file Worker.h.
References art::Worker::counts_, and art::ExecutionCounts< ARGS >::times().
bool art::OutputWorker::wantAllEvents | ( | ) | const |
Definition at line 97 of file OutputWorker.cc.
References art::WorkerT< OutputModule >::module(), and art::EventObserverBase::wantAllEvents().
void art::OutputWorker::writeEvent | ( | EventPrincipal & | ep | ) |
Definition at line 67 of file OutputWorker.cc.
References art::OutputModule::doWriteEvent(), and art::WorkerT< OutputModule >::module().
void art::OutputWorker::writeRun | ( | RunPrincipal & | rp | ) |
Definition at line 55 of file OutputWorker.cc.
References art::OutputModule::doWriteRun(), and art::WorkerT< OutputModule >::module().
void art::OutputWorker::writeSubRun | ( | SubRunPrincipal & | srp | ) |
Definition at line 61 of file OutputWorker.cc.
References art::OutputModule::doWriteSubRun(), and art::WorkerT< OutputModule >::module().
|
private |
Definition at line 66 of file OutputWorker.h.
Referenced by closeFile(), openFile(), and OutputWorker().
|
private |
Definition at line 67 of file OutputWorker.h.