#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 &rp, EventSetup const &c, ModuleCallingContext const *mcc) |
template<typename D > | |
void | callWorkerStreamBegin (D, StreamID id, LuminosityBlockPrincipal &rp, EventSetup const &c, ModuleCallingContext const *mcc) |
template<typename D > | |
void | callWorkerStreamEnd (D, StreamID id, RunPrincipal &rp, EventSetup const &c, ModuleCallingContext const *mcc) |
template<typename D > | |
void | callWorkerStreamEnd (D, StreamID id, LuminosityBlockPrincipal &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 |
void | setModule (std::shared_ptr< T > iModule) |
virtual void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) override |
WorkerT (std::shared_ptr< T >, ModuleDescription const &, ExceptionToActionTable const *actions) | |
virtual | ~WorkerT () |
Public Member Functions inherited from edm::Worker | |
void | beginJob () |
void | beginStream (StreamID id, StreamContext &streamContext) |
void | clearCounters () |
ModuleDescription const * | descPtr () const |
ModuleDescription const & | description () const |
template<typename T > | |
bool | doWork (typename T::MyPrincipal &, 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 | pathFinished (EventPrincipal &) |
void | postDoEvent (EventPrincipal &) |
void | postForkReacquireResources (unsigned int iChildIndex, unsigned int iNumberOfChildren) |
void | preForkReleaseResources () |
void | registerThinnedAssociations (ProductRegistry const ®istry, ThinnedAssociationsHelper &helper) |
void | reset () |
void | respondToCloseInputFile (FileBlock const &fb) |
void | respondToOpenInputFile (FileBlock const &fb) |
void | setActivityRegistry (std::shared_ptr< ActivityRegistry > areg) |
void | setEarlyDeleteHelper (EarlyDeleteHelper *iHelper) |
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 Member Functions | |
virtual std::vector< ConsumesInfo > | consumesInfo () const override |
virtual void | implBeginJob () override |
virtual void | implBeginStream (StreamID) override |
virtual bool | implDo (EventPrincipal &ep, EventSetup const &c, ModuleCallingContext const *mcc) override |
virtual bool | implDoBegin (RunPrincipal &rp, EventSetup const &c, ModuleCallingContext const *mcc) override |
virtual bool | implDoBegin (LuminosityBlockPrincipal &lbp, EventSetup const &c, ModuleCallingContext const *mcc) override |
virtual bool | implDoEnd (RunPrincipal &rp, EventSetup const &c, ModuleCallingContext const *mcc) override |
virtual bool | implDoEnd (LuminosityBlockPrincipal &lbp, EventSetup const &c, ModuleCallingContext const *mcc) override |
virtual bool | implDoStreamBegin (StreamID id, RunPrincipal &rp, EventSetup const &c, ModuleCallingContext const *mcc) override |
virtual bool | implDoStreamBegin (StreamID id, LuminosityBlockPrincipal &lbp, EventSetup const &c, ModuleCallingContext const *mcc) override |
virtual bool | implDoStreamEnd (StreamID id, RunPrincipal &rp, EventSetup const &c, ModuleCallingContext const *mcc) override |
virtual bool | implDoStreamEnd (StreamID id, LuminosityBlockPrincipal &lbp, EventSetup const &c, ModuleCallingContext const *mcc) override |
virtual void | implEndJob () override |
virtual void | implEndStream (StreamID) override |
virtual void | implPostForkReacquireResources (unsigned int iChildIndex, unsigned int iNumberOfChildren) override |
virtual void | implPreForkReleaseResources () override |
virtual void | implRegisterThinnedAssociations (ProductRegistry const &, ThinnedAssociationsHelper &) override |
virtual void | implRespondToCloseInputFile (FileBlock const &fb) override |
virtual void | implRespondToOpenInputFile (FileBlock const &fb) override |
virtual void | itemsMayGet (BranchType branchType, std::vector< ProductHolderIndexAndSkipBit > &indexes) const override |
virtual void | itemsToGet (BranchType branchType, std::vector< ProductHolderIndexAndSkipBit > &indexes) const override |
virtual std::vector < ProductHolderIndexAndSkipBit > const & | itemsToGetFromEvent () const override |
virtual void | modulesDependentUpon (std::vector< const char * > &oModuleLabels) const override |
virtual void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc) const override |
virtual std::string | workerType () const override |
Private Attributes | |
std::shared_ptr< T > | module_ |
Definition at line 47 of file Frameworkfwd.h.
typedef T edm::WorkerT< T >::ModuleType |
typedef WorkerT<T> edm::WorkerT< T >::WorkerType |
|
inline |
Definition at line 104 of file WorkerT.cc.
References assert(), and edm::WorkerT< T >::module_.
|
virtual |
Definition at line 111 of file WorkerT.cc.
void edm::WorkerT< T >::callWorkerBeginStream | ( | D | , |
StreamID | id | ||
) |
Definition at line 267 of file WorkerT.cc.
References sistrip::module_.
Referenced by edm::workerimpl::DoBeginStream< T >::operator()().
void edm::WorkerT< T >::callWorkerEndStream | ( | D | , |
StreamID | id | ||
) |
Definition at line 283 of file WorkerT.cc.
References sistrip::module_.
Referenced by edm::workerimpl::DoEndStream< T >::operator()().
void edm::WorkerT< T >::callWorkerStreamBegin | ( | D | , |
StreamID | id, | ||
RunPrincipal & | rp, | ||
EventSetup const & | c, | ||
ModuleCallingContext const * | mcc | ||
) |
Definition at line 133 of file WorkerT.cc.
References sistrip::module_.
Referenced by edm::workerimpl::DoStreamBeginTrans< T, P >::operator()().
void edm::WorkerT< T >::callWorkerStreamBegin | ( | D | , |
StreamID | id, | ||
LuminosityBlockPrincipal & | rp, | ||
EventSetup const & | c, | ||
ModuleCallingContext const * | mcc | ||
) |
void edm::WorkerT< T >::callWorkerStreamEnd | ( | D | , |
StreamID | id, | ||
RunPrincipal & | rp, | ||
EventSetup const & | c, | ||
ModuleCallingContext const * | mcc | ||
) |
Definition at line 142 of file WorkerT.cc.
References sistrip::module_.
Referenced by edm::workerimpl::DoStreamEndTrans< T, P >::operator()().
void edm::WorkerT< T >::callWorkerStreamEnd | ( | D | , |
StreamID | id, | ||
LuminosityBlockPrincipal & | rp, | ||
EventSetup const & | c, | ||
ModuleCallingContext const * | mcc | ||
) |
|
inlineoverrideprivatevirtual |
Implements edm::Worker.
Definition at line 119 of file WorkerT.h.
References edm::WorkerT< T >::module_.
|
inlineoverrideprivatevirtual |
|
inlineoverrideprivatevirtual |
Implements edm::Worker.
Definition at line 274 of file WorkerT.cc.
References relativeConstraints::value.
|
inlineoverrideprivatevirtual |
Implements edm::Worker.
Definition at line 117 of file WorkerT.cc.
References sistrip::module_, getGTfromDQMFile::obj, and edm::Worker::postDoEvent().
|
inlineoverrideprivatevirtual |
|
inlineoverrideprivatevirtual |
|
inlineoverrideprivatevirtual |
|
inlineoverrideprivatevirtual |
|
inlineoverrideprivatevirtual |
Implements edm::Worker.
Definition at line 152 of file WorkerT.cc.
References relativeConstraints::value.
|
inlineoverrideprivatevirtual |
Implements edm::Worker.
Definition at line 213 of file WorkerT.cc.
References relativeConstraints::value.
|
inlineoverrideprivatevirtual |
Implements edm::Worker.
Definition at line 164 of file WorkerT.cc.
References relativeConstraints::value.
|
inlineoverrideprivatevirtual |
Implements edm::Worker.
Definition at line 225 of file WorkerT.cc.
References relativeConstraints::value.
|
inlineoverrideprivatevirtual |
|
inlineoverrideprivatevirtual |
Implements edm::Worker.
Definition at line 290 of file WorkerT.cc.
References relativeConstraints::value.
|
inlineoverrideprivatevirtual |
|
inlineoverrideprivatevirtual |
|
inlineoverrideprivatevirtual |
Implements edm::Worker.
Definition at line 330 of file WorkerT.cc.
References sistrip::module_.
|
inlineoverrideprivatevirtual |
|
inlineoverrideprivatevirtual |
|
inlineoverrideprivatevirtual |
Implements edm::Worker.
Definition at line 127 of file WorkerT.h.
References edm::WorkerT< T >::module_.
|
inlineoverrideprivatevirtual |
Implements edm::Worker.
Definition at line 123 of file WorkerT.h.
References edm::WorkerT< T >::module_.
|
inlineoverrideprivatevirtual |
Implements edm::Worker.
Definition at line 131 of file WorkerT.h.
References edm::WorkerT< T >::module_.
|
inlineprotected |
|
inlineprotected |
|
inlineoverrideprivatevirtual |
Implements edm::Worker.
Definition at line 109 of file WorkerT.h.
References edm::WorkerT< T >::module_.
|
inlineoverrideprivatevirtual |
Implements edm::Worker.
Definition at line 113 of file WorkerT.h.
References edm::WorkerT< T >::module_.
|
overridevirtual |
Implements edm::Worker.
|
virtual |
Implements edm::Worker.
Definition at line 342 of file WorkerT.cc.
References edm::Worker::kAnalyzer.
|
virtual |
Implements edm::Worker.
Definition at line 344 of file WorkerT.cc.
References edm::Worker::kProducer.
|
virtual |
Implements edm::Worker.
Definition at line 346 of file WorkerT.cc.
References edm::Worker::kFilter.
|
virtual |
Implements edm::Worker.
Definition at line 348 of file WorkerT.cc.
References edm::Worker::kOutputModule.
|
virtual |
Implements edm::Worker.
Definition at line 350 of file WorkerT.cc.
References edm::Worker::kProducer.
|
virtual |
Implements edm::Worker.
Definition at line 352 of file WorkerT.cc.
References edm::Worker::kFilter.
|
virtual |
Implements edm::Worker.
Definition at line 354 of file WorkerT.cc.
References edm::Worker::kAnalyzer.
|
virtual |
Implements edm::Worker.
Definition at line 356 of file WorkerT.cc.
References edm::Worker::kOutputModule.
|
virtual |
Implements edm::Worker.
Definition at line 359 of file WorkerT.cc.
References edm::Worker::kProducer.
|
virtual |
Implements edm::Worker.
Definition at line 361 of file WorkerT.cc.
References edm::Worker::kFilter.
|
virtual |
Implements edm::Worker.
Definition at line 363 of file WorkerT.cc.
References edm::Worker::kAnalyzer.
|
virtual |
Implements edm::Worker.
Definition at line 367 of file WorkerT.cc.
References edm::Worker::kProducer.
|
virtual |
Implements edm::Worker.
Definition at line 369 of file WorkerT.cc.
References edm::Worker::kFilter.
|
virtual |
Implements edm::Worker.
Definition at line 371 of file WorkerT.cc.
References edm::Worker::kAnalyzer.
|
inline |
Definition at line 42 of file WorkerT.h.
References edm::WorkerT< T >::module_, and edm::Worker::resetModuleDescription().
|
overridevirtual |
|
inlineoverrideprivatevirtual |
|
private |
Definition at line 133 of file WorkerT.h.
Referenced by edm::WorkerT< T >::consumesInfo(), edm::WorkerT< T >::itemsMayGet(), edm::WorkerT< T >::itemsToGet(), edm::WorkerT< T >::itemsToGetFromEvent(), edm::WorkerT< T >::module(), edm::WorkerT< T >::modulesDependentUpon(), edm::WorkerT< T >::modulesWhoseProductsAreConsumed(), edm::WorkerT< T >::setModule(), and edm::WorkerT< T >::WorkerT().