CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes
edm::WorkerT< T > Class Template Reference

#include <Frameworkfwd.h>

Inheritance diagram for edm::WorkerT< T >:
edm::Worker

Public Types

typedef T ModuleType
 
typedef WorkerT< TWorkerType
 
- 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)
 
SerialTaskQueueglobalLuminosityBlocksQueue () final
 
template<>
SerialTaskQueueglobalLuminosityBlocksQueue ()
 
template<>
SerialTaskQueueglobalLuminosityBlocksQueue ()
 
template<>
SerialTaskQueueglobalLuminosityBlocksQueue ()
 
template<>
SerialTaskQueueglobalLuminosityBlocksQueue ()
 
template<>
SerialTaskQueueglobalLuminosityBlocksQueue ()
 
template<>
SerialTaskQueueglobalLuminosityBlocksQueue ()
 
template<>
SerialTaskQueueglobalLuminosityBlocksQueue ()
 
template<>
SerialTaskQueueglobalLuminosityBlocksQueue ()
 
SerialTaskQueueglobalRunsQueue () final
 
template<>
SerialTaskQueueglobalRunsQueue ()
 
template<>
SerialTaskQueueglobalRunsQueue ()
 
template<>
SerialTaskQueueglobalRunsQueue ()
 
template<>
SerialTaskQueueglobalRunsQueue ()
 
template<>
SerialTaskQueueglobalRunsQueue ()
 
template<>
SerialTaskQueueglobalRunsQueue ()
 
template<>
SerialTaskQueueglobalRunsQueue ()
 
template<>
SerialTaskQueueglobalRunsQueue ()
 
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
 
template<>
Worker::Types moduleType () const
 
template<>
Worker::Types moduleType () const
 
template<>
Worker::Types moduleType () const
 
template<>
Worker::Types moduleType () const
 
void resolvePutIndicies (BranchType iBranchType, std::unordered_multimap< std::string, std::tuple< TypeID const *, const char *, edm::ProductResolverIndex >> const &iIndicies) override
 
void setModule (std::shared_ptr< T > iModule)
 
void updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &) override
 
bool wantsGlobalLuminosityBlocks () const final
 
bool wantsGlobalRuns () const final
 
bool wantsStreamLuminosityBlocks () const final
 
bool wantsStreamRuns () const final
 
 WorkerT (std::shared_ptr< T >, ModuleDescription const &, ExceptionToActionTable const *actions)
 
 ~WorkerT () override
 
- 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, ServiceToken const &token, StreamID stream, ParentContext const &parentContext, typename T::Context const *context)
 
template<typename T >
void doWorkNoPrefetchingAsync (WaitingTask *task, typename T::MyPrincipal const &, EventSetup const &c, ServiceToken const &token, StreamID stream, ParentContext const &parentContext, typename T::Context const *context)
 
void endJob ()
 
void endStream (StreamID id, StreamContext &streamContext)
 
Workeroperator= (Worker const &)=delete
 
void postDoEvent (EventPrincipal const &)
 
void prePrefetchSelectionAsync (WaitingTask *task, ServiceToken const &, StreamID stream, EventPrincipal const *)
 
void prePrefetchSelectionAsync (WaitingTask *task, ServiceToken const &, StreamID stream, void const *)
 
void registerThinnedAssociations (ProductRegistry const &registry, 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

Tmodule ()
 
T const & module () const
 
- Protected Member Functions inherited from edm::Worker
ActivityRegistryactivityRegistry ()
 
void resetModuleDescription (ModuleDescription const *)
 

Private Member Functions

std::vector< ConsumesInfoconsumesInfo () const override
 
void convertCurrentProcessAlias (std::string const &processName) override
 
bool hasAccumulator () const override
 
bool hasAcquire () const override
 
void implBeginJob () override
 
void implBeginStream (StreamID) override
 
bool implDo (EventPrincipal const &ep, EventSetup const &c, ModuleCallingContext const *mcc) override
 
void implDoAcquire (EventPrincipal const &ep, EventSetup const &c, ModuleCallingContext const *mcc, WaitingTaskWithArenaHolder &holder) final
 
template<>
void implDoAcquire (EventPrincipal const &ep, EventSetup const &c, ModuleCallingContext const *mcc, WaitingTaskWithArenaHolder &holder)
 
template<>
void implDoAcquire (EventPrincipal const &ep, EventSetup const &c, ModuleCallingContext const *mcc, WaitingTaskWithArenaHolder &holder)
 
template<>
void implDoAcquire (EventPrincipal const &ep, EventSetup const &c, ModuleCallingContext const *mcc, WaitingTaskWithArenaHolder &holder)
 
template<>
void implDoAcquire (EventPrincipal const &ep, EventSetup const &c, ModuleCallingContext const *mcc, WaitingTaskWithArenaHolder &holder)
 
bool implDoBegin (RunPrincipal const &rp, EventSetup const &c, ModuleCallingContext const *mcc) override
 
bool implDoBegin (LuminosityBlockPrincipal const &lbp, EventSetup const &c, ModuleCallingContext const *mcc) override
 
bool implDoEnd (RunPrincipal const &rp, EventSetup const &c, ModuleCallingContext const *mcc) override
 
bool implDoEnd (LuminosityBlockPrincipal const &lbp, EventSetup const &c, ModuleCallingContext const *mcc) override
 
bool implDoPrePrefetchSelection (StreamID id, EventPrincipal const &ep, ModuleCallingContext const *mcc) override
 
template<>
bool implDoPrePrefetchSelection (StreamID id, EventPrincipal const &ep, ModuleCallingContext const *mcc)
 
template<>
bool implDoPrePrefetchSelection (StreamID id, EventPrincipal const &ep, ModuleCallingContext const *mcc)
 
template<>
bool implDoPrePrefetchSelection (StreamID id, EventPrincipal const &ep, ModuleCallingContext const *mcc)
 
template<>
bool implDoPrePrefetchSelection (StreamID id, EventPrincipal const &ep, ModuleCallingContext const *mcc)
 
bool implDoStreamBegin (StreamID id, RunPrincipal const &rp, EventSetup const &c, ModuleCallingContext const *mcc) override
 
bool implDoStreamBegin (StreamID id, LuminosityBlockPrincipal const &lbp, EventSetup const &c, ModuleCallingContext const *mcc) override
 
bool implDoStreamEnd (StreamID id, RunPrincipal const &rp, EventSetup const &c, ModuleCallingContext const *mcc) override
 
bool implDoStreamEnd (StreamID id, LuminosityBlockPrincipal const &lbp, EventSetup const &c, ModuleCallingContext const *mcc) override
 
void implEndJob () override
 
void implEndStream (StreamID) override
 
bool implNeedToRunSelection () const final
 
template<>
bool implNeedToRunSelection () const
 
template<>
bool implNeedToRunSelection () const
 
template<>
bool implNeedToRunSelection () const
 
template<>
bool implNeedToRunSelection () const
 
void implRegisterThinnedAssociations (ProductRegistry const &, ThinnedAssociationsHelper &) override
 
void implRespondToCloseInputFile (FileBlock const &fb) override
 
void implRespondToOpenInputFile (FileBlock const &fb) override
 
void itemsMayGet (BranchType branchType, std::vector< ProductResolverIndexAndSkipBit > &indexes) const override
 
std::vector< ProductResolverIndex > const & itemsShouldPutInEvent () const override
 
void itemsToGet (BranchType branchType, std::vector< ProductResolverIndexAndSkipBit > &indexes) const override
 
void itemsToGetForSelection (std::vector< ProductResolverIndexAndSkipBit > &) const final
 
template<>
void itemsToGetForSelection (std::vector< ProductResolverIndexAndSkipBit > &iItems) const
 
template<>
void itemsToGetForSelection (std::vector< ProductResolverIndexAndSkipBit > &iItems) const
 
template<>
void itemsToGetForSelection (std::vector< ProductResolverIndexAndSkipBit > &iItems) const
 
template<>
void itemsToGetForSelection (std::vector< ProductResolverIndexAndSkipBit > &iItems) const
 
std::vector< ProductResolverIndexAndSkipBit > const & itemsToGetFrom (BranchType iType) const final
 
void modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc) const override
 
void preActionBeforeRunEventAsync (WaitingTask *iTask, ModuleCallingContext const &iModuleCallingContext, Principal const &iPrincipal) const override
 
TaskQueueAdaptor serializeRunModule () override
 
template<>
Worker::TaskQueueAdaptor serializeRunModule ()
 
template<>
Worker::TaskQueueAdaptor serializeRunModule ()
 
template<>
Worker::TaskQueueAdaptor serializeRunModule ()
 
template<>
Worker::TaskQueueAdaptor serializeRunModule ()
 
template<>
Worker::TaskQueueAdaptor serializeRunModule ()
 
template<>
Worker::TaskQueueAdaptor serializeRunModule ()
 
template<>
Worker::TaskQueueAdaptor serializeRunModule ()
 
template<>
Worker::TaskQueueAdaptor serializeRunModule ()
 
template<>
Worker::TaskQueueAdaptor serializeRunModule ()
 
template<>
Worker::TaskQueueAdaptor serializeRunModule ()
 
template<>
Worker::TaskQueueAdaptor serializeRunModule ()
 
template<>
Worker::TaskQueueAdaptor serializeRunModule ()
 
std::string workerType () const override
 

Private Attributes

edm::propagate_const< std::shared_ptr< T > > module_
 

Detailed Description

template<typename T>
class edm::WorkerT< T >

Definition at line 49 of file Frameworkfwd.h.

Member Typedef Documentation

template<typename T>
typedef T edm::WorkerT< T >::ModuleType

Definition at line 33 of file WorkerT.h.

template<typename T>
typedef WorkerT<T> edm::WorkerT< T >::WorkerType

Definition at line 34 of file WorkerT.h.

Constructor & Destructor Documentation

template<typename T >
edm::WorkerT< T >::WorkerT ( std::shared_ptr< T ed,
ModuleDescription const &  md,
ExceptionToActionTable const *  actions 
)
inline

Definition at line 120 of file WorkerT.cc.

References edm::WorkerT< T >::module_.

120  :
121  Worker(md, actions),
122  module_(ed) {
123  assert(module_ != nullptr);
124  }
roAction_t actions[nactions]
Definition: GenABIO.cc:187
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:166
Worker(ModuleDescription const &iMD, ExceptionToActionTable const *iActions)
Definition: Worker.cc:73
template<typename T >
edm::WorkerT< T >::~WorkerT ( )
override

Definition at line 127 of file WorkerT.cc.

127  {
128  }

Member Function Documentation

template<typename T >
template<typename D >
void edm::WorkerT< T >::callWorkerBeginStream ( ,
StreamID  id 
)

Definition at line 519 of file WorkerT.cc.

References edm::WorkerT< T >::module_.

Referenced by edm::workerimpl::DoBeginStream< T >::operator()(), and edm::WorkerT< T >::setModule().

519  {
520  module_->doBeginStream(id);
521  }
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:166
template<typename T >
template<typename D >
void edm::WorkerT< T >::callWorkerEndStream ( ,
StreamID  id 
)

Definition at line 535 of file WorkerT.cc.

References edm::WorkerT< T >::module_.

Referenced by edm::workerimpl::DoEndStream< T >::operator()(), and edm::WorkerT< T >::setModule().

535  {
536  module_->doEndStream(id);
537  }
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:166
template<typename T >
template<typename D >
void edm::WorkerT< T >::callWorkerStreamBegin ( ,
StreamID  id,
RunPrincipal const &  rp,
EventSetup const &  c,
ModuleCallingContext const *  mcc 
)

Definition at line 385 of file WorkerT.cc.

References edm::WorkerT< T >::module_.

Referenced by edm::workerimpl::DoStreamBeginTrans< T, P >::operator()(), and edm::WorkerT< T >::setModule().

387  {
388  module_->doStreamBeginRun(id, rp, c, mcc);
389  }
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:166
template<typename T >
template<typename D >
void edm::WorkerT< T >::callWorkerStreamBegin ( ,
StreamID  id,
LuminosityBlockPrincipal const &  rp,
EventSetup const &  c,
ModuleCallingContext const *  mcc 
)

Definition at line 446 of file WorkerT.cc.

References edm::WorkerT< T >::module_.

448  {
449  module_->doStreamBeginLuminosityBlock(id, rp, c, mcc);
450  }
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:166
template<typename T >
template<typename D >
void edm::WorkerT< T >::callWorkerStreamEnd ( ,
StreamID  id,
RunPrincipal const &  rp,
EventSetup const &  c,
ModuleCallingContext const *  mcc 
)

Definition at line 394 of file WorkerT.cc.

References edm::WorkerT< T >::module_.

Referenced by edm::workerimpl::DoStreamEndTrans< T, P >::operator()(), and edm::WorkerT< T >::setModule().

396  {
397  module_->doStreamEndRun(id, rp, c, mcc);
398  }
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:166
template<typename T >
template<typename D >
void edm::WorkerT< T >::callWorkerStreamEnd ( ,
StreamID  id,
LuminosityBlockPrincipal const &  rp,
EventSetup const &  c,
ModuleCallingContext const *  mcc 
)

Definition at line 455 of file WorkerT.cc.

References edm::WorkerT< T >::module_.

457  {
458  module_->doStreamEndLuminosityBlock(id, rp, c, mcc);
459  }
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:166
template<typename T>
std::vector<ConsumesInfo> edm::WorkerT< T >::consumesInfo ( ) const
inlineoverrideprivatevirtual

Implements edm::Worker.

Definition at line 138 of file WorkerT.h.

References edm::WorkerT< T >::module_.

138  {
139  return module_->consumesInfo();
140  }
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:166
template<typename T>
void edm::WorkerT< T >::convertCurrentProcessAlias ( std::string const &  processName)
inlineoverrideprivatevirtual

Implements edm::Worker.

Definition at line 134 of file WorkerT.h.

References edm::WorkerT< T >::module_.

134  {
135  module_->convertCurrentProcessAlias(processName);
136  }
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:166
template<typename T >
SerialTaskQueue * edm::WorkerT< T >::globalLuminosityBlocksQueue ( )
finalvirtual
template<>
SerialTaskQueue * edm::WorkerT< EDProducer >::globalLuminosityBlocksQueue ( )
virtual

Implements edm::Worker.

Definition at line 164 of file WorkerT.cc.

References edm::WorkerT< T >::module_.

164  {
165  return module_->globalLuminosityBlocksQueue();
166  }
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:166
template<>
SerialTaskQueue * edm::WorkerT< EDFilter >::globalLuminosityBlocksQueue ( )
virtual

Implements edm::Worker.

Definition at line 172 of file WorkerT.cc.

References edm::WorkerT< T >::module_.

172  {
173  return module_->globalLuminosityBlocksQueue();
174  }
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:166
template<>
SerialTaskQueue * edm::WorkerT< EDAnalyzer >::globalLuminosityBlocksQueue ( )
virtual

Implements edm::Worker.

Definition at line 180 of file WorkerT.cc.

References edm::WorkerT< T >::module_.

180  {
181  return module_->globalLuminosityBlocksQueue();
182  }
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:166
template<>
SerialTaskQueue * edm::WorkerT< OutputModule >::globalLuminosityBlocksQueue ( )
virtual

Implements edm::Worker.

Definition at line 188 of file WorkerT.cc.

References edm::WorkerT< T >::module_.

188  {
189  return module_->globalLuminosityBlocksQueue();
190  }
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:166
template<>
SerialTaskQueue * edm::WorkerT< one::EDProducerBase >::globalLuminosityBlocksQueue ( )
virtual

Implements edm::Worker.

Definition at line 197 of file WorkerT.cc.

References edm::WorkerT< T >::module_.

197  {
198  return module_->globalLuminosityBlocksQueue();
199  }
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:166
template<>
SerialTaskQueue * edm::WorkerT< one::EDFilterBase >::globalLuminosityBlocksQueue ( )
virtual

Implements edm::Worker.

Definition at line 205 of file WorkerT.cc.

References edm::WorkerT< T >::module_.

205  {
206  return module_->globalLuminosityBlocksQueue();
207  }
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:166
template<>
SerialTaskQueue * edm::WorkerT< one::EDAnalyzerBase >::globalLuminosityBlocksQueue ( )
virtual

Implements edm::Worker.

Definition at line 213 of file WorkerT.cc.

References edm::WorkerT< T >::module_.

213  {
214  return module_->globalLuminosityBlocksQueue();
215  }
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:166
template<>
SerialTaskQueue * edm::WorkerT< one::OutputModuleBase >::globalLuminosityBlocksQueue ( )
virtual

Implements edm::Worker.

Definition at line 221 of file WorkerT.cc.

References edm::WorkerT< T >::module_.

221  {
222  return module_->globalLuminosityBlocksQueue();
223  }
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:166
template<typename T >
SerialTaskQueue * edm::WorkerT< T >::globalRunsQueue ( )
finalvirtual
template<>
SerialTaskQueue * edm::WorkerT< EDProducer >::globalRunsQueue ( )
virtual

Implements edm::Worker.

Definition at line 160 of file WorkerT.cc.

References edm::WorkerT< T >::module_.

160  {
161  return module_->globalRunsQueue();
162  }
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:166
template<>
SerialTaskQueue * edm::WorkerT< EDFilter >::globalRunsQueue ( )
virtual

Implements edm::Worker.

Definition at line 168 of file WorkerT.cc.

References edm::WorkerT< T >::module_.

168  {
169  return module_->globalRunsQueue();
170  }
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:166
template<>
SerialTaskQueue * edm::WorkerT< EDAnalyzer >::globalRunsQueue ( )
virtual

Implements edm::Worker.

Definition at line 176 of file WorkerT.cc.

References edm::WorkerT< T >::module_.

176  {
177  return module_->globalRunsQueue();
178  }
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:166
template<>
SerialTaskQueue * edm::WorkerT< OutputModule >::globalRunsQueue ( )
virtual

Implements edm::Worker.

Definition at line 184 of file WorkerT.cc.

References edm::WorkerT< T >::module_.

184  {
185  return module_->globalRunsQueue();
186  }
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:166
template<>
SerialTaskQueue * edm::WorkerT< one::EDProducerBase >::globalRunsQueue ( )
virtual

Implements edm::Worker.

Definition at line 193 of file WorkerT.cc.

References edm::WorkerT< T >::module_.

193  {
194  return module_->globalRunsQueue();
195  }
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:166
template<>
SerialTaskQueue * edm::WorkerT< one::EDFilterBase >::globalRunsQueue ( )
virtual

Implements edm::Worker.

Definition at line 201 of file WorkerT.cc.

References edm::WorkerT< T >::module_.

201  {
202  return module_->globalRunsQueue();
203  }
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:166
template<>
SerialTaskQueue * edm::WorkerT< one::EDAnalyzerBase >::globalRunsQueue ( )
virtual

Implements edm::Worker.

Definition at line 209 of file WorkerT.cc.

References edm::WorkerT< T >::module_.

209  {
210  return module_->globalRunsQueue();
211  }
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:166
template<>
SerialTaskQueue * edm::WorkerT< one::OutputModuleBase >::globalRunsQueue ( )
virtual

Implements edm::Worker.

Definition at line 217 of file WorkerT.cc.

References edm::WorkerT< T >::module_.

217  {
218  return module_->globalRunsQueue();
219  }
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:166
template<typename T>
bool edm::WorkerT< T >::hasAccumulator ( ) const
inlineoverrideprivatevirtual

Implements edm::Worker.

Definition at line 162 of file WorkerT.h.

References edm::WorkerT< T >::module_.

162  {
163  return module_->hasAccumulator();
164  }
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:166
template<typename T>
bool edm::WorkerT< T >::hasAcquire ( ) const
inlineoverrideprivatevirtual

Implements edm::Worker.

Definition at line 158 of file WorkerT.h.

References edm::WorkerT< T >::module_.

158  {
159  return module_->hasAcquire();
160  }
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:166
template<typename T >
void edm::WorkerT< T >::implBeginJob ( )
inlineoverrideprivatevirtual

Implements edm::Worker.

Definition at line 506 of file WorkerT.cc.

References edm::WorkerT< T >::module_.

Referenced by edm::WorkerT< T >::module().

506  {
507  module_->doBeginJob();
508  }
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:166
template<typename T >
void edm::WorkerT< T >::implBeginStream ( StreamID  id)
inlineoverrideprivatevirtual

Implements edm::Worker.

Definition at line 526 of file WorkerT.cc.

References relativeConstraints::value.

Referenced by edm::WorkerT< T >::module().

526  {
528  workerimpl::DoBeginStream<T>,
529  workerimpl::DoNothing> might_call;
530  might_call(this,id);
531  }
template<typename T >
bool edm::WorkerT< T >::implDo ( EventPrincipal const &  ep,
EventSetup const &  c,
ModuleCallingContext const *  mcc 
)
inlineoverrideprivatevirtual

Implements edm::Worker.

Definition at line 229 of file WorkerT.cc.

References edm::Worker::activityRegistry(), edm::WorkerT< T >::module_, GetRecoTauVFromDQM_MC_cff::obj, and edm::Worker::postDoEvent().

Referenced by edm::WorkerT< T >::module().

229  {
230  std::shared_ptr<Worker> sentry(this,[&ep](Worker* obj) {obj->postDoEvent(ep);});
231  return module_->doEvent(ep, c, activityRegistry(), mcc);
232  }
ActivityRegistry * activityRegistry()
Definition: Worker.h:274
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:166
Worker(ModuleDescription const &iMD, ExceptionToActionTable const *iActions)
Definition: Worker.cc:73
template<typename T >
void edm::WorkerT< T >::implDoAcquire ( EventPrincipal const &  ep,
EventSetup const &  c,
ModuleCallingContext const *  mcc,
WaitingTaskWithArenaHolder holder 
)
inlinefinalprivatevirtual

Implements edm::Worker.

Definition at line 237 of file WorkerT.cc.

Referenced by edm::WorkerT< T >::module().

239  {
240  }
template<>
void edm::WorkerT< global::EDProducerBase >::implDoAcquire ( EventPrincipal const &  ep,
EventSetup const &  c,
ModuleCallingContext const *  mcc,
WaitingTaskWithArenaHolder holder 
)
inlineprivatevirtual

Implements edm::Worker.

Definition at line 245 of file WorkerT.cc.

References edm::Worker::activityRegistry(), and edm::WorkerT< T >::module_.

247  {
248  module_->doAcquire(ep, c, activityRegistry(), mcc, holder);
249  }
ActivityRegistry * activityRegistry()
Definition: Worker.h:274
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:166
template<>
void edm::WorkerT< global::EDFilterBase >::implDoAcquire ( EventPrincipal const &  ep,
EventSetup const &  c,
ModuleCallingContext const *  mcc,
WaitingTaskWithArenaHolder holder 
)
inlineprivatevirtual

Implements edm::Worker.

Definition at line 254 of file WorkerT.cc.

References edm::Worker::activityRegistry(), and edm::WorkerT< T >::module_.

256  {
257  module_->doAcquire(ep, c, activityRegistry(), mcc, holder);
258  }
ActivityRegistry * activityRegistry()
Definition: Worker.h:274
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:166
template<>
void edm::WorkerT< stream::EDProducerAdaptorBase >::implDoAcquire ( EventPrincipal const &  ep,
EventSetup const &  c,
ModuleCallingContext const *  mcc,
WaitingTaskWithArenaHolder holder 
)
inlineprivatevirtual

Implements edm::Worker.

Definition at line 263 of file WorkerT.cc.

References edm::Worker::activityRegistry(), and edm::WorkerT< T >::module_.

265  {
266  module_->doAcquire(ep, c, activityRegistry(), mcc, holder);
267  }
ActivityRegistry * activityRegistry()
Definition: Worker.h:274
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:166
template<>
void edm::WorkerT< stream::EDFilterAdaptorBase >::implDoAcquire ( EventPrincipal const &  ep,
EventSetup const &  c,
ModuleCallingContext const *  mcc,
WaitingTaskWithArenaHolder holder 
)
inlineprivatevirtual

Implements edm::Worker.

Definition at line 272 of file WorkerT.cc.

References edm::Worker::activityRegistry(), and edm::WorkerT< T >::module_.

274  {
275  module_->doAcquire(ep, c, activityRegistry(), mcc, holder);
276  }
ActivityRegistry * activityRegistry()
Definition: Worker.h:274
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:166
template<typename T >
bool edm::WorkerT< T >::implDoBegin ( RunPrincipal const &  rp,
EventSetup const &  c,
ModuleCallingContext const *  mcc 
)
inlineoverrideprivatevirtual

Implements edm::Worker.

Definition at line 377 of file WorkerT.cc.

References edm::WorkerT< T >::module_.

Referenced by edm::WorkerT< T >::module().

377  {
378  module_->doBeginRun(rp, c, mcc);
379  return true;
380  }
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:166
template<typename T >
bool edm::WorkerT< T >::implDoBegin ( LuminosityBlockPrincipal const &  lbp,
EventSetup const &  c,
ModuleCallingContext const *  mcc 
)
inlineoverrideprivatevirtual

Implements edm::Worker.

Definition at line 437 of file WorkerT.cc.

References edm::WorkerT< T >::module_.

438  {
439  module_->doBeginLuminosityBlock(lbp, c, mcc);
440  return true;
441  }
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:166
template<typename T >
bool edm::WorkerT< T >::implDoEnd ( RunPrincipal const &  rp,
EventSetup const &  c,
ModuleCallingContext const *  mcc 
)
inlineoverrideprivatevirtual

Implements edm::Worker.

Definition at line 428 of file WorkerT.cc.

References edm::WorkerT< T >::module_.

Referenced by edm::WorkerT< T >::module().

429  {
430  module_->doEndRun(rp, c, mcc);
431  return true;
432  }
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:166
template<typename T >
bool edm::WorkerT< T >::implDoEnd ( LuminosityBlockPrincipal const &  lbp,
EventSetup const &  c,
ModuleCallingContext const *  mcc 
)
inlineoverrideprivatevirtual

Implements edm::Worker.

Definition at line 490 of file WorkerT.cc.

References edm::WorkerT< T >::module_, and AlCaHLTBitMon_QueryRunRegistry::string.

491  {
492  module_->doEndLuminosityBlock(lbp, c, mcc);
493  return true;
494  }
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:166
template<typename T >
bool edm::WorkerT< T >::implDoPrePrefetchSelection ( StreamID  id,
EventPrincipal const &  ep,
ModuleCallingContext const *  mcc 
)
inlineoverrideprivatevirtual

Implements edm::Worker.

Definition at line 286 of file WorkerT.cc.

Referenced by edm::WorkerT< T >::module().

288  {
289  return true;
290  }
template<>
bool edm::WorkerT< OutputModule >::implDoPrePrefetchSelection ( StreamID  id,
EventPrincipal const &  ep,
ModuleCallingContext const *  mcc 
)
inlineprivatevirtual

Implements edm::Worker.

Definition at line 304 of file WorkerT.cc.

References edm::WorkerT< T >::module_.

306  {
307  return module_->prePrefetchSelection(id,ep,mcc);
308  }
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:166
template<>
bool edm::WorkerT< edm::one::OutputModuleBase >::implDoPrePrefetchSelection ( StreamID  id,
EventPrincipal const &  ep,
ModuleCallingContext const *  mcc 
)
inlineprivatevirtual

Implements edm::Worker.

Definition at line 324 of file WorkerT.cc.

References edm::WorkerT< T >::module_.

326  {
327  return module_->prePrefetchSelection(id,ep,mcc);
328  }
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:166
template<>
bool edm::WorkerT< edm::global::OutputModuleBase >::implDoPrePrefetchSelection ( StreamID  id,
EventPrincipal const &  ep,
ModuleCallingContext const *  mcc 
)
inlineprivatevirtual

Implements edm::Worker.

Definition at line 343 of file WorkerT.cc.

References edm::WorkerT< T >::module_.

345  {
346  return module_->prePrefetchSelection(id,ep,mcc);
347  }
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:166
template<>
bool edm::WorkerT< edm::limited::OutputModuleBase >::implDoPrePrefetchSelection ( StreamID  id,
EventPrincipal const &  ep,
ModuleCallingContext const *  mcc 
)
inlineprivatevirtual

Implements edm::Worker.

Definition at line 362 of file WorkerT.cc.

References edm::WorkerT< T >::module_.

364  {
365  return module_->prePrefetchSelection(id,ep,mcc);
366  }
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:166
template<typename T >
bool edm::WorkerT< T >::implDoStreamBegin ( StreamID  id,
RunPrincipal const &  rp,
EventSetup const &  c,
ModuleCallingContext const *  mcc 
)
inlineoverrideprivatevirtual

Implements edm::Worker.

Definition at line 404 of file WorkerT.cc.

References relativeConstraints::value.

Referenced by edm::WorkerT< T >::module().

405  {
407  workerimpl::DoStreamBeginTrans<T,RunPrincipal const>,
408  workerimpl::DoNothing> might_call;
409  might_call(this,id,rp,c, mcc);
410  return true;
411  }
template<typename T >
bool edm::WorkerT< T >::implDoStreamBegin ( StreamID  id,
LuminosityBlockPrincipal const &  lbp,
EventSetup const &  c,
ModuleCallingContext const *  mcc 
)
inlineoverrideprivatevirtual

Implements edm::Worker.

Definition at line 465 of file WorkerT.cc.

References relativeConstraints::value.

466  {
468  workerimpl::DoStreamBeginTrans<T,LuminosityBlockPrincipal>,
469  workerimpl::DoNothing> might_call;
470  might_call(this,id,lbp,c, mcc);
471  return true;
472  }
template<typename T >
bool edm::WorkerT< T >::implDoStreamEnd ( StreamID  id,
RunPrincipal const &  rp,
EventSetup const &  c,
ModuleCallingContext const *  mcc 
)
inlineoverrideprivatevirtual

Implements edm::Worker.

Definition at line 416 of file WorkerT.cc.

References relativeConstraints::value.

Referenced by edm::WorkerT< T >::module().

417  {
419  workerimpl::DoStreamEndTrans<T,RunPrincipal const>,
420  workerimpl::DoNothing> might_call;
421  might_call(this,id,rp,c, mcc);
422  return true;
423  }
template<typename T >
bool edm::WorkerT< T >::implDoStreamEnd ( StreamID  id,
LuminosityBlockPrincipal const &  lbp,
EventSetup const &  c,
ModuleCallingContext const *  mcc 
)
inlineoverrideprivatevirtual

Implements edm::Worker.

Definition at line 477 of file WorkerT.cc.

References relativeConstraints::value.

478  {
480  workerimpl::DoStreamEndTrans<T,LuminosityBlockPrincipal>,
481  workerimpl::DoNothing> might_call;
482  might_call(this,id,lbp,c,mcc);
483 
484  return true;
485  }
template<typename T >
void edm::WorkerT< T >::implEndJob ( )
inlineoverrideprivatevirtual

Implements edm::Worker.

Definition at line 513 of file WorkerT.cc.

References edm::WorkerT< T >::module_.

Referenced by edm::WorkerT< T >::module().

513  {
514  module_->doEndJob();
515  }
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:166
template<typename T >
void edm::WorkerT< T >::implEndStream ( StreamID  id)
inlineoverrideprivatevirtual

Implements edm::Worker.

Definition at line 542 of file WorkerT.cc.

References relativeConstraints::value.

Referenced by edm::WorkerT< T >::module().

542  {
544  workerimpl::DoEndStream<T>,
545  workerimpl::DoNothing> might_call;
546  might_call(this,id);
547  }
template<typename T >
bool edm::WorkerT< T >::implNeedToRunSelection ( ) const
inlinefinalprivatevirtual

Implements edm::Worker.

Definition at line 281 of file WorkerT.cc.

Referenced by edm::WorkerT< T >::module().

281 { return false;}
template<>
bool edm::WorkerT< OutputModule >::implNeedToRunSelection ( ) const
inlineprivatevirtual

Implements edm::Worker.

Definition at line 300 of file WorkerT.cc.

300 { return true;}
template<>
bool edm::WorkerT< edm::one::OutputModuleBase >::implNeedToRunSelection ( ) const
inlineprivatevirtual

Implements edm::Worker.

Definition at line 319 of file WorkerT.cc.

319 { return true;}
template<>
bool edm::WorkerT< edm::global::OutputModuleBase >::implNeedToRunSelection ( ) const
inlineprivatevirtual

Implements edm::Worker.

Definition at line 339 of file WorkerT.cc.

339 { return true;}
template<>
bool edm::WorkerT< edm::limited::OutputModuleBase >::implNeedToRunSelection ( ) const
inlineprivatevirtual

Implements edm::Worker.

Definition at line 358 of file WorkerT.cc.

358 { return true;}
template<typename T >
void edm::WorkerT< T >::implRegisterThinnedAssociations ( ProductRegistry const &  registry,
ThinnedAssociationsHelper helper 
)
inlineoverrideprivatevirtual

Implements edm::Worker.

Definition at line 566 of file WorkerT.cc.

References edm::WorkerT< T >::module_.

Referenced by edm::WorkerT< T >::module().

567  {
568  module_->doRegisterThinnedAssociations(registry, helper);
569  }
Definition: helper.py:1
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:166
static Interceptor::Registry registry("Interceptor")
template<typename T >
void edm::WorkerT< T >::implRespondToCloseInputFile ( FileBlock const &  fb)
inlineoverrideprivatevirtual

Implements edm::Worker.

Definition at line 559 of file WorkerT.cc.

References edm::WorkerT< T >::module_.

Referenced by edm::WorkerT< T >::module().

559  {
560  module_->doRespondToCloseInputFile(fb);
561  }
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:166
template<typename T >
void edm::WorkerT< T >::implRespondToOpenInputFile ( FileBlock const &  fb)
inlineoverrideprivatevirtual

Implements edm::Worker.

Definition at line 552 of file WorkerT.cc.

References edm::WorkerT< T >::module_.

Referenced by edm::WorkerT< T >::module().

552  {
553  module_->doRespondToOpenInputFile(fb);
554  }
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:166
template<typename T>
void edm::WorkerT< T >::itemsMayGet ( BranchType  branchType,
std::vector< ProductResolverIndexAndSkipBit > &  indexes 
) const
inlineoverrideprivatevirtual

Implements edm::Worker.

Definition at line 146 of file WorkerT.h.

References edm::WorkerT< T >::module_.

146  {
147  module_->itemsMayGet(branchType, indexes);
148  }
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:166
def branchType(schema, name)
Definition: revisionDML.py:113
template<typename T >
std::vector< ProductResolverIndex > const & edm::WorkerT< T >::itemsShouldPutInEvent ( ) const
overrideprivatevirtual

Implements edm::Worker.

Definition at line 710 of file WorkerT.cc.

References edm::WorkerT< T >::module().

Referenced by edm::WorkerT< T >::itemsToGetFrom().

710  {
711  return itemsShouldPutInEventImpl(&module());
712  }
T & module()
Definition: WorkerT.h:84
template<typename T>
void edm::WorkerT< T >::itemsToGet ( BranchType  branchType,
std::vector< ProductResolverIndexAndSkipBit > &  indexes 
) const
inlineoverrideprivatevirtual

Implements edm::Worker.

Definition at line 142 of file WorkerT.h.

References edm::WorkerT< T >::module_.

142  {
143  module_->itemsToGet(branchType, indexes);
144  }
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:166
def branchType(schema, name)
Definition: revisionDML.py:113
template<typename T >
void edm::WorkerT< T >::itemsToGetForSelection ( std::vector< ProductResolverIndexAndSkipBit > &  ) const
inlinefinalprivatevirtual

Implements edm::Worker.

Definition at line 294 of file WorkerT.cc.

Referenced by edm::WorkerT< T >::module().

294 {}
template<>
void edm::WorkerT< OutputModule >::itemsToGetForSelection ( std::vector< ProductResolverIndexAndSkipBit > &  iItems) const
inlineprivatevirtual

Implements edm::Worker.

Definition at line 312 of file WorkerT.cc.

References edm::WorkerT< T >::module_.

312  {
313  iItems = module_->productsUsedBySelection();
314  }
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:166
template<>
void edm::WorkerT< edm::one::OutputModuleBase >::itemsToGetForSelection ( std::vector< ProductResolverIndexAndSkipBit > &  iItems) const
inlineprivatevirtual

Implements edm::Worker.

Definition at line 332 of file WorkerT.cc.

References edm::WorkerT< T >::module_.

332  {
333  iItems = module_->productsUsedBySelection();
334  }
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:166
template<>
void edm::WorkerT< edm::global::OutputModuleBase >::itemsToGetForSelection ( std::vector< ProductResolverIndexAndSkipBit > &  iItems) const
inlineprivatevirtual

Implements edm::Worker.

Definition at line 351 of file WorkerT.cc.

References edm::WorkerT< T >::module_.

351  {
352  iItems = module_->productsUsedBySelection();
353  }
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:166
template<>
void edm::WorkerT< edm::limited::OutputModuleBase >::itemsToGetForSelection ( std::vector< ProductResolverIndexAndSkipBit > &  iItems) const
inlineprivatevirtual

Implements edm::Worker.

Definition at line 370 of file WorkerT.cc.

References edm::WorkerT< T >::module_.

370  {
371  iItems = module_->productsUsedBySelection();
372  }
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:166
template<typename T>
std::vector<ProductResolverIndexAndSkipBit> const& edm::WorkerT< T >::itemsToGetFrom ( BranchType  iType) const
inlinefinalprivatevirtual

Implements edm::Worker.

Definition at line 150 of file WorkerT.h.

References edm::WorkerT< T >::itemsShouldPutInEvent(), and edm::WorkerT< T >::module_.

150 { return module_->itemsToGetFrom(iType); }
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:166
template<typename T>
T& edm::WorkerT< T >::module ( )
inlineprotected

Definition at line 84 of file WorkerT.h.

References edm::WorkerT< T >::module_.

Referenced by edm::WorkerT< T >::itemsShouldPutInEvent(), and edm::WorkerT< T >::resolvePutIndicies().

84 {return *module_;}
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:166
template<typename T>
T const& edm::WorkerT< T >::module ( ) const
inlineprotected
template<typename T>
void edm::WorkerT< T >::modulesWhoseProductsAreConsumed ( std::vector< ModuleDescription const * > &  modules,
ProductRegistry const &  preg,
std::map< std::string, ModuleDescription const * > const &  labelsToDesc 
) const
inlineoverrideprivatevirtual

Implements edm::Worker.

Definition at line 128 of file WorkerT.h.

References edm::WorkerT< T >::module_.

130  {
131  module_->modulesWhoseProductsAreConsumed(modules, preg, labelsToDesc, module_->moduleDescription().processName());
132  }
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:166
template<typename T>
Types edm::WorkerT< T >::moduleType ( ) const
overridevirtual

Implements edm::Worker.

Referenced by edm::WorkerT< T >::setModule().

template<>
Worker::Types edm::WorkerT< EDAnalyzer >::moduleType ( ) const
virtual

Implements edm::Worker.

Definition at line 716 of file WorkerT.cc.

References edm::Worker::kAnalyzer.

template<>
Worker::Types edm::WorkerT< EDProducer >::moduleType ( ) const
virtual

Implements edm::Worker.

Definition at line 718 of file WorkerT.cc.

References edm::Worker::kProducer.

template<>
Worker::Types edm::WorkerT< EDFilter >::moduleType ( ) const
virtual

Implements edm::Worker.

Definition at line 720 of file WorkerT.cc.

References edm::Worker::kFilter.

template<>
Worker::Types edm::WorkerT< OutputModule >::moduleType ( ) const
virtual

Implements edm::Worker.

Definition at line 722 of file WorkerT.cc.

References edm::Worker::kOutputModule.

template<>
Worker::Types edm::WorkerT< edm::one::EDProducerBase >::moduleType ( ) const
virtual

Implements edm::Worker.

Definition at line 724 of file WorkerT.cc.

References edm::Worker::kProducer.

template<>
Worker::Types edm::WorkerT< edm::one::EDFilterBase >::moduleType ( ) const
virtual

Implements edm::Worker.

Definition at line 726 of file WorkerT.cc.

References edm::Worker::kFilter.

template<>
Worker::Types edm::WorkerT< edm::one::EDAnalyzerBase >::moduleType ( ) const
virtual

Implements edm::Worker.

Definition at line 728 of file WorkerT.cc.

References edm::Worker::kAnalyzer.

template<>
Worker::Types edm::WorkerT< edm::one::OutputModuleBase >::moduleType ( ) const
virtual

Implements edm::Worker.

Definition at line 730 of file WorkerT.cc.

References edm::Worker::kOutputModule.

template<>
Worker::Types edm::WorkerT< edm::global::EDProducerBase >::moduleType ( ) const
virtual

Implements edm::Worker.

Definition at line 733 of file WorkerT.cc.

References edm::Worker::kProducer.

template<>
Worker::Types edm::WorkerT< edm::global::EDFilterBase >::moduleType ( ) const
virtual

Implements edm::Worker.

Definition at line 735 of file WorkerT.cc.

References edm::Worker::kFilter.

template<>
Worker::Types edm::WorkerT< edm::global::EDAnalyzerBase >::moduleType ( ) const
virtual

Implements edm::Worker.

Definition at line 737 of file WorkerT.cc.

References edm::Worker::kAnalyzer.

template<>
Worker::Types edm::WorkerT< edm::global::OutputModuleBase >::moduleType ( ) const
virtual

Implements edm::Worker.

Definition at line 739 of file WorkerT.cc.

References edm::Worker::kOutputModule.

template<>
Worker::Types edm::WorkerT< edm::limited::EDProducerBase >::moduleType ( ) const
virtual

Implements edm::Worker.

Definition at line 742 of file WorkerT.cc.

References edm::Worker::kProducer.

template<>
Worker::Types edm::WorkerT< edm::limited::EDFilterBase >::moduleType ( ) const
virtual

Implements edm::Worker.

Definition at line 744 of file WorkerT.cc.

References edm::Worker::kFilter.

template<>
Worker::Types edm::WorkerT< edm::limited::EDAnalyzerBase >::moduleType ( ) const
virtual

Implements edm::Worker.

Definition at line 746 of file WorkerT.cc.

References edm::Worker::kAnalyzer.

template<>
Worker::Types edm::WorkerT< edm::limited::OutputModuleBase >::moduleType ( ) const
virtual

Implements edm::Worker.

Definition at line 748 of file WorkerT.cc.

References edm::Worker::kOutputModule.

template<>
Worker::Types edm::WorkerT< edm::stream::EDProducerAdaptorBase >::moduleType ( ) const
virtual

Implements edm::Worker.

Definition at line 752 of file WorkerT.cc.

References edm::Worker::kProducer.

template<>
Worker::Types edm::WorkerT< edm::stream::EDFilterAdaptorBase >::moduleType ( ) const
virtual

Implements edm::Worker.

Definition at line 754 of file WorkerT.cc.

References edm::Worker::kFilter.

template<>
Worker::Types edm::WorkerT< edm::stream::EDAnalyzerAdaptorBase >::moduleType ( ) const
virtual

Implements edm::Worker.

Definition at line 756 of file WorkerT.cc.

References edm::Worker::kAnalyzer.

template<typename T>
void edm::WorkerT< T >::preActionBeforeRunEventAsync ( WaitingTask iTask,
ModuleCallingContext const &  iModuleCallingContext,
Principal const &  iPrincipal 
) const
inlineoverrideprivatevirtual

Implements edm::Worker.

Definition at line 154 of file WorkerT.h.

References edm::WorkerT< T >::module_.

154  {
155  module_->preActionBeforeRunEventAsync(iTask,iModuleCallingContext,iPrincipal);
156  }
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:166
template<typename T >
void edm::WorkerT< T >::resolvePutIndicies ( BranchType  iBranchType,
std::unordered_multimap< std::string, std::tuple< TypeID const *, const char *, edm::ProductResolverIndex >> const &  iIndicies 
)
overridevirtual

Implements edm::Worker.

Definition at line 701 of file WorkerT.cc.

References edm::Worker::description(), and edm::WorkerT< T >::module().

Referenced by edm::WorkerT< T >::setModule().

703  {
704  resolvePutIndiciesImpl(&module(), iBranchType,iIndicies, description().moduleLabel());
705  }
ModuleDescription const & description() const
Definition: Worker.h:188
T & module()
Definition: WorkerT.h:84
template<typename T >
Worker::TaskQueueAdaptor edm::WorkerT< T >::serializeRunModule ( )
inlineoverrideprivatevirtual

Implements edm::Worker.

Definition at line 573 of file WorkerT.cc.

Referenced by edm::WorkerT< T >::module().

573  {
574  return Worker::TaskQueueAdaptor{};
575  }
template<>
Worker::TaskQueueAdaptor edm::WorkerT< EDAnalyzer >::serializeRunModule ( )
privatevirtual

Implements edm::Worker.

Definition at line 576 of file WorkerT.cc.

References edm::WorkerT< T >::module_.

576  {
577  return &(module_->sharedResourcesAcquirer().serialQueueChain());
578  }
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:166
template<>
Worker::TaskQueueAdaptor edm::WorkerT< EDFilter >::serializeRunModule ( )
privatevirtual

Implements edm::Worker.

Definition at line 579 of file WorkerT.cc.

References edm::WorkerT< T >::module_.

579  {
580  return &(module_->sharedResourcesAcquirer().serialQueueChain());
581  }
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:166
template<>
Worker::TaskQueueAdaptor edm::WorkerT< EDProducer >::serializeRunModule ( )
privatevirtual

Implements edm::Worker.

Definition at line 582 of file WorkerT.cc.

References edm::WorkerT< T >::module_.

582  {
583  return &(module_->sharedResourcesAcquirer().serialQueueChain());
584  }
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:166
template<>
Worker::TaskQueueAdaptor edm::WorkerT< OutputModule >::serializeRunModule ( )
privatevirtual

Implements edm::Worker.

Definition at line 585 of file WorkerT.cc.

References edm::WorkerT< T >::module_.

585  {
586  return &(module_->sharedResourcesAcquirer().serialQueueChain());
587  }
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:166
template<>
Worker::TaskQueueAdaptor edm::WorkerT< one::EDAnalyzerBase >::serializeRunModule ( )
privatevirtual

Implements edm::Worker.

Definition at line 588 of file WorkerT.cc.

References edm::WorkerT< T >::module_.

588  {
589  return &(module_->sharedResourcesAcquirer().serialQueueChain());
590  }
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:166
template<>
Worker::TaskQueueAdaptor edm::WorkerT< one::EDFilterBase >::serializeRunModule ( )
privatevirtual

Implements edm::Worker.

Definition at line 591 of file WorkerT.cc.

References edm::WorkerT< T >::module_.

591  {
592  return &(module_->sharedResourcesAcquirer().serialQueueChain());
593  }
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:166
template<>
Worker::TaskQueueAdaptor edm::WorkerT< one::EDProducerBase >::serializeRunModule ( )
privatevirtual

Implements edm::Worker.

Definition at line 594 of file WorkerT.cc.

References edm::WorkerT< T >::module_.

594  {
595  return &(module_->sharedResourcesAcquirer().serialQueueChain());
596  }
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:166
template<>
Worker::TaskQueueAdaptor edm::WorkerT< one::OutputModuleBase >::serializeRunModule ( )
privatevirtual

Implements edm::Worker.

Definition at line 597 of file WorkerT.cc.

References edm::WorkerT< T >::module_.

597  {
598  return &(module_->sharedResourcesAcquirer().serialQueueChain());
599  }
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:166
template<>
Worker::TaskQueueAdaptor edm::WorkerT< limited::EDAnalyzerBase >::serializeRunModule ( )
privatevirtual

Implements edm::Worker.

Definition at line 600 of file WorkerT.cc.

References edm::WorkerT< T >::module_.

600  {
601  return &(module_->queue());
602  }
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:166
template<>
Worker::TaskQueueAdaptor edm::WorkerT< limited::EDFilterBase >::serializeRunModule ( )
privatevirtual

Implements edm::Worker.

Definition at line 603 of file WorkerT.cc.

References edm::WorkerT< T >::module_.

603  {
604  return &(module_->queue());
605  }
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:166
template<>
Worker::TaskQueueAdaptor edm::WorkerT< limited::EDProducerBase >::serializeRunModule ( )
privatevirtual

Implements edm::Worker.

Definition at line 606 of file WorkerT.cc.

References edm::WorkerT< T >::module_.

606  {
607  return &(module_->queue());
608  }
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:166
template<>
Worker::TaskQueueAdaptor edm::WorkerT< limited::OutputModuleBase >::serializeRunModule ( )
privatevirtual

Implements edm::Worker.

Definition at line 609 of file WorkerT.cc.

References edm::WorkerT< T >::module_.

609  {
610  return &(module_->queue());
611  }
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:166
template<typename T>
void edm::WorkerT< T >::setModule ( std::shared_ptr< T iModule)
inline
template<typename T >
void edm::WorkerT< T >::updateLookup ( BranchType  iBranchType,
ProductResolverIndexHelper const &  iHelper 
)
overridevirtual
template<typename T >
bool edm::WorkerT< T >::wantsGlobalLuminosityBlocks ( ) const
finalvirtual

Implements edm::Worker.

Definition at line 137 of file WorkerT.cc.

References edm::WorkerT< T >::module_.

Referenced by edm::one::EDFilterBase::moduleDescription(), edm::one::EDProducerBase::moduleDescription(), edm::limited::EDFilterBase::moduleDescription(), edm::global::EDFilterBase::moduleDescription(), and edm::WorkerT< T >::setModule().

137  {
138  return module_->wantsGlobalLuminosityBlocks();
139  }
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:166
template<typename T >
bool edm::WorkerT< T >::wantsGlobalRuns ( ) const
finalvirtual
template<typename T >
bool edm::WorkerT< T >::wantsStreamLuminosityBlocks ( ) const
finalvirtual

Implements edm::Worker.

Definition at line 147 of file WorkerT.cc.

References edm::WorkerT< T >::module_.

Referenced by edm::global::EDFilterBase::moduleDescription(), edm::limited::EDFilterBase::moduleDescription(), and edm::WorkerT< T >::setModule().

147  {
148  return module_->wantsStreamLuminosityBlocks();
149  }
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:166
template<typename T >
bool edm::WorkerT< T >::wantsStreamRuns ( ) const
finalvirtual

Implements edm::Worker.

Definition at line 142 of file WorkerT.cc.

References edm::WorkerT< T >::module_.

Referenced by edm::global::EDFilterBase::moduleDescription(), edm::limited::EDFilterBase::moduleDescription(), and edm::WorkerT< T >::setModule().

142  {
143  return module_->wantsStreamRuns();
144  }
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:166
template<typename T >
std::string edm::WorkerT< T >::workerType ( ) const
inlineoverrideprivatevirtual

Implements edm::Worker.

Definition at line 499 of file WorkerT.cc.

References edm::WorkerT< T >::module_.

Referenced by edm::WorkerT< T >::module().

499  {
500  return module_->workerType();
501  }
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:166

Member Data Documentation

template<typename T>
edm::propagate_const<std::shared_ptr<T> > edm::WorkerT< T >::module_
private

Definition at line 166 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 >::globalLuminosityBlocksQueue(), edm::WorkerT< T >::globalRunsQueue(), edm::WorkerT< T >::hasAccumulator(), edm::WorkerT< T >::hasAcquire(), edm::WorkerT< T >::implBeginJob(), edm::WorkerT< T >::implDo(), edm::WorkerT< T >::implDoAcquire(), 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 >::itemsToGetForSelection(), 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 >::wantsGlobalLuminosityBlocks(), edm::WorkerT< T >::wantsGlobalRuns(), edm::WorkerT< T >::wantsStreamLuminosityBlocks(), edm::WorkerT< T >::wantsStreamRuns(), edm::WorkerT< T >::WorkerT(), and edm::WorkerT< T >::workerType().