#include <Frameworkfwd.h>
Public Types | |
typedef T | ModuleType |
typedef WorkerT< T > | WorkerType |
Public Types inherited from edm::Worker | |
enum | State { Ready, Pass, Fail, Exception } |
enum | Types { kAnalyzer, kFilter, kProducer, kOutputModule } |
Public Member Functions | |
template<typename D > | |
void | callWorkerBeginStream (D, StreamID) |
template<typename D > | |
void | callWorkerEndStream (D, StreamID) |
template<typename D > | |
void | callWorkerStreamBegin (D, StreamID id, RunPrincipal const &rp, EventSetup const &c, ModuleCallingContext const *mcc) |
template<typename D > | |
void | callWorkerStreamBegin (D, StreamID id, LuminosityBlockPrincipal const &rp, EventSetup const &c, ModuleCallingContext const *mcc) |
template<typename D > | |
void | callWorkerStreamEnd (D, StreamID id, RunPrincipal const &rp, EventSetup const &c, ModuleCallingContext const *mcc) |
template<typename D > | |
void | callWorkerStreamEnd (D, StreamID id, LuminosityBlockPrincipal const &rp, EventSetup const &c, ModuleCallingContext const *mcc) |
virtual Types | moduleType () const override |
template<> | |
Worker::Types | moduleType () const |
template<> | |
Worker::Types | moduleType () const |
template<> | |
Worker::Types | moduleType () const |
template<> | |
Worker::Types | moduleType () const |
template<> | |
Worker::Types | moduleType () const |
template<> | |
Worker::Types | moduleType () const |
template<> | |
Worker::Types | moduleType () const |
template<> | |
Worker::Types | moduleType () const |
template<> | |
Worker::Types | moduleType () const |
template<> | |
Worker::Types | moduleType () const |
template<> | |
Worker::Types | moduleType () const |
template<> | |
Worker::Types | moduleType () const |
template<> | |
Worker::Types | moduleType () const |
template<> | |
Worker::Types | moduleType () const |
template<> | |
Worker::Types | moduleType () const |
virtual void | resolvePutIndicies (BranchType iBranchType, std::unordered_multimap< std::string, edm::ProductResolverIndex > const &iIndicies) override |
void | setModule (std::shared_ptr< T > iModule) |
virtual void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &) override |
WorkerT (std::shared_ptr< T >, ModuleDescription const &, ExceptionToActionTable const *actions) | |
virtual | ~WorkerT () |
Public Member Functions inherited from edm::Worker | |
void | addedToPath () |
void | beginJob () |
void | beginStream (StreamID id, StreamContext &streamContext) |
void | callWhenDoneAsync (WaitingTask *task) |
void | clearCounters () |
ModuleDescription const * | descPtr () const |
ModuleDescription const & | description () const |
template<typename T > | |
bool | doWork (typename T::MyPrincipal const &, EventSetup const &c, StreamID stream, ParentContext const &parentContext, typename T::Context const *context) |
template<typename T > | |
void | doWorkAsync (WaitingTask *task, typename T::MyPrincipal const &, EventSetup const &c, StreamID stream, ParentContext const &parentContext, typename T::Context const *context) |
template<typename T > | |
void | doWorkNoPrefetchingAsync (WaitingTask *task, typename T::MyPrincipal const &, EventSetup const &c, StreamID stream, ParentContext const &parentContext, typename T::Context const *context) |
void | endJob () |
void | endStream (StreamID id, StreamContext &streamContext) |
Worker & | operator= (Worker const &)=delete |
void | postDoEvent (EventPrincipal const &) |
void | registerThinnedAssociations (ProductRegistry const ®istry, ThinnedAssociationsHelper &helper) |
void | reset () |
void | respondToCloseInputFile (FileBlock const &fb) |
void | respondToOpenInputFile (FileBlock const &fb) |
template<typename T > | |
std::exception_ptr | runModuleDirectly (typename T::MyPrincipal const &ep, EventSetup const &es, StreamID streamID, ParentContext const &parentContext, typename T::Context const *context) |
void | setActivityRegistry (std::shared_ptr< ActivityRegistry > areg) |
void | setEarlyDeleteHelper (EarlyDeleteHelper *iHelper) |
void | skipOnPath () |
State | state () const |
int | timesExcept () const |
int | timesFailed () const |
int | timesPass () const |
int | timesPassed () const |
int | timesRun () const |
int | timesVisited () const |
Worker (ModuleDescription const &iMD, ExceptionToActionTable const *iActions) | |
Worker (Worker const &)=delete | |
virtual | ~Worker () |
Protected Member Functions | |
T & | module () |
T const & | module () const |
Protected Member Functions inherited from edm::Worker | |
ActivityRegistry * | activityRegistry () |
void | resetModuleDescription (ModuleDescription const *) |
Private Attributes | |
edm::propagate_const< std::shared_ptr< T > > | module_ |
Definition at line 49 of file Frameworkfwd.h.
typedef T edm::WorkerT< T >::ModuleType |
typedef WorkerT<T> edm::WorkerT< T >::WorkerType |
|
inline |
Definition at line 100 of file WorkerT.cc.
References edm::WorkerT< T >::module_.
|
virtual |
Definition at line 107 of file WorkerT.cc.
void edm::WorkerT< T >::callWorkerBeginStream | ( | D | , |
StreamID | id | ||
) |
Definition at line 299 of file WorkerT.cc.
References edm::WorkerT< T >::module_.
Referenced by edm::workerimpl::DoBeginStream< T >::operator()(), and edm::WorkerT< T >::setModule().
void edm::WorkerT< T >::callWorkerEndStream | ( | D | , |
StreamID | id | ||
) |
Definition at line 315 of file WorkerT.cc.
References edm::WorkerT< T >::module_.
Referenced by edm::workerimpl::DoEndStream< T >::operator()(), and edm::WorkerT< T >::setModule().
void edm::WorkerT< T >::callWorkerStreamBegin | ( | D | , |
StreamID | id, | ||
RunPrincipal const & | rp, | ||
EventSetup const & | c, | ||
ModuleCallingContext const * | mcc | ||
) |
Definition at line 165 of file WorkerT.cc.
References edm::WorkerT< T >::module_.
Referenced by edm::workerimpl::DoStreamBeginTrans< T, P >::operator()(), and edm::WorkerT< T >::setModule().
void edm::WorkerT< T >::callWorkerStreamBegin | ( | D | , |
StreamID | id, | ||
LuminosityBlockPrincipal const & | rp, | ||
EventSetup const & | c, | ||
ModuleCallingContext const * | mcc | ||
) |
void edm::WorkerT< T >::callWorkerStreamEnd | ( | D | , |
StreamID | id, | ||
RunPrincipal const & | rp, | ||
EventSetup const & | c, | ||
ModuleCallingContext const * | mcc | ||
) |
Definition at line 174 of file WorkerT.cc.
References edm::WorkerT< T >::module_.
Referenced by edm::workerimpl::DoStreamEndTrans< T, P >::operator()(), and edm::WorkerT< T >::setModule().
void edm::WorkerT< T >::callWorkerStreamEnd | ( | D | , |
StreamID | id, | ||
LuminosityBlockPrincipal const & | rp, | ||
EventSetup const & | c, | ||
ModuleCallingContext const * | mcc | ||
) |
|
inlineoverrideprivatevirtual |
Implements edm::Worker.
Definition at line 120 of file WorkerT.h.
References edm::WorkerT< T >::module_.
|
inlineoverrideprivatevirtual |
Implements edm::Worker.
Definition at line 116 of file WorkerT.h.
References edm::WorkerT< T >::module_.
|
inlineoverrideprivatevirtual |
Implements edm::Worker.
Definition at line 286 of file WorkerT.cc.
References edm::WorkerT< T >::module_.
Referenced by edm::WorkerT< T >::module().
|
inlineoverrideprivatevirtual |
Implements edm::Worker.
Definition at line 306 of file WorkerT.cc.
References relativeConstraints::value.
Referenced by edm::WorkerT< T >::module().
|
inlineoverrideprivatevirtual |
Implements edm::Worker.
Definition at line 113 of file WorkerT.cc.
References edm::Worker::activityRegistry(), edm::WorkerT< T >::module_, MuonAssociatorByHits_cfi::obj, and edm::Worker::postDoEvent().
Referenced by edm::WorkerT< T >::module().
|
inlineoverrideprivatevirtual |
Implements edm::Worker.
Definition at line 157 of file WorkerT.cc.
References edm::WorkerT< T >::module_.
Referenced by edm::WorkerT< T >::module().
|
inlineoverrideprivatevirtual |
Implements edm::Worker.
Definition at line 217 of file WorkerT.cc.
References edm::WorkerT< T >::module_.
|
inlineoverrideprivatevirtual |
Implements edm::Worker.
Definition at line 208 of file WorkerT.cc.
References edm::WorkerT< T >::module_.
Referenced by edm::WorkerT< T >::module().
|
inlineoverrideprivatevirtual |
Implements edm::Worker.
Definition at line 270 of file WorkerT.cc.
References edm::WorkerT< T >::module_, and AlCaHLTBitMon_QueryRunRegistry::string.
|
inlineoverrideprivatevirtual |
Implements edm::Worker.
Definition at line 121 of file WorkerT.cc.
Referenced by edm::WorkerT< T >::module().
|
inlineprivatevirtual |
Implements edm::Worker.
Definition at line 130 of file WorkerT.cc.
References edm::WorkerT< T >::module_.
|
inlineprivatevirtual |
Implements edm::Worker.
Definition at line 139 of file WorkerT.cc.
References edm::WorkerT< T >::module_.
|
inlineprivatevirtual |
Implements edm::Worker.
Definition at line 148 of file WorkerT.cc.
References edm::WorkerT< T >::module_.
|
inlineoverrideprivatevirtual |
Implements edm::Worker.
Definition at line 184 of file WorkerT.cc.
References relativeConstraints::value.
Referenced by edm::WorkerT< T >::module().
|
inlineoverrideprivatevirtual |
Implements edm::Worker.
Definition at line 245 of file WorkerT.cc.
References relativeConstraints::value.
|
inlineoverrideprivatevirtual |
Implements edm::Worker.
Definition at line 196 of file WorkerT.cc.
References relativeConstraints::value.
Referenced by edm::WorkerT< T >::module().
|
inlineoverrideprivatevirtual |
Implements edm::Worker.
Definition at line 257 of file WorkerT.cc.
References relativeConstraints::value.
|
inlineoverrideprivatevirtual |
Implements edm::Worker.
Definition at line 293 of file WorkerT.cc.
References edm::WorkerT< T >::module_.
Referenced by edm::WorkerT< T >::module().
|
inlineoverrideprivatevirtual |
Implements edm::Worker.
Definition at line 322 of file WorkerT.cc.
References relativeConstraints::value.
Referenced by edm::WorkerT< T >::module().
|
inlineoverrideprivatevirtual |
Implements edm::Worker.
Definition at line 346 of file WorkerT.cc.
References edm::WorkerT< T >::module_.
Referenced by edm::WorkerT< T >::module().
|
inlineoverrideprivatevirtual |
Implements edm::Worker.
Definition at line 339 of file WorkerT.cc.
References edm::WorkerT< T >::module_.
Referenced by edm::WorkerT< T >::module().
|
inlineoverrideprivatevirtual |
Implements edm::Worker.
Definition at line 332 of file WorkerT.cc.
References edm::WorkerT< T >::module_.
Referenced by edm::WorkerT< T >::module().
|
inlineoverrideprivatevirtual |
Implements edm::Worker.
Definition at line 128 of file WorkerT.h.
References edm::WorkerT< T >::module_.
|
overrideprivatevirtual |
Implements edm::Worker.
Definition at line 470 of file WorkerT.cc.
References edm::WorkerT< T >::module().
Referenced by edm::WorkerT< T >::itemsToGetFrom().
|
inlineoverrideprivatevirtual |
Implements edm::Worker.
Definition at line 124 of file WorkerT.h.
References edm::WorkerT< T >::module_.
|
inlinefinaloverrideprivatevirtual |
Implements edm::Worker.
Definition at line 132 of file WorkerT.h.
References edm::WorkerT< T >::itemsShouldPutInEvent(), and edm::WorkerT< T >::module_.
|
inlineprotected |
Definition at line 74 of file WorkerT.h.
References edm::WorkerT< T >::module_.
Referenced by edm::WorkerT< T >::itemsShouldPutInEvent(), and edm::WorkerT< T >::resolvePutIndicies().
|
inlineprotected |
Definition at line 75 of file WorkerT.h.
References benchmark_cfg::fb, edm::WorkerT< T >::implBeginJob(), edm::WorkerT< T >::implBeginStream(), edm::WorkerT< T >::implDo(), edm::WorkerT< T >::implDoBegin(), edm::WorkerT< T >::implDoEnd(), edm::WorkerT< T >::implDoPrePrefetchSelection(), edm::WorkerT< T >::implDoStreamBegin(), edm::WorkerT< T >::implDoStreamEnd(), edm::WorkerT< T >::implEndJob(), edm::WorkerT< T >::implEndStream(), edm::WorkerT< T >::implRegisterThinnedAssociations(), edm::WorkerT< T >::implRespondToCloseInputFile(), edm::WorkerT< T >::implRespondToOpenInputFile(), edm::WorkerT< T >::module_, edm::WorkerT< T >::serializeRunModule(), AlCaHLTBitMon_QueryRunRegistry::string, and edm::WorkerT< T >::workerType().
|
inlineoverrideprivatevirtual |
Implements edm::Worker.
Definition at line 110 of file WorkerT.h.
References edm::WorkerT< T >::module_.
|
overridevirtual |
Implements edm::Worker.
Referenced by edm::WorkerT< T >::setModule().
|
virtual |
Implements edm::Worker.
Definition at line 476 of file WorkerT.cc.
References edm::Worker::kAnalyzer.
|
virtual |
Implements edm::Worker.
Definition at line 478 of file WorkerT.cc.
References edm::Worker::kProducer.
|
virtual |
Implements edm::Worker.
Definition at line 480 of file WorkerT.cc.
References edm::Worker::kFilter.
|
virtual |
Implements edm::Worker.
Definition at line 482 of file WorkerT.cc.
References edm::Worker::kOutputModule.
|
virtual |
Implements edm::Worker.
Definition at line 484 of file WorkerT.cc.
References edm::Worker::kProducer.
|
virtual |
Implements edm::Worker.
Definition at line 486 of file WorkerT.cc.
References edm::Worker::kFilter.
|
virtual |
Implements edm::Worker.
Definition at line 488 of file WorkerT.cc.
References edm::Worker::kAnalyzer.
|
virtual |
Implements edm::Worker.
Definition at line 490 of file WorkerT.cc.
References edm::Worker::kOutputModule.
|
virtual |
Implements edm::Worker.
Definition at line 493 of file WorkerT.cc.
References edm::Worker::kProducer.
|
virtual |
Implements edm::Worker.
Definition at line 495 of file WorkerT.cc.
References edm::Worker::kFilter.
|
virtual |
Implements edm::Worker.
Definition at line 497 of file WorkerT.cc.
References edm::Worker::kAnalyzer.
|
virtual |
Implements edm::Worker.
Definition at line 499 of file WorkerT.cc.
References edm::Worker::kOutputModule.
|
virtual |
Implements edm::Worker.
Definition at line 503 of file WorkerT.cc.
References edm::Worker::kProducer.
|
virtual |
Implements edm::Worker.
Definition at line 505 of file WorkerT.cc.
References edm::Worker::kFilter.
|
virtual |
Implements edm::Worker.
Definition at line 507 of file WorkerT.cc.
References edm::Worker::kAnalyzer.
|
inlineoverrideprivatevirtual |
Implements edm::Worker.
Definition at line 136 of file WorkerT.h.
References edm::WorkerT< T >::module_.
|
overridevirtual |
Implements edm::Worker.
Definition at line 462 of file WorkerT.cc.
References edm::Worker::description(), and edm::WorkerT< T >::module().
Referenced by edm::WorkerT< T >::setModule().
|
inlineoverrideprivatevirtual |
Implements edm::Worker.
Definition at line 353 of file WorkerT.cc.
Referenced by edm::WorkerT< T >::module().
|
privatevirtual |
Implements edm::Worker.
Definition at line 356 of file WorkerT.cc.
References edm::WorkerT< T >::module_.
|
privatevirtual |
Implements edm::Worker.
Definition at line 359 of file WorkerT.cc.
References edm::WorkerT< T >::module_.
|
privatevirtual |
Implements edm::Worker.
Definition at line 362 of file WorkerT.cc.
References edm::WorkerT< T >::module_.
|
privatevirtual |
Implements edm::Worker.
Definition at line 365 of file WorkerT.cc.
References edm::WorkerT< T >::module_.
|
privatevirtual |
Implements edm::Worker.
Definition at line 368 of file WorkerT.cc.
References edm::WorkerT< T >::module_.
|
privatevirtual |
Implements edm::Worker.
Definition at line 371 of file WorkerT.cc.
References edm::WorkerT< T >::module_.
|
privatevirtual |
Implements edm::Worker.
Definition at line 374 of file WorkerT.cc.
References edm::WorkerT< T >::module_.
|
privatevirtual |
Implements edm::Worker.
Definition at line 377 of file WorkerT.cc.
References edm::WorkerT< T >::module_.
|
inline |
Definition at line 40 of file WorkerT.h.
References EnergyCorrector::c, edm::WorkerT< T >::callWorkerBeginStream(), edm::WorkerT< T >::callWorkerEndStream(), edm::WorkerT< T >::callWorkerStreamBegin(), edm::WorkerT< T >::callWorkerStreamEnd(), edm::WorkerT< T >::module_, edm::WorkerT< T >::moduleType(), edm::Worker::resetModuleDescription(), edm::WorkerT< T >::resolvePutIndicies(), and edm::WorkerT< T >::updateLookup().
|
overridevirtual |
Implements edm::Worker.
Definition at line 408 of file WorkerT.cc.
References edm::ProducerBase::indiciesForPutProducts(), edm::stream::ProducingModuleAdaptorBase< T >::indiciesForPutProducts(), edm::InEvent, edm::WorkerT< T >::module_, edm::ProducerBase::resolvePutIndicies(), edm::stream::ProducingModuleAdaptorBase< T >::resolvePutIndicies(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by edm::WorkerT< T >::setModule().
|
inlineoverrideprivatevirtual |
Implements edm::Worker.
Definition at line 279 of file WorkerT.cc.
References edm::WorkerT< T >::module_.
Referenced by edm::WorkerT< T >::module().
|
private |
Definition at line 141 of file WorkerT.h.
Referenced by edm::WorkerT< T >::callWorkerBeginStream(), edm::WorkerT< T >::callWorkerEndStream(), edm::WorkerT< T >::callWorkerStreamBegin(), edm::WorkerT< T >::callWorkerStreamEnd(), edm::WorkerT< T >::consumesInfo(), edm::WorkerT< T >::convertCurrentProcessAlias(), edm::WorkerT< T >::implBeginJob(), edm::WorkerT< T >::implDo(), edm::WorkerT< T >::implDoBegin(), edm::WorkerT< T >::implDoEnd(), edm::WorkerT< T >::implDoPrePrefetchSelection(), edm::WorkerT< T >::implEndJob(), edm::WorkerT< T >::implRegisterThinnedAssociations(), edm::WorkerT< T >::implRespondToCloseInputFile(), edm::WorkerT< T >::implRespondToOpenInputFile(), edm::WorkerT< T >::itemsMayGet(), edm::WorkerT< T >::itemsToGet(), edm::WorkerT< T >::itemsToGetFrom(), edm::WorkerT< T >::module(), edm::WorkerT< T >::modulesWhoseProductsAreConsumed(), edm::WorkerT< T >::preActionBeforeRunEventAsync(), edm::WorkerT< T >::serializeRunModule(), edm::WorkerT< T >::setModule(), edm::WorkerT< T >::updateLookup(), edm::WorkerT< T >::WorkerT(), and edm::WorkerT< T >::workerType().