CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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  State { Ready, Pass, Fail, Exception }
 
enum  Types { kAnalyzer, kFilter, kProducer, kOutputModule }
 

Public Member Functions

template<typename D >
void callWorkerBeginStream (D, StreamID)
 
template<typename D >
void callWorkerEndStream (D, StreamID)
 
template<typename D >
void callWorkerStreamBegin (D, StreamID id, RunPrincipal &rp, EventSetup const &c, ModuleCallingContext const *mcc)
 
template<typename D >
void callWorkerStreamBegin (D, StreamID id, LuminosityBlockPrincipal &rp, EventSetup const &c, ModuleCallingContext const *mcc)
 
template<typename D >
void callWorkerStreamEnd (D, StreamID id, RunPrincipal &rp, EventSetup const &c, ModuleCallingContext const *mcc)
 
template<typename D >
void callWorkerStreamEnd (D, StreamID id, LuminosityBlockPrincipal &rp, EventSetup const &c, ModuleCallingContext const *mcc)
 
virtual Types moduleType () const override
 
template<>
Worker::Types moduleType () const
 
template<>
Worker::Types moduleType () const
 
template<>
Worker::Types moduleType () const
 
template<>
Worker::Types moduleType () const
 
template<>
Worker::Types moduleType () const
 
template<>
Worker::Types moduleType () const
 
template<>
Worker::Types moduleType () const
 
template<>
Worker::Types moduleType () const
 
template<>
Worker::Types moduleType () const
 
template<>
Worker::Types moduleType () const
 
template<>
Worker::Types moduleType () const
 
template<>
Worker::Types moduleType () const
 
template<>
Worker::Types moduleType () const
 
template<>
Worker::Types moduleType () const
 
void setModule (std::shared_ptr< T > iModule)
 
virtual void updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) override
 
 WorkerT (std::shared_ptr< T >, ModuleDescription const &, ExceptionToActionTable const *actions)
 
virtual ~WorkerT ()
 
- Public Member Functions inherited from edm::Worker
void beginJob ()
 
void beginStream (StreamID id, StreamContext &streamContext)
 
void clearCounters ()
 
ModuleDescription const * descPtr () const
 
ModuleDescription const & description () const
 
template<typename T >
bool doWork (typename T::MyPrincipal &, EventSetup const &c, StreamID stream, ParentContext const &parentContext, typename T::Context const *context)
 
void endJob ()
 
void endStream (StreamID id, StreamContext &streamContext)
 
Workeroperator= (Worker const &)=delete
 
void pathFinished (EventPrincipal &)
 
void postDoEvent (EventPrincipal &)
 
void postForkReacquireResources (unsigned int iChildIndex, unsigned int iNumberOfChildren)
 
void preForkReleaseResources ()
 
void registerThinnedAssociations (ProductRegistry const &registry, ThinnedAssociationsHelper &helper)
 
void reset ()
 
void respondToCloseInputFile (FileBlock const &fb)
 
void respondToOpenInputFile (FileBlock const &fb)
 
void setActivityRegistry (std::shared_ptr< ActivityRegistry > areg)
 
void setEarlyDeleteHelper (EarlyDeleteHelper *iHelper)
 
State state () const
 
int timesExcept () const
 
int timesFailed () const
 
int timesPass () const
 
int timesPassed () const
 
int timesRun () const
 
int timesVisited () const
 
 Worker (ModuleDescription const &iMD, ExceptionToActionTable const *iActions)
 
 Worker (Worker const &)=delete
 
virtual ~Worker ()
 

Protected Member Functions

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

Private Member Functions

virtual std::vector< ConsumesInfoconsumesInfo () const override
 
virtual void implBeginJob () override
 
virtual void implBeginStream (StreamID) override
 
virtual bool implDo (EventPrincipal &ep, EventSetup const &c, ModuleCallingContext const *mcc) override
 
virtual bool implDoBegin (RunPrincipal &rp, EventSetup const &c, ModuleCallingContext const *mcc) override
 
virtual bool implDoBegin (LuminosityBlockPrincipal &lbp, EventSetup const &c, ModuleCallingContext const *mcc) override
 
virtual bool implDoEnd (RunPrincipal &rp, EventSetup const &c, ModuleCallingContext const *mcc) override
 
virtual bool implDoEnd (LuminosityBlockPrincipal &lbp, EventSetup const &c, ModuleCallingContext const *mcc) override
 
virtual bool implDoPrePrefetchSelection (StreamID id, EventPrincipal &ep, ModuleCallingContext const *mcc) override
 
template<>
bool implDoPrePrefetchSelection (StreamID id, EventPrincipal &ep, ModuleCallingContext const *mcc)
 
template<>
bool implDoPrePrefetchSelection (StreamID id, EventPrincipal &ep, ModuleCallingContext const *mcc)
 
virtual bool implDoStreamBegin (StreamID id, RunPrincipal &rp, EventSetup const &c, ModuleCallingContext const *mcc) override
 
virtual bool implDoStreamBegin (StreamID id, LuminosityBlockPrincipal &lbp, EventSetup const &c, ModuleCallingContext const *mcc) override
 
virtual bool implDoStreamEnd (StreamID id, RunPrincipal &rp, EventSetup const &c, ModuleCallingContext const *mcc) override
 
virtual bool implDoStreamEnd (StreamID id, LuminosityBlockPrincipal &lbp, EventSetup const &c, ModuleCallingContext const *mcc) override
 
virtual void implEndJob () override
 
virtual void implEndStream (StreamID) override
 
virtual void implPostForkReacquireResources (unsigned int iChildIndex, unsigned int iNumberOfChildren) override
 
virtual void implPreForkReleaseResources () override
 
virtual void implRegisterThinnedAssociations (ProductRegistry const &, ThinnedAssociationsHelper &) override
 
virtual void implRespondToCloseInputFile (FileBlock const &fb) override
 
virtual void implRespondToOpenInputFile (FileBlock const &fb) override
 
virtual void itemsMayGet (BranchType branchType, std::vector< ProductHolderIndexAndSkipBit > &indexes) const override
 
virtual void itemsToGet (BranchType branchType, std::vector< ProductHolderIndexAndSkipBit > &indexes) const override
 
virtual std::vector
< ProductHolderIndexAndSkipBit >
const & 
itemsToGetFromEvent () const override
 
virtual void modulesDependentUpon (std::vector< const char * > &oModuleLabels) const override
 
virtual void modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc) const override
 
virtual std::string workerType () const override
 

Private Attributes

std::shared_ptr< Tmodule_
 

Detailed Description

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

Definition at line 47 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 104 of file WorkerT.cc.

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

104  :
105  Worker(md, actions),
106  module_(ed) {
107  assert(module_ != 0);
108  }
assert(m_qm.get())
actions
Definition: Schedule.cc:370
Worker(ModuleDescription const &iMD, ExceptionToActionTable const *iActions)
Definition: Worker.cc:71
std::shared_ptr< T > module_
Definition: WorkerT.h:136
template<typename T >
edm::WorkerT< T >::~WorkerT ( )
virtual

Definition at line 111 of file WorkerT.cc.

111  {
112  }

Member Function Documentation

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

Definition at line 294 of file WorkerT.cc.

References sistrip::module_.

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

294  {
295  module_->doBeginStream(id);
296  }
std::shared_ptr< T > module_
Definition: WorkerT.h:136
template<typename T >
template<typename D >
void edm::WorkerT< T >::callWorkerEndStream ( ,
StreamID  id 
)

Definition at line 310 of file WorkerT.cc.

References sistrip::module_.

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

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

Definition at line 160 of file WorkerT.cc.

References sistrip::module_.

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

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

Definition at line 221 of file WorkerT.cc.

References sistrip::module_.

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

Definition at line 169 of file WorkerT.cc.

References sistrip::module_.

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

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

Definition at line 230 of file WorkerT.cc.

References sistrip::module_.

232  {
233  module_->doStreamEndLuminosityBlock(id, rp, c, mcc);
234  }
std::shared_ptr< T > module_
Definition: WorkerT.h:136
template<typename T>
virtual std::vector<ConsumesInfo> edm::WorkerT< T >::consumesInfo ( ) const
inlineoverrideprivatevirtual

Implements edm::Worker.

Definition at line 122 of file WorkerT.h.

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

122  {
123  return module_->consumesInfo();
124  }
std::shared_ptr< T > module_
Definition: WorkerT.h:136
template<typename T >
void edm::WorkerT< T >::implBeginJob ( )
inlineoverrideprivatevirtual

Implements edm::Worker.

Definition at line 281 of file WorkerT.cc.

References sistrip::module_.

281  {
282  module_->doBeginJob();
283  }
std::shared_ptr< T > module_
Definition: WorkerT.h:136
template<typename T >
void edm::WorkerT< T >::implBeginStream ( StreamID  id)
inlineoverrideprivatevirtual

Implements edm::Worker.

Definition at line 301 of file WorkerT.cc.

References relativeConstraints::value.

301  {
303  workerimpl::DoBeginStream<T>,
304  workerimpl::DoNothing>::type might_call;
305  might_call(this,id);
306  }
type
Definition: HCALResponse.h:21
template<typename T >
bool edm::WorkerT< T >::implDo ( EventPrincipal ep,
EventSetup const &  c,
ModuleCallingContext const *  mcc 
)
inlineoverrideprivatevirtual

Implements edm::Worker.

Definition at line 117 of file WorkerT.cc.

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

117  {
118  std::shared_ptr<Worker> sentry(this,[&ep](Worker* obj) {obj->postDoEvent(ep);});
119  return module_->doEvent(ep, c, activityRegistry(), mcc);
120  }
ActivityRegistry * activityRegistry()
Definition: Worker.h:165
Worker(ModuleDescription const &iMD, ExceptionToActionTable const *iActions)
Definition: Worker.cc:71
std::shared_ptr< T > module_
Definition: WorkerT.h:136
template<typename T >
bool edm::WorkerT< T >::implDoBegin ( RunPrincipal rp,
EventSetup const &  c,
ModuleCallingContext const *  mcc 
)
inlineoverrideprivatevirtual

Implements edm::Worker.

Definition at line 152 of file WorkerT.cc.

References sistrip::module_.

152  {
153  module_->doBeginRun(rp, c, mcc);
154  return true;
155  }
std::shared_ptr< T > module_
Definition: WorkerT.h:136
template<typename T >
bool edm::WorkerT< T >::implDoBegin ( LuminosityBlockPrincipal lbp,
EventSetup const &  c,
ModuleCallingContext const *  mcc 
)
inlineoverrideprivatevirtual

Implements edm::Worker.

Definition at line 212 of file WorkerT.cc.

References sistrip::module_.

213  {
214  module_->doBeginLuminosityBlock(lbp, c, mcc);
215  return true;
216  }
std::shared_ptr< T > module_
Definition: WorkerT.h:136
template<typename T >
bool edm::WorkerT< T >::implDoEnd ( RunPrincipal rp,
EventSetup const &  c,
ModuleCallingContext const *  mcc 
)
inlineoverrideprivatevirtual

Implements edm::Worker.

Definition at line 203 of file WorkerT.cc.

References sistrip::module_.

204  {
205  module_->doEndRun(rp, c, mcc);
206  return true;
207  }
std::shared_ptr< T > module_
Definition: WorkerT.h:136
template<typename T >
bool edm::WorkerT< T >::implDoEnd ( LuminosityBlockPrincipal lbp,
EventSetup const &  c,
ModuleCallingContext const *  mcc 
)
inlineoverrideprivatevirtual

Implements edm::Worker.

Definition at line 265 of file WorkerT.cc.

References sistrip::module_.

266  {
267  module_->doEndLuminosityBlock(lbp, c, mcc);
268  return true;
269  }
std::shared_ptr< T > module_
Definition: WorkerT.h:136
template<typename T >
bool edm::WorkerT< T >::implDoPrePrefetchSelection ( StreamID  id,
EventPrincipal ep,
ModuleCallingContext const *  mcc 
)
inlineoverrideprivatevirtual

Implements edm::Worker.

Definition at line 125 of file WorkerT.cc.

127  {
128  return true;
129  }
template<>
bool edm::WorkerT< OutputModule >::implDoPrePrefetchSelection ( StreamID  id,
EventPrincipal ep,
ModuleCallingContext const *  mcc 
)
inlineprivatevirtual

Implements edm::Worker.

Definition at line 134 of file WorkerT.cc.

References sistrip::module_.

136  {
137  return module_->prePrefetchSelection(id,ep,mcc);
138  }
std::shared_ptr< T > module_
Definition: WorkerT.h:136
template<>
bool edm::WorkerT< edm::one::OutputModuleBase >::implDoPrePrefetchSelection ( StreamID  id,
EventPrincipal ep,
ModuleCallingContext const *  mcc 
)
inlineprivatevirtual

Implements edm::Worker.

Definition at line 143 of file WorkerT.cc.

References sistrip::module_.

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

Implements edm::Worker.

Definition at line 179 of file WorkerT.cc.

References relativeConstraints::value.

180  {
182  workerimpl::DoStreamBeginTrans<T,RunPrincipal>,
183  workerimpl::DoNothing>::type might_call;
184  might_call(this,id,rp,c, mcc);
185  return true;
186  }
type
Definition: HCALResponse.h:21
template<typename T >
bool edm::WorkerT< T >::implDoStreamBegin ( StreamID  id,
LuminosityBlockPrincipal lbp,
EventSetup const &  c,
ModuleCallingContext const *  mcc 
)
inlineoverrideprivatevirtual

Implements edm::Worker.

Definition at line 240 of file WorkerT.cc.

References relativeConstraints::value.

241  {
243  workerimpl::DoStreamBeginTrans<T,LuminosityBlockPrincipal>,
244  workerimpl::DoNothing>::type might_call;
245  might_call(this,id,lbp,c, mcc);
246  return true;
247  }
type
Definition: HCALResponse.h:21
template<typename T >
bool edm::WorkerT< T >::implDoStreamEnd ( StreamID  id,
RunPrincipal rp,
EventSetup const &  c,
ModuleCallingContext const *  mcc 
)
inlineoverrideprivatevirtual

Implements edm::Worker.

Definition at line 191 of file WorkerT.cc.

References relativeConstraints::value.

192  {
194  workerimpl::DoStreamEndTrans<T,RunPrincipal>,
195  workerimpl::DoNothing>::type might_call;
196  might_call(this,id,rp,c, mcc);
197  return true;
198  }
type
Definition: HCALResponse.h:21
template<typename T >
bool edm::WorkerT< T >::implDoStreamEnd ( StreamID  id,
LuminosityBlockPrincipal lbp,
EventSetup const &  c,
ModuleCallingContext const *  mcc 
)
inlineoverrideprivatevirtual

Implements edm::Worker.

Definition at line 252 of file WorkerT.cc.

References relativeConstraints::value.

253  {
255  workerimpl::DoStreamEndTrans<T,LuminosityBlockPrincipal>,
256  workerimpl::DoNothing>::type might_call;
257  might_call(this,id,lbp,c,mcc);
258 
259  return true;
260  }
type
Definition: HCALResponse.h:21
template<typename T >
void edm::WorkerT< T >::implEndJob ( )
inlineoverrideprivatevirtual

Implements edm::Worker.

Definition at line 288 of file WorkerT.cc.

References sistrip::module_.

288  {
289  module_->doEndJob();
290  }
std::shared_ptr< T > module_
Definition: WorkerT.h:136
template<typename T >
void edm::WorkerT< T >::implEndStream ( StreamID  id)
inlineoverrideprivatevirtual

Implements edm::Worker.

Definition at line 317 of file WorkerT.cc.

References relativeConstraints::value.

317  {
319  workerimpl::DoEndStream<T>,
320  workerimpl::DoNothing>::type might_call;
321  might_call(this,id);
322  }
type
Definition: HCALResponse.h:21
template<typename T >
void edm::WorkerT< T >::implPostForkReacquireResources ( unsigned int  iChildIndex,
unsigned int  iNumberOfChildren 
)
inlineoverrideprivatevirtual

Implements edm::Worker.

Definition at line 348 of file WorkerT.cc.

References sistrip::module_.

349  {
350  module_->doPostForkReacquireResources(iChildIndex, iNumberOfChildren);
351  }
std::shared_ptr< T > module_
Definition: WorkerT.h:136
template<typename T >
void edm::WorkerT< T >::implPreForkReleaseResources ( )
inlineoverrideprivatevirtual

Implements edm::Worker.

Definition at line 341 of file WorkerT.cc.

References sistrip::module_.

341  {
342  module_->doPreForkReleaseResources();
343  }
std::shared_ptr< T > module_
Definition: WorkerT.h:136
template<typename T >
void edm::WorkerT< T >::implRegisterThinnedAssociations ( ProductRegistry const &  registry,
ThinnedAssociationsHelper helper 
)
inlineoverrideprivatevirtual

Implements edm::Worker.

Definition at line 357 of file WorkerT.cc.

References sistrip::module_.

358  {
359  module_->doRegisterThinnedAssociations(registry, helper);
360  }
std::shared_ptr< T > module_
Definition: WorkerT.h:136
static Interceptor::Registry registry("Interceptor")
template<typename T >
void edm::WorkerT< T >::implRespondToCloseInputFile ( FileBlock const &  fb)
inlineoverrideprivatevirtual

Implements edm::Worker.

Definition at line 334 of file WorkerT.cc.

References sistrip::module_.

334  {
335  module_->doRespondToCloseInputFile(fb);
336  }
std::shared_ptr< T > module_
Definition: WorkerT.h:136
template<typename T >
void edm::WorkerT< T >::implRespondToOpenInputFile ( FileBlock const &  fb)
inlineoverrideprivatevirtual

Implements edm::Worker.

Definition at line 327 of file WorkerT.cc.

References sistrip::module_.

327  {
328  module_->doRespondToOpenInputFile(fb);
329  }
std::shared_ptr< T > module_
Definition: WorkerT.h:136
template<typename T>
virtual void edm::WorkerT< T >::itemsMayGet ( BranchType  branchType,
std::vector< ProductHolderIndexAndSkipBit > &  indexes 
) const
inlineoverrideprivatevirtual

Implements edm::Worker.

Definition at line 130 of file WorkerT.h.

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

130  {
131  module_->itemsMayGet(branchType, indexes);
132  }
std::shared_ptr< T > module_
Definition: WorkerT.h:136
template<typename T>
virtual void edm::WorkerT< T >::itemsToGet ( BranchType  branchType,
std::vector< ProductHolderIndexAndSkipBit > &  indexes 
) const
inlineoverrideprivatevirtual

Implements edm::Worker.

Definition at line 126 of file WorkerT.h.

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

126  {
127  module_->itemsToGet(branchType, indexes);
128  }
std::shared_ptr< T > module_
Definition: WorkerT.h:136
template<typename T>
virtual std::vector<ProductHolderIndexAndSkipBit> const& edm::WorkerT< T >::itemsToGetFromEvent ( ) const
inlineoverrideprivatevirtual

Implements edm::Worker.

Definition at line 134 of file WorkerT.h.

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

134 { return module_->itemsToGetFromEvent(); }
std::shared_ptr< T > module_
Definition: WorkerT.h:136
template<typename T>
T& edm::WorkerT< T >::module ( )
inlineprotected

Definition at line 75 of file WorkerT.h.

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

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

Definition at line 76 of file WorkerT.h.

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

76 {return *module_;}
std::shared_ptr< T > module_
Definition: WorkerT.h:136
template<typename T>
virtual void edm::WorkerT< T >::modulesDependentUpon ( std::vector< const char * > &  oModuleLabels) const
inlineoverrideprivatevirtual

Implements edm::Worker.

Definition at line 112 of file WorkerT.h.

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

112  {
113  module_->modulesDependentUpon(module_->moduleDescription().processName(),oModuleLabels);
114  }
std::shared_ptr< T > module_
Definition: WorkerT.h:136
template<typename T>
virtual 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 116 of file WorkerT.h.

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

118  {
119  module_->modulesWhoseProductsAreConsumed(modules, preg, labelsToDesc, module_->moduleDescription().processName());
120  }
std::shared_ptr< T > module_
Definition: WorkerT.h:136
preg
Definition: Schedule.cc:370
template<typename T>
virtual 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 369 of file WorkerT.cc.

References edm::Worker::kAnalyzer.

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

Implements edm::Worker.

Definition at line 371 of file WorkerT.cc.

References edm::Worker::kProducer.

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

Implements edm::Worker.

Definition at line 373 of file WorkerT.cc.

References edm::Worker::kFilter.

373 { return Worker::kFilter;}
template<>
Worker::Types edm::WorkerT< OutputModule >::moduleType ( ) const
virtual

Implements edm::Worker.

Definition at line 375 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 377 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 379 of file WorkerT.cc.

References edm::Worker::kFilter.

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

Implements edm::Worker.

Definition at line 381 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 383 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 386 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 388 of file WorkerT.cc.

References edm::Worker::kFilter.

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

Implements edm::Worker.

Definition at line 390 of file WorkerT.cc.

References edm::Worker::kAnalyzer.

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

Implements edm::Worker.

Definition at line 394 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 396 of file WorkerT.cc.

References edm::Worker::kFilter.

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

Implements edm::Worker.

Definition at line 398 of file WorkerT.cc.

References edm::Worker::kAnalyzer.

template<typename T>
void edm::WorkerT< T >::setModule ( std::shared_ptr< T iModule)
inline

Definition at line 42 of file WorkerT.h.

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

42  {
43  module_ = iModule;
44  resetModuleDescription(&(module_->moduleDescription()));
45  }
void resetModuleDescription(ModuleDescription const *)
Definition: Worker.cc:98
std::shared_ptr< T > module_
Definition: WorkerT.h:136
template<typename T >
void edm::WorkerT< T >::updateLookup ( BranchType  iBranchType,
ProductHolderIndexHelper const &  iHelper 
)
overridevirtual

Implements edm::Worker.

Definition at line 363 of file WorkerT.cc.

References sistrip::module_.

364  {
365  module_->updateLookup(iBranchType,iHelper);
366  }
std::shared_ptr< T > module_
Definition: WorkerT.h:136
template<typename T >
std::string edm::WorkerT< T >::workerType ( ) const
inlineoverrideprivatevirtual

Implements edm::Worker.

Definition at line 274 of file WorkerT.cc.

References sistrip::module_.

274  {
275  return module_->workerType();
276  }
std::shared_ptr< T > module_
Definition: WorkerT.h:136

Member Data Documentation

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