CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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  ConcurrencyTypes {
  kGlobal, kLimited, kOne, kStream,
  kLegacy
}
 
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, RunTransitionInfo const &, ModuleCallingContext const *)
 
template<typename D >
void callWorkerStreamBegin (D, StreamID, LumiTransitionInfo const &, ModuleCallingContext const *)
 
template<typename D >
void callWorkerStreamEnd (D, StreamID, RunTransitionInfo const &, ModuleCallingContext const *)
 
template<typename D >
void callWorkerStreamEnd (D, StreamID, LumiTransitionInfo const &, ModuleCallingContext const *)
 
SerialTaskQueueglobalLuminosityBlocksQueue () final
 
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 ()
 
ConcurrencyTypes moduleConcurrencyType () const override
 
template<>
Worker::ConcurrencyTypes moduleConcurrencyType () const
 
template<>
Worker::ConcurrencyTypes moduleConcurrencyType () const
 
template<>
Worker::ConcurrencyTypes moduleConcurrencyType () const
 
template<>
Worker::ConcurrencyTypes moduleConcurrencyType () const
 
template<>
Worker::ConcurrencyTypes moduleConcurrencyType () const
 
template<>
Worker::ConcurrencyTypes moduleConcurrencyType () const
 
template<>
Worker::ConcurrencyTypes moduleConcurrencyType () const
 
template<>
Worker::ConcurrencyTypes moduleConcurrencyType () const
 
template<>
Worker::ConcurrencyTypes moduleConcurrencyType () const
 
template<>
Worker::ConcurrencyTypes moduleConcurrencyType () const
 
template<>
Worker::ConcurrencyTypes moduleConcurrencyType () const
 
template<>
Worker::ConcurrencyTypes moduleConcurrencyType () const
 
template<>
Worker::ConcurrencyTypes moduleConcurrencyType () const
 
template<>
Worker::ConcurrencyTypes moduleConcurrencyType () const
 
template<>
Worker::ConcurrencyTypes moduleConcurrencyType () const
 
template<>
Worker::ConcurrencyTypes moduleConcurrencyType () const
 
template<>
Worker::ConcurrencyTypes moduleConcurrencyType () const
 
template<>
Worker::ConcurrencyTypes moduleConcurrencyType () const
 
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
 
void resolvePutIndicies (BranchType iBranchType, std::unordered_multimap< std::string, std::tuple< TypeID const *, const char *, edm::ProductResolverIndex >> const &iIndicies) final
 
void selectInputProcessBlocks (ProductRegistry const &, ProcessBlockHelperBase const &) final
 
void setModule (std::shared_ptr< T > iModule)
 
void updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &) final
 
void updateLookup (eventsetup::ESRecordsToProxyIndices const &) final
 
bool wantsGlobalLuminosityBlocks () const final
 
bool wantsGlobalRuns () const final
 
bool wantsInputProcessBlocks () const final
 
bool wantsProcessBlocks () 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 (WaitingTaskHolder task)
 
void clearCounters ()
 
void clearModule ()
 
ModuleDescription const * description () const
 
template<typename T >
void doWorkAsync (WaitingTaskHolder, typename T::TransitionInfoType const &, ServiceToken const &, StreamID, ParentContext const &, typename T::Context const *)
 
template<typename T >
void doWorkNoPrefetchingAsync (WaitingTaskHolder, typename T::TransitionInfoType const &, ServiceToken const &, StreamID, ParentContext const &, typename T::Context const *)
 
void endJob ()
 
void endStream (StreamID id, StreamContext &streamContext)
 
Workeroperator= (Worker const &)=delete
 
void postDoEvent (EventPrincipal const &)
 
void prePrefetchSelectionAsync (tbb::task_group &, WaitingTask *task, ServiceToken const &, StreamID stream, EventPrincipal const *)
 
void prePrefetchSelectionAsync (tbb::task_group &, WaitingTask *task, ServiceToken const &, StreamID stream, void const *)
 
void registerThinnedAssociations (ProductRegistry const &registry, ThinnedAssociationsHelper &helper)
 
void reset ()
 
void respondToCloseInputFile (FileBlock const &fb)
 
void respondToCloseOutputFile ()
 
void respondToOpenInputFile (FileBlock const &fb)
 
template<typename T >
std::exception_ptr runModuleDirectly (typename T::TransitionInfoType const &, StreamID, ParentContext const &, typename T::Context const *)
 
void setActivityRegistry (std::shared_ptr< ActivityRegistry > areg)
 
void setEarlyDeleteHelper (EarlyDeleteHelper *iHelper)
 
void skipOnPath (EventPrincipal const &iEvent)
 
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
 
void doClearModule () override
 
std::vector< ESProxyIndex > const & esItemsToGetFrom (Transition iTransition) const override
 
std::vector< ESRecordIndex >
const & 
esRecordsToGetFrom (Transition iTransition) const override
 
bool hasAccumulator () const override
 
bool hasAcquire () const override
 
void implBeginJob () override
 
void implBeginStream (StreamID) override
 
bool implDo (EventTransitionInfo const &, ModuleCallingContext const *) override
 
bool implDoAccessInputProcessBlock (ProcessBlockPrincipal const &, ModuleCallingContext const *) override
 
void implDoAcquire (EventTransitionInfo const &, ModuleCallingContext const *, WaitingTaskWithArenaHolder &) final
 
template<>
void implDoAcquire (EventTransitionInfo const &info, ModuleCallingContext const *mcc, WaitingTaskWithArenaHolder &holder)
 
template<>
void implDoAcquire (EventTransitionInfo const &info, ModuleCallingContext const *mcc, WaitingTaskWithArenaHolder &holder)
 
template<>
void implDoAcquire (EventTransitionInfo const &info, ModuleCallingContext const *mcc, WaitingTaskWithArenaHolder &holder)
 
template<>
void implDoAcquire (EventTransitionInfo const &info, ModuleCallingContext const *mcc, WaitingTaskWithArenaHolder &holder)
 
template<>
void implDoAcquire (EventTransitionInfo const &info, ModuleCallingContext const *mcc, WaitingTaskWithArenaHolder &holder)
 
bool implDoBegin (RunTransitionInfo const &, ModuleCallingContext const *) override
 
bool implDoBegin (LumiTransitionInfo const &, ModuleCallingContext const *) override
 
bool implDoBeginProcessBlock (ProcessBlockPrincipal const &, ModuleCallingContext const *) override
 
bool implDoEnd (RunTransitionInfo const &, ModuleCallingContext const *) override
 
bool implDoEnd (LumiTransitionInfo const &, ModuleCallingContext const *) override
 
bool implDoEndProcessBlock (ProcessBlockPrincipal const &, ModuleCallingContext const *) override
 
bool implDoPrePrefetchSelection (StreamID, EventPrincipal const &, ModuleCallingContext const *) 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)
 
bool implDoStreamBegin (StreamID, RunTransitionInfo const &, ModuleCallingContext const *) override
 
bool implDoStreamBegin (StreamID, LumiTransitionInfo const &, ModuleCallingContext const *) override
 
bool implDoStreamEnd (StreamID, RunTransitionInfo const &, ModuleCallingContext const *) override
 
bool implDoStreamEnd (StreamID, LumiTransitionInfo const &, ModuleCallingContext const *) override
 
void implEndJob () override
 
void implEndStream (StreamID) override
 
bool implNeedToRunSelection () const final
 
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 implRespondToCloseOutputFile () 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
 
std::vector
< ProductResolverIndexAndSkipBit >
const & 
itemsToGetFrom (BranchType iType) const final
 
void modulesWhoseProductsAreConsumed (std::array< std::vector< ModuleDescription const * > *, NumBranchTypes > &modules, std::vector< ModuleProcessName > &modulesInPreviousProcesses, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc) const override
 
void preActionBeforeRunEventAsync (WaitingTaskHolder 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 ()
 
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 63 of file Frameworkfwd.h.

Member Typedef Documentation

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

Definition at line 34 of file WorkerT.h.

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

Definition at line 35 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 cms::cuda::assert(), and edm::WorkerT< T >::module_.

121  : Worker(md, actions), module_(ed) {
122  assert(module_ != nullptr);
123  }
assert(be >=bs)
actions
Definition: Schedule.cc:687
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:163
Worker(ModuleDescription const &iMD, ExceptionToActionTable const *iActions)
Definition: Worker.cc:91
template<typename T >
edm::WorkerT< T >::~WorkerT ( )
override

Definition at line 126 of file WorkerT.cc.

126 {}

Member Function Documentation

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

Definition at line 470 of file WorkerT.cc.

References sistrip::module_.

Referenced by edm::workerimpl::DoBeginStream< T >::operator()().

470  {
471  module_->doBeginStream(id);
472  }
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:163
template<typename T >
template<typename D >
void edm::WorkerT< T >::callWorkerEndStream ( ,
StreamID  id 
)

Definition at line 486 of file WorkerT.cc.

References sistrip::module_.

Referenced by edm::workerimpl::DoEndStream< T >::operator()().

486  {
487  module_->doEndStream(id);
488  }
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:163
template<typename T >
template<typename D >
void edm::WorkerT< T >::callWorkerStreamBegin ( ,
StreamID  id,
RunTransitionInfo const &  info,
ModuleCallingContext const *  mcc 
)

Definition at line 360 of file WorkerT.cc.

References sistrip::module_.

Referenced by edm::workerimpl::DoStreamBeginTrans< T, INFOTYPE >::operator()().

363  {
364  module_->doStreamBeginRun(id, info, mcc);
365  }
static const TGPicture * info(bool iBackgroundIsBlack)
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:163
template<typename T >
template<typename D >
void edm::WorkerT< T >::callWorkerStreamBegin ( ,
StreamID  id,
LumiTransitionInfo const &  info,
ModuleCallingContext const *  mcc 
)

Definition at line 409 of file WorkerT.cc.

References sistrip::module_.

412  {
413  module_->doStreamBeginLuminosityBlock(id, info, mcc);
414  }
static const TGPicture * info(bool iBackgroundIsBlack)
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:163
template<typename T >
template<typename D >
void edm::WorkerT< T >::callWorkerStreamEnd ( ,
StreamID  id,
RunTransitionInfo const &  info,
ModuleCallingContext const *  mcc 
)

Definition at line 369 of file WorkerT.cc.

References sistrip::module_.

Referenced by edm::workerimpl::DoStreamEndTrans< T, INFOTYPE >::operator()().

369  {
370  module_->doStreamEndRun(id, info, mcc);
371  }
static const TGPicture * info(bool iBackgroundIsBlack)
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:163
template<typename T >
template<typename D >
void edm::WorkerT< T >::callWorkerStreamEnd ( ,
StreamID  id,
LumiTransitionInfo const &  info,
ModuleCallingContext const *  mcc 
)

Definition at line 418 of file WorkerT.cc.

References sistrip::module_.

418  {
419  module_->doStreamEndLuminosityBlock(id, info, mcc);
420  }
static const TGPicture * info(bool iBackgroundIsBlack)
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:163
template<typename T>
std::vector<ConsumesInfo> edm::WorkerT< T >::consumesInfo ( ) const
inlineoverrideprivatevirtual

Implements edm::Worker.

Definition at line 130 of file WorkerT.h.

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

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

Implements edm::Worker.

Definition at line 126 of file WorkerT.h.

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

126  {
127  module_->convertCurrentProcessAlias(processName);
128  }
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:163
template<typename T>
void edm::WorkerT< T >::doClearModule ( )
inlineoverrideprivatevirtual

Implements edm::Worker.

Definition at line 85 of file WorkerT.h.

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

85 { get_underlying_safe(module_).reset(); }
constexpr std::shared_ptr< T > & get_underlying_safe(propagate_const< std::shared_ptr< T >> &iP)
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:163
template<typename T>
std::vector<ESProxyIndex> const& edm::WorkerT< T >::esItemsToGetFrom ( Transition  iTransition) const
inlineoverrideprivatevirtual

Implements edm::Worker.

Definition at line 144 of file WorkerT.h.

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

144  {
145  return module_->esGetTokenIndicesVector(iTransition);
146  }
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:163
template<typename T>
std::vector<ESRecordIndex> const& edm::WorkerT< T >::esRecordsToGetFrom ( Transition  iTransition) const
inlineoverrideprivatevirtual

Implements edm::Worker.

Definition at line 147 of file WorkerT.h.

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

147  {
148  return module_->esGetTokenRecordIndicesVector(iTransition);
149  }
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:163
template<typename T >
SerialTaskQueue * edm::WorkerT< T >::globalLuminosityBlocksQueue ( )
finalvirtual

Implements edm::Worker.

Definition at line 163 of file WorkerT.cc.

163  {
164  return nullptr;
165  }
template<>
SerialTaskQueue * edm::WorkerT< EDProducer >::globalLuminosityBlocksQueue ( )
virtual

Implements edm::Worker.

Definition at line 171 of file WorkerT.cc.

References sistrip::module_.

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

Implements edm::Worker.

Definition at line 179 of file WorkerT.cc.

References sistrip::module_.

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

Implements edm::Worker.

Definition at line 187 of file WorkerT.cc.

References sistrip::module_.

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

Implements edm::Worker.

Definition at line 196 of file WorkerT.cc.

References sistrip::module_.

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

Implements edm::Worker.

Definition at line 204 of file WorkerT.cc.

References sistrip::module_.

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

Implements edm::Worker.

Definition at line 212 of file WorkerT.cc.

References sistrip::module_.

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

Implements edm::Worker.

Definition at line 220 of file WorkerT.cc.

References sistrip::module_.

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

Implements edm::Worker.

Definition at line 159 of file WorkerT.cc.

159  {
160  return nullptr;
161  }
template<>
SerialTaskQueue * edm::WorkerT< EDProducer >::globalRunsQueue ( )
virtual

Implements edm::Worker.

Definition at line 167 of file WorkerT.cc.

References sistrip::module_.

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

Implements edm::Worker.

Definition at line 175 of file WorkerT.cc.

References sistrip::module_.

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

Implements edm::Worker.

Definition at line 183 of file WorkerT.cc.

References sistrip::module_.

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

Implements edm::Worker.

Definition at line 192 of file WorkerT.cc.

References sistrip::module_.

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

Implements edm::Worker.

Definition at line 200 of file WorkerT.cc.

References sistrip::module_.

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

Implements edm::Worker.

Definition at line 208 of file WorkerT.cc.

References sistrip::module_.

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

Implements edm::Worker.

Definition at line 216 of file WorkerT.cc.

References sistrip::module_.

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

Implements edm::Worker.

Definition at line 161 of file WorkerT.h.

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

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

Implements edm::Worker.

Definition at line 159 of file WorkerT.h.

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

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

Implements edm::Worker.

Definition at line 459 of file WorkerT.cc.

References sistrip::module_.

459  {
460  module_->doBeginJob();
461  }
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:163
template<typename T >
void edm::WorkerT< T >::implBeginStream ( StreamID  id)
inlineoverrideprivatevirtual

Implements edm::Worker.

Definition at line 475 of file WorkerT.cc.

References or, and relativeConstraints::value.

475  {
478  workerimpl::DoBeginStream<T>,
479  workerimpl::DoNothing>
480  might_call;
481  might_call(this, id);
482  }
The Signals That Services Can Subscribe To This is based on ActivityRegistry and is current per Services can connect to the signals distributed by the ActivityRegistry in order to monitor the activity of the application Each possible callback has some defined which we here list in angle e< void, edm::EventIDconst &, edm::Timestampconst & > We also list in braces which AR_WATCH_USING_METHOD_ is used for those or
Definition: Activities.doc:12
template<typename T >
bool edm::WorkerT< T >::implDo ( EventTransitionInfo const &  info,
ModuleCallingContext const *  mcc 
)
inlineoverrideprivatevirtual

Implements edm::Worker.

Definition at line 225 of file WorkerT.cc.

References sistrip::module_, getGTfromDQMFile::obj, edm::Worker::postDoEvent(), and edm::EventTransitionInfo::principal().

225  {
226  EventPrincipal const& ep = info.principal();
227  std::shared_ptr<Worker> sentry(this, [&ep](Worker* obj) { obj->postDoEvent(ep); });
228  return module_->doEvent(info, activityRegistry(), mcc);
229  }
static const TGPicture * info(bool iBackgroundIsBlack)
ActivityRegistry * activityRegistry()
Definition: Worker.h:278
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:163
Worker(ModuleDescription const &iMD, ExceptionToActionTable const *iActions)
Definition: Worker.cc:91
template<typename T >
bool edm::WorkerT< T >::implDoAccessInputProcessBlock ( ProcessBlockPrincipal const &  pbp,
ModuleCallingContext const *  mcc 
)
overrideprivatevirtual

Implements edm::Worker.

Definition at line 341 of file WorkerT.cc.

References sistrip::module_.

341  {
342  module_->doAccessInputProcessBlock(pbp, mcc);
343  return true;
344  }
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:163
template<typename T >
void edm::WorkerT< T >::implDoAcquire ( EventTransitionInfo const &  ,
ModuleCallingContext const *  ,
WaitingTaskWithArenaHolder  
)
inlinefinalprivatevirtual

Implements edm::Worker.

Definition at line 232 of file WorkerT.cc.

234  {}
template<>
void edm::WorkerT< global::EDProducerBase >::implDoAcquire ( EventTransitionInfo const &  info,
ModuleCallingContext const *  mcc,
WaitingTaskWithArenaHolder holder 
)
inlineprivatevirtual

Implements edm::Worker.

Definition at line 237 of file WorkerT.cc.

References sistrip::module_.

239  {
240  module_->doAcquire(info, activityRegistry(), mcc, holder);
241  }
static const TGPicture * info(bool iBackgroundIsBlack)
ActivityRegistry * activityRegistry()
Definition: Worker.h:278
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:163
template<>
void edm::WorkerT< global::EDFilterBase >::implDoAcquire ( EventTransitionInfo const &  info,
ModuleCallingContext const *  mcc,
WaitingTaskWithArenaHolder holder 
)
inlineprivatevirtual

Implements edm::Worker.

Definition at line 244 of file WorkerT.cc.

References sistrip::module_.

246  {
247  module_->doAcquire(info, activityRegistry(), mcc, holder);
248  }
static const TGPicture * info(bool iBackgroundIsBlack)
ActivityRegistry * activityRegistry()
Definition: Worker.h:278
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:163
template<>
void edm::WorkerT< global::OutputModuleBase >::implDoAcquire ( EventTransitionInfo const &  info,
ModuleCallingContext const *  mcc,
WaitingTaskWithArenaHolder holder 
)
inlineprivatevirtual

Implements edm::Worker.

Definition at line 251 of file WorkerT.cc.

References sistrip::module_.

253  {
254  module_->doAcquire(info, activityRegistry(), mcc, holder);
255  }
static const TGPicture * info(bool iBackgroundIsBlack)
ActivityRegistry * activityRegistry()
Definition: Worker.h:278
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:163
template<>
void edm::WorkerT< stream::EDProducerAdaptorBase >::implDoAcquire ( EventTransitionInfo const &  info,
ModuleCallingContext const *  mcc,
WaitingTaskWithArenaHolder holder 
)
inlineprivatevirtual

Implements edm::Worker.

Definition at line 258 of file WorkerT.cc.

References sistrip::module_.

260  {
261  module_->doAcquire(info, activityRegistry(), mcc, holder);
262  }
static const TGPicture * info(bool iBackgroundIsBlack)
ActivityRegistry * activityRegistry()
Definition: Worker.h:278
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:163
template<>
void edm::WorkerT< stream::EDFilterAdaptorBase >::implDoAcquire ( EventTransitionInfo const &  info,
ModuleCallingContext const *  mcc,
WaitingTaskWithArenaHolder holder 
)
inlineprivatevirtual

Implements edm::Worker.

Definition at line 265 of file WorkerT.cc.

References sistrip::module_.

267  {
268  module_->doAcquire(info, activityRegistry(), mcc, holder);
269  }
static const TGPicture * info(bool iBackgroundIsBlack)
ActivityRegistry * activityRegistry()
Definition: Worker.h:278
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:163
template<typename T >
bool edm::WorkerT< T >::implDoBegin ( RunTransitionInfo const &  info,
ModuleCallingContext const *  mcc 
)
inlineoverrideprivatevirtual

Implements edm::Worker.

Definition at line 353 of file WorkerT.cc.

References sistrip::module_.

353  {
354  module_->doBeginRun(info, mcc);
355  return true;
356  }
static const TGPicture * info(bool iBackgroundIsBlack)
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:163
template<typename T >
bool edm::WorkerT< T >::implDoBegin ( LumiTransitionInfo const &  info,
ModuleCallingContext const *  mcc 
)
inlineoverrideprivatevirtual

Implements edm::Worker.

Definition at line 402 of file WorkerT.cc.

References sistrip::module_.

402  {
403  module_->doBeginLuminosityBlock(info, mcc);
404  return true;
405  }
static const TGPicture * info(bool iBackgroundIsBlack)
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:163
template<typename T >
bool edm::WorkerT< T >::implDoBeginProcessBlock ( ProcessBlockPrincipal const &  pbp,
ModuleCallingContext const *  mcc 
)
overrideprivatevirtual

Implements edm::Worker.

Definition at line 335 of file WorkerT.cc.

References sistrip::module_.

335  {
336  module_->doBeginProcessBlock(pbp, mcc);
337  return true;
338  }
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:163
template<typename T >
bool edm::WorkerT< T >::implDoEnd ( RunTransitionInfo const &  info,
ModuleCallingContext const *  mcc 
)
inlineoverrideprivatevirtual

Implements edm::Worker.

Definition at line 396 of file WorkerT.cc.

References sistrip::module_.

396  {
397  module_->doEndRun(info, mcc);
398  return true;
399  }
static const TGPicture * info(bool iBackgroundIsBlack)
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:163
template<typename T >
bool edm::WorkerT< T >::implDoEnd ( LumiTransitionInfo const &  info,
ModuleCallingContext const *  mcc 
)
inlineoverrideprivatevirtual

Implements edm::Worker.

Definition at line 448 of file WorkerT.cc.

References sistrip::module_.

448  {
449  module_->doEndLuminosityBlock(info, mcc);
450  return true;
451  }
static const TGPicture * info(bool iBackgroundIsBlack)
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:163
template<typename T >
bool edm::WorkerT< T >::implDoEndProcessBlock ( ProcessBlockPrincipal const &  pbp,
ModuleCallingContext const *  mcc 
)
overrideprivatevirtual

Implements edm::Worker.

Definition at line 347 of file WorkerT.cc.

References sistrip::module_.

347  {
348  module_->doEndProcessBlock(pbp, mcc);
349  return true;
350  }
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:163
template<typename T >
bool edm::WorkerT< T >::implDoPrePrefetchSelection ( StreamID  id,
EventPrincipal const &  ep,
ModuleCallingContext const *  mcc 
)
inlineoverrideprivatevirtual

Implements edm::Worker.

Definition at line 277 of file WorkerT.cc.

279  {
280  return true;
281  }
template<>
bool edm::WorkerT< edm::one::OutputModuleBase >::implDoPrePrefetchSelection ( StreamID  id,
EventPrincipal const &  ep,
ModuleCallingContext const *  mcc 
)
inlineprivatevirtual

Implements edm::Worker.

Definition at line 291 of file WorkerT.cc.

References sistrip::module_.

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

Implements edm::Worker.

Definition at line 307 of file WorkerT.cc.

References sistrip::module_.

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

Implements edm::Worker.

Definition at line 323 of file WorkerT.cc.

References sistrip::module_.

325  {
326  return module_->prePrefetchSelection(id, ep, mcc);
327  }
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:163
template<typename T >
bool edm::WorkerT< T >::implDoStreamBegin ( StreamID  id,
RunTransitionInfo const &  info,
ModuleCallingContext const *  mcc 
)
inlineoverrideprivatevirtual

Implements edm::Worker.

Definition at line 374 of file WorkerT.cc.

References relativeConstraints::value.

376  {
378  workerimpl::DoStreamBeginTrans<T, RunTransitionInfo const>,
379  workerimpl::DoNothing>
380  might_call;
381  might_call(this, id, info, mcc);
382  return true;
383  }
static const TGPicture * info(bool iBackgroundIsBlack)
template<typename T >
bool edm::WorkerT< T >::implDoStreamBegin ( StreamID  id,
LumiTransitionInfo const &  info,
ModuleCallingContext const *  mcc 
)
inlineoverrideprivatevirtual

Implements edm::Worker.

Definition at line 423 of file WorkerT.cc.

References relativeConstraints::value.

425  {
427  workerimpl::DoStreamBeginTrans<T, LumiTransitionInfo>,
428  workerimpl::DoNothing>
429  might_call;
430  might_call(this, id, info, mcc);
431  return true;
432  }
static const TGPicture * info(bool iBackgroundIsBlack)
template<typename T >
bool edm::WorkerT< T >::implDoStreamEnd ( StreamID  id,
RunTransitionInfo const &  info,
ModuleCallingContext const *  mcc 
)
inlineoverrideprivatevirtual

Implements edm::Worker.

Definition at line 386 of file WorkerT.cc.

References relativeConstraints::value.

386  {
388  workerimpl::DoStreamEndTrans<T, RunTransitionInfo const>,
389  workerimpl::DoNothing>
390  might_call;
391  might_call(this, id, info, mcc);
392  return true;
393  }
static const TGPicture * info(bool iBackgroundIsBlack)
template<typename T >
bool edm::WorkerT< T >::implDoStreamEnd ( StreamID  id,
LumiTransitionInfo const &  info,
ModuleCallingContext const *  mcc 
)
inlineoverrideprivatevirtual

Implements edm::Worker.

Definition at line 435 of file WorkerT.cc.

References relativeConstraints::value.

437  {
439  workerimpl::DoStreamEndTrans<T, LumiTransitionInfo>,
440  workerimpl::DoNothing>
441  might_call;
442  might_call(this, id, info, mcc);
443 
444  return true;
445  }
static const TGPicture * info(bool iBackgroundIsBlack)
template<typename T >
void edm::WorkerT< T >::implEndJob ( )
inlineoverrideprivatevirtual

Implements edm::Worker.

Definition at line 464 of file WorkerT.cc.

References sistrip::module_.

464  {
465  module_->doEndJob();
466  }
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:163
template<typename T >
void edm::WorkerT< T >::implEndStream ( StreamID  id)
inlineoverrideprivatevirtual

Implements edm::Worker.

Definition at line 491 of file WorkerT.cc.

References or, and relativeConstraints::value.

491  {
494  workerimpl::DoEndStream<T>,
495  workerimpl::DoNothing>
496  might_call;
497  might_call(this, id);
498  }
The Signals That Services Can Subscribe To This is based on ActivityRegistry and is current per Services can connect to the signals distributed by the ActivityRegistry in order to monitor the activity of the application Each possible callback has some defined which we here list in angle e< void, edm::EventIDconst &, edm::Timestampconst & > We also list in braces which AR_WATCH_USING_METHOD_ is used for those or
Definition: Activities.doc:12
template<typename T >
bool edm::WorkerT< T >::implNeedToRunSelection ( ) const
inlinefinalprivatevirtual

Implements edm::Worker.

Definition at line 272 of file WorkerT.cc.

272  {
273  return false;
274  }
template<>
bool edm::WorkerT< edm::one::OutputModuleBase >::implNeedToRunSelection ( ) const
inlineprivatevirtual

Implements edm::Worker.

Definition at line 286 of file WorkerT.cc.

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

Implements edm::Worker.

Definition at line 303 of file WorkerT.cc.

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

Implements edm::Worker.

Definition at line 319 of file WorkerT.cc.

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

Implements edm::Worker.

Definition at line 516 of file WorkerT.cc.

References sistrip::module_.

517  {
518  module_->doRegisterThinnedAssociations(registry, helper);
519  }
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:163
template<typename T >
void edm::WorkerT< T >::implRespondToCloseInputFile ( FileBlock const &  fb)
inlineoverrideprivatevirtual

Implements edm::Worker.

Definition at line 506 of file WorkerT.cc.

References sistrip::module_.

506  {
507  module_->doRespondToCloseInputFile(fb);
508  }
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:163
template<typename T >
void edm::WorkerT< T >::implRespondToCloseOutputFile ( )
overrideprivatevirtual

Implements edm::Worker.

Definition at line 511 of file WorkerT.cc.

References sistrip::module_.

511  {
512  module_->doRespondToCloseOutputFile();
513  }
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:163
template<typename T >
void edm::WorkerT< T >::implRespondToOpenInputFile ( FileBlock const &  fb)
inlineoverrideprivatevirtual

Implements edm::Worker.

Definition at line 501 of file WorkerT.cc.

References sistrip::module_.

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

Implements edm::Worker.

Definition at line 136 of file WorkerT.h.

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

136  {
137  module_->itemsMayGet(branchType, indexes);
138  }
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:163
template<typename T >
std::vector< ProductResolverIndex > const & edm::WorkerT< T >::itemsShouldPutInEvent ( ) const
overrideprivatevirtual

Implements edm::Worker.

Definition at line 726 of file WorkerT.cc.

References callgraph::module.

726  {
727  return itemsShouldPutInEventImpl(&module());
728  }
T & module()
Definition: WorkerT.h:81
template<typename T>
void edm::WorkerT< T >::itemsToGet ( BranchType  branchType,
std::vector< ProductResolverIndexAndSkipBit > &  indexes 
) const
inlineoverrideprivatevirtual

Implements edm::Worker.

Definition at line 132 of file WorkerT.h.

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

132  {
133  module_->itemsToGet(branchType, indexes);
134  }
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:163
template<typename T >
void edm::WorkerT< T >::itemsToGetForSelection ( std::vector< ProductResolverIndexAndSkipBit > &  ) const
inlinefinalprivatevirtual

Implements edm::Worker.

Definition at line 283 of file WorkerT.cc.

283 {}
template<>
void edm::WorkerT< edm::one::OutputModuleBase >::itemsToGetForSelection ( std::vector< ProductResolverIndexAndSkipBit > &  iItems) const
inlineprivatevirtual

Implements edm::Worker.

Definition at line 297 of file WorkerT.cc.

References sistrip::module_.

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

Implements edm::Worker.

Definition at line 313 of file WorkerT.cc.

References sistrip::module_.

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

Implements edm::Worker.

Definition at line 329 of file WorkerT.cc.

References sistrip::module_.

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

Implements edm::Worker.

Definition at line 140 of file WorkerT.h.

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

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

Definition at line 81 of file WorkerT.h.

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

81 { return *module_; }
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:163
template<typename T>
T const& edm::WorkerT< T >::module ( ) const
inlineprotected

Definition at line 82 of file WorkerT.h.

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

82 { return *module_; }
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:163
template<typename T>
ConcurrencyTypes edm::WorkerT< T >::moduleConcurrencyType ( ) const
overridevirtual

Implements edm::Worker.

template<>
Worker::ConcurrencyTypes edm::WorkerT< EDAnalyzer >::moduleConcurrencyType ( ) const
virtual

Implements edm::Worker.

Definition at line 807 of file WorkerT.cc.

References edm::Worker::kLegacy.

807  {
808  return Worker::kLegacy;
809  }
template<>
Worker::ConcurrencyTypes edm::WorkerT< EDProducer >::moduleConcurrencyType ( ) const
virtual

Implements edm::Worker.

Definition at line 811 of file WorkerT.cc.

References edm::Worker::kLegacy.

811  {
812  return Worker::kLegacy;
813  }
template<>
Worker::ConcurrencyTypes edm::WorkerT< EDFilter >::moduleConcurrencyType ( ) const
virtual

Implements edm::Worker.

Definition at line 815 of file WorkerT.cc.

References edm::Worker::kLegacy.

815  {
816  return Worker::kLegacy;
817  }
template<>
Worker::ConcurrencyTypes edm::WorkerT< edm::one::EDProducerBase >::moduleConcurrencyType ( ) const
virtual

Implements edm::Worker.

Definition at line 819 of file WorkerT.cc.

References edm::Worker::kOne.

819  {
820  return Worker::kOne;
821  }
template<>
Worker::ConcurrencyTypes edm::WorkerT< edm::one::EDFilterBase >::moduleConcurrencyType ( ) const
virtual

Implements edm::Worker.

Definition at line 823 of file WorkerT.cc.

References edm::Worker::kOne.

823  {
824  return Worker::kOne;
825  }
template<>
Worker::ConcurrencyTypes edm::WorkerT< edm::one::EDAnalyzerBase >::moduleConcurrencyType ( ) const
virtual

Implements edm::Worker.

Definition at line 827 of file WorkerT.cc.

References edm::Worker::kOne.

827  {
828  return Worker::kOne;
829  }
template<>
Worker::ConcurrencyTypes edm::WorkerT< edm::one::OutputModuleBase >::moduleConcurrencyType ( ) const
virtual

Implements edm::Worker.

Definition at line 831 of file WorkerT.cc.

References edm::Worker::kOne.

831  {
832  return Worker::kOne;
833  }
template<>
Worker::ConcurrencyTypes edm::WorkerT< edm::global::EDProducerBase >::moduleConcurrencyType ( ) const
virtual

Implements edm::Worker.

Definition at line 836 of file WorkerT.cc.

References edm::Worker::kGlobal.

836  {
837  return Worker::kGlobal;
838  }
template<>
Worker::ConcurrencyTypes edm::WorkerT< edm::global::EDFilterBase >::moduleConcurrencyType ( ) const
virtual

Implements edm::Worker.

Definition at line 840 of file WorkerT.cc.

References edm::Worker::kGlobal.

840  {
841  return Worker::kGlobal;
842  }
template<>
Worker::ConcurrencyTypes edm::WorkerT< edm::global::EDAnalyzerBase >::moduleConcurrencyType ( ) const
virtual

Implements edm::Worker.

Definition at line 844 of file WorkerT.cc.

References edm::Worker::kGlobal.

844  {
845  return Worker::kGlobal;
846  }
template<>
Worker::ConcurrencyTypes edm::WorkerT< edm::global::OutputModuleBase >::moduleConcurrencyType ( ) const
virtual

Implements edm::Worker.

Definition at line 848 of file WorkerT.cc.

References edm::Worker::kGlobal.

848  {
849  return Worker::kGlobal;
850  }
template<>
Worker::ConcurrencyTypes edm::WorkerT< edm::limited::EDProducerBase >::moduleConcurrencyType ( ) const
virtual

Implements edm::Worker.

Definition at line 853 of file WorkerT.cc.

References edm::Worker::kLimited.

853  {
854  return Worker::kLimited;
855  }
template<>
Worker::ConcurrencyTypes edm::WorkerT< edm::limited::EDFilterBase >::moduleConcurrencyType ( ) const
virtual

Implements edm::Worker.

Definition at line 857 of file WorkerT.cc.

References edm::Worker::kLimited.

857  {
858  return Worker::kLimited;
859  }
template<>
Worker::ConcurrencyTypes edm::WorkerT< edm::limited::EDAnalyzerBase >::moduleConcurrencyType ( ) const
virtual

Implements edm::Worker.

Definition at line 861 of file WorkerT.cc.

References edm::Worker::kLimited.

861  {
862  return Worker::kLimited;
863  }
template<>
Worker::ConcurrencyTypes edm::WorkerT< edm::limited::OutputModuleBase >::moduleConcurrencyType ( ) const
virtual

Implements edm::Worker.

Definition at line 865 of file WorkerT.cc.

References edm::Worker::kLimited.

865  {
866  return Worker::kLimited;
867  }
template<>
Worker::ConcurrencyTypes edm::WorkerT< edm::stream::EDProducerAdaptorBase >::moduleConcurrencyType ( ) const
virtual

Implements edm::Worker.

Definition at line 870 of file WorkerT.cc.

References edm::Worker::kStream.

870  {
871  return Worker::kStream;
872  }
template<>
Worker::ConcurrencyTypes edm::WorkerT< edm::stream::EDFilterAdaptorBase >::moduleConcurrencyType ( ) const
virtual

Implements edm::Worker.

Definition at line 874 of file WorkerT.cc.

References edm::Worker::kStream.

874  {
875  return Worker::kStream;
876  }
template<>
Worker::ConcurrencyTypes edm::WorkerT< edm::stream::EDAnalyzerAdaptorBase >::moduleConcurrencyType ( ) const
virtual

Implements edm::Worker.

Definition at line 878 of file WorkerT.cc.

References edm::Worker::kStream.

878  {
879  return Worker::kStream;
880  }
template<typename T>
void edm::WorkerT< T >::modulesWhoseProductsAreConsumed ( std::array< std::vector< ModuleDescription const * > *, NumBranchTypes > &  modules,
std::vector< ModuleProcessName > &  modulesInPreviousProcesses,
ProductRegistry const &  preg,
std::map< std::string, ModuleDescription const * > const &  labelsToDesc 
) const
inlineoverrideprivatevirtual

Implements edm::Worker.

Definition at line 117 of file WorkerT.h.

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

121  {
122  module_->modulesWhoseProductsAreConsumed(
123  modules, modulesInPreviousProcesses, preg, labelsToDesc, module_->moduleDescription().processName());
124  }
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:163
preg
Definition: Schedule.cc:687
template<typename T>
Types edm::WorkerT< T >::moduleType ( ) const
overridevirtual

Implements edm::Worker.

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

Implements edm::Worker.

Definition at line 731 of file WorkerT.cc.

References edm::Worker::kAnalyzer.

731  {
732  return Worker::kAnalyzer;
733  }
template<>
Worker::Types edm::WorkerT< EDProducer >::moduleType ( ) const
virtual

Implements edm::Worker.

Definition at line 735 of file WorkerT.cc.

References edm::Worker::kProducer.

735  {
736  return Worker::kProducer;
737  }
template<>
Worker::Types edm::WorkerT< EDFilter >::moduleType ( ) const
virtual

Implements edm::Worker.

Definition at line 739 of file WorkerT.cc.

References edm::Worker::kFilter.

739  {
740  return Worker::kFilter;
741  }
template<>
Worker::Types edm::WorkerT< edm::one::EDProducerBase >::moduleType ( ) const
virtual

Implements edm::Worker.

Definition at line 743 of file WorkerT.cc.

References edm::Worker::kProducer.

743  {
744  return Worker::kProducer;
745  }
template<>
Worker::Types edm::WorkerT< edm::one::EDFilterBase >::moduleType ( ) const
virtual

Implements edm::Worker.

Definition at line 747 of file WorkerT.cc.

References edm::Worker::kFilter.

747  {
748  return Worker::kFilter;
749  }
template<>
Worker::Types edm::WorkerT< edm::one::EDAnalyzerBase >::moduleType ( ) const
virtual

Implements edm::Worker.

Definition at line 751 of file WorkerT.cc.

References edm::Worker::kAnalyzer.

751  {
752  return Worker::kAnalyzer;
753  }
template<>
Worker::Types edm::WorkerT< edm::one::OutputModuleBase >::moduleType ( ) const
virtual

Implements edm::Worker.

Definition at line 755 of file WorkerT.cc.

References edm::Worker::kOutputModule.

755  {
756  return Worker::kOutputModule;
757  }
template<>
Worker::Types edm::WorkerT< edm::global::EDProducerBase >::moduleType ( ) const
virtual

Implements edm::Worker.

Definition at line 760 of file WorkerT.cc.

References edm::Worker::kProducer.

760  {
761  return Worker::kProducer;
762  }
template<>
Worker::Types edm::WorkerT< edm::global::EDFilterBase >::moduleType ( ) const
virtual

Implements edm::Worker.

Definition at line 764 of file WorkerT.cc.

References edm::Worker::kFilter.

764  {
765  return Worker::kFilter;
766  }
template<>
Worker::Types edm::WorkerT< edm::global::EDAnalyzerBase >::moduleType ( ) const
virtual

Implements edm::Worker.

Definition at line 768 of file WorkerT.cc.

References edm::Worker::kAnalyzer.

768  {
769  return Worker::kAnalyzer;
770  }
template<>
Worker::Types edm::WorkerT< edm::global::OutputModuleBase >::moduleType ( ) const
virtual

Implements edm::Worker.

Definition at line 772 of file WorkerT.cc.

References edm::Worker::kOutputModule.

772  {
773  return Worker::kOutputModule;
774  }
template<>
Worker::Types edm::WorkerT< edm::limited::EDProducerBase >::moduleType ( ) const
virtual

Implements edm::Worker.

Definition at line 777 of file WorkerT.cc.

References edm::Worker::kProducer.

777  {
778  return Worker::kProducer;
779  }
template<>
Worker::Types edm::WorkerT< edm::limited::EDFilterBase >::moduleType ( ) const
virtual

Implements edm::Worker.

Definition at line 781 of file WorkerT.cc.

References edm::Worker::kFilter.

781  {
782  return Worker::kFilter;
783  }
template<>
Worker::Types edm::WorkerT< edm::limited::EDAnalyzerBase >::moduleType ( ) const
virtual

Implements edm::Worker.

Definition at line 785 of file WorkerT.cc.

References edm::Worker::kAnalyzer.

785  {
786  return Worker::kAnalyzer;
787  }
template<>
Worker::Types edm::WorkerT< edm::limited::OutputModuleBase >::moduleType ( ) const
virtual

Implements edm::Worker.

Definition at line 789 of file WorkerT.cc.

References edm::Worker::kOutputModule.

789  {
790  return Worker::kOutputModule;
791  }
template<>
Worker::Types edm::WorkerT< edm::stream::EDProducerAdaptorBase >::moduleType ( ) const
virtual

Implements edm::Worker.

Definition at line 794 of file WorkerT.cc.

References edm::Worker::kProducer.

794  {
795  return Worker::kProducer;
796  }
template<>
Worker::Types edm::WorkerT< edm::stream::EDFilterAdaptorBase >::moduleType ( ) const
virtual

Implements edm::Worker.

Definition at line 798 of file WorkerT.cc.

References edm::Worker::kFilter.

798  {
799  return Worker::kFilter;
800  }
template<>
Worker::Types edm::WorkerT< edm::stream::EDAnalyzerAdaptorBase >::moduleType ( ) const
virtual

Implements edm::Worker.

Definition at line 802 of file WorkerT.cc.

References edm::Worker::kAnalyzer.

802  {
803  return Worker::kAnalyzer;
804  }
template<typename T>
void edm::WorkerT< T >::preActionBeforeRunEventAsync ( WaitingTaskHolder  iTask,
ModuleCallingContext const &  iModuleCallingContext,
Principal const &  iPrincipal 
) const
inlineoverrideprivatevirtual

Implements edm::Worker.

Definition at line 153 of file WorkerT.h.

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

155  {
156  module_->preActionBeforeRunEventAsync(iTask, iModuleCallingContext, iPrincipal);
157  }
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:163
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 
)
finalvirtual

Implements edm::Worker.

Definition at line 718 of file WorkerT.cc.

References getPayloadData::description, and callgraph::module.

721  {
722  resolvePutIndiciesImpl(&module(), iBranchType, iIndicies, description()->moduleLabel());
723  }
ModuleDescription const * description() const
Definition: Worker.h:188
T & module()
Definition: WorkerT.h:81
template<typename T >
void edm::WorkerT< T >::selectInputProcessBlocks ( ProductRegistry const &  productRegistry,
ProcessBlockHelperBase const &  processBlockHelperBase 
)
finalvirtual

Implements edm::Worker.

Definition at line 664 of file WorkerT.cc.

References sistrip::module_.

665  {
666  module_->selectInputProcessBlocks(productRegistry, processBlockHelperBase);
667  }
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:163
template<typename T >
Worker::TaskQueueAdaptor edm::WorkerT< T >::serializeRunModule ( )
inlineoverrideprivatevirtual

Implements edm::Worker.

Definition at line 522 of file WorkerT.cc.

522  {
523  return Worker::TaskQueueAdaptor{};
524  }
template<>
Worker::TaskQueueAdaptor edm::WorkerT< EDAnalyzer >::serializeRunModule ( )
privatevirtual

Implements edm::Worker.

Definition at line 526 of file WorkerT.cc.

References sistrip::module_.

526  {
527  return &(module_->sharedResourcesAcquirer().serialQueueChain());
528  }
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:163
template<>
Worker::TaskQueueAdaptor edm::WorkerT< EDFilter >::serializeRunModule ( )
privatevirtual

Implements edm::Worker.

Definition at line 530 of file WorkerT.cc.

References sistrip::module_.

530  {
531  return &(module_->sharedResourcesAcquirer().serialQueueChain());
532  }
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:163
template<>
Worker::TaskQueueAdaptor edm::WorkerT< EDProducer >::serializeRunModule ( )
privatevirtual

Implements edm::Worker.

Definition at line 534 of file WorkerT.cc.

References sistrip::module_.

534  {
535  return &(module_->sharedResourcesAcquirer().serialQueueChain());
536  }
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:163
template<>
Worker::TaskQueueAdaptor edm::WorkerT< one::EDAnalyzerBase >::serializeRunModule ( )
privatevirtual

Implements edm::Worker.

Definition at line 538 of file WorkerT.cc.

References sistrip::module_.

538  {
539  return &(module_->sharedResourcesAcquirer().serialQueueChain());
540  }
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:163
template<>
Worker::TaskQueueAdaptor edm::WorkerT< one::EDFilterBase >::serializeRunModule ( )
privatevirtual

Implements edm::Worker.

Definition at line 542 of file WorkerT.cc.

References sistrip::module_.

542  {
543  return &(module_->sharedResourcesAcquirer().serialQueueChain());
544  }
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:163
template<>
Worker::TaskQueueAdaptor edm::WorkerT< one::EDProducerBase >::serializeRunModule ( )
privatevirtual

Implements edm::Worker.

Definition at line 546 of file WorkerT.cc.

References sistrip::module_.

546  {
547  return &(module_->sharedResourcesAcquirer().serialQueueChain());
548  }
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:163
template<>
Worker::TaskQueueAdaptor edm::WorkerT< one::OutputModuleBase >::serializeRunModule ( )
privatevirtual

Implements edm::Worker.

Definition at line 550 of file WorkerT.cc.

References sistrip::module_.

550  {
551  return &(module_->sharedResourcesAcquirer().serialQueueChain());
552  }
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:163
template<>
Worker::TaskQueueAdaptor edm::WorkerT< limited::EDAnalyzerBase >::serializeRunModule ( )
privatevirtual

Implements edm::Worker.

Definition at line 554 of file WorkerT.cc.

References sistrip::module_.

554  {
555  return &(module_->queue());
556  }
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:163
template<>
Worker::TaskQueueAdaptor edm::WorkerT< limited::EDFilterBase >::serializeRunModule ( )
privatevirtual

Implements edm::Worker.

Definition at line 558 of file WorkerT.cc.

References sistrip::module_.

558  {
559  return &(module_->queue());
560  }
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:163
template<>
Worker::TaskQueueAdaptor edm::WorkerT< limited::EDProducerBase >::serializeRunModule ( )
privatevirtual

Implements edm::Worker.

Definition at line 562 of file WorkerT.cc.

References sistrip::module_.

562  {
563  return &(module_->queue());
564  }
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:163
template<>
Worker::TaskQueueAdaptor edm::WorkerT< limited::OutputModuleBase >::serializeRunModule ( )
privatevirtual

Implements edm::Worker.

Definition at line 566 of file WorkerT.cc.

References sistrip::module_.

566  {
567  return &(module_->queue());
568  }
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:163
template<typename T>
void edm::WorkerT< T >::setModule ( std::shared_ptr< T iModule)
inline

Definition at line 40 of file WorkerT.h.

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

40  {
41  module_ = iModule;
42  resetModuleDescription(&(module_->moduleDescription()));
43  }
void resetModuleDescription(ModuleDescription const *)
Definition: Worker.cc:287
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:163
template<typename T >
void edm::WorkerT< T >::updateLookup ( BranchType  iBranchType,
ProductResolverIndexHelper const &  iHelper 
)
finalvirtual

Implements edm::Worker.

Definition at line 654 of file WorkerT.cc.

References sistrip::module_.

654  {
655  module_->updateLookup(iBranchType, iHelper, mustPrefetchMayGet<T>());
656  }
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:163
template<typename T >
void edm::WorkerT< T >::updateLookup ( eventsetup::ESRecordsToProxyIndices const &  iPI)
finalvirtual

Implements edm::Worker.

Definition at line 659 of file WorkerT.cc.

References sistrip::module_.

659  {
660  module_->updateLookup(iPI);
661  }
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:163
template<typename T >
bool edm::WorkerT< T >::wantsGlobalLuminosityBlocks ( ) const
finalvirtual

Implements edm::Worker.

Definition at line 144 of file WorkerT.cc.

References sistrip::module_.

144  {
145  return module_->wantsGlobalLuminosityBlocks();
146  }
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:163
template<typename T >
bool edm::WorkerT< T >::wantsGlobalRuns ( ) const
finalvirtual

Implements edm::Worker.

Definition at line 139 of file WorkerT.cc.

References sistrip::module_.

139  {
140  return module_->wantsGlobalRuns();
141  }
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:163
template<typename T >
bool edm::WorkerT< T >::wantsInputProcessBlocks ( ) const
finalvirtual

Implements edm::Worker.

Definition at line 134 of file WorkerT.cc.

References sistrip::module_.

134  {
135  return module_->wantsInputProcessBlocks();
136  }
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:163
template<typename T >
bool edm::WorkerT< T >::wantsProcessBlocks ( ) const
finalvirtual

Implements edm::Worker.

Definition at line 129 of file WorkerT.cc.

References sistrip::module_.

129  {
130  return module_->wantsProcessBlocks();
131  }
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:163
template<typename T >
bool edm::WorkerT< T >::wantsStreamLuminosityBlocks ( ) const
finalvirtual

Implements edm::Worker.

Definition at line 154 of file WorkerT.cc.

References sistrip::module_.

154  {
155  return module_->wantsStreamLuminosityBlocks();
156  }
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:163
template<typename T >
bool edm::WorkerT< T >::wantsStreamRuns ( ) const
finalvirtual

Implements edm::Worker.

Definition at line 149 of file WorkerT.cc.

References sistrip::module_.

149  {
150  return module_->wantsStreamRuns();
151  }
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:163
template<typename T >
std::string edm::WorkerT< T >::workerType ( ) const
inlineoverrideprivatevirtual

Implements edm::Worker.

Definition at line 454 of file WorkerT.cc.

References sistrip::module_.

454  {
455  return module_->workerType();
456  }
edm::propagate_const< std::shared_ptr< T > > module_
Definition: WorkerT.h:163

Member Data Documentation

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