CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Friends
edm::one::EDProducerBase Class Referenceabstract

#include <EDProducerBase.h>

Inheritance diagram for edm::one::EDProducerBase:
edm::ProducerBase edm::EDConsumerBase edm::ProductRegistryHelper edm::one::EDProducer< T > edm::one::EDProducer< edm::Accumulator, edm::EndLuminosityBlockProducer, edm::EndRunProducer, edm::one::WatchLuminosityBlocks, edm::one::WatchRuns > edm::one::EDProducer< edm::Accumulator, edm::EndLuminosityBlockProducer, edm::EndRunProducer, edm::one::WatchLuminosityBlocks, edm::one::WatchRuns, edm::one::SharedResources > edm::one::EDProducer< edm::BeginLuminosityBlockProducer > edm::one::EDProducer< edm::BeginRunProducer > edm::one::EDProducer< edm::BeginRunProducer, edm::EndRunProducer > edm::one::EDProducer< edm::EndLuminosityBlockProducer > edm::one::EDProducer< edm::EndLuminosityBlockProducer, edm::one::WatchLuminosityBlocks > edm::one::EDProducer< edm::EndLuminosityBlockProducer, edm::one::WatchLuminosityBlocks, edm::Accumulator > edm::one::EDProducer< edm::EndRunProducer > edm::one::EDProducer< edm::EndRunProducer, edm::EndLuminosityBlockProducer > edm::one::EDProducer< edm::EndRunProducer, edm::EndLuminosityBlockProducer, edm::one::WatchRuns, edm::one::WatchLuminosityBlocks > edm::one::EDProducer< edm::one::SharedResources > edm::one::EDProducer< edm::one::SharedResources, edm::one::WatchRuns > edm::one::EDProducer< edm::one::WatchLuminosityBlocks, edm::EndLuminosityBlockProducer > edm::one::EDProducer< edm::one::WatchRuns, edm::BeginLuminosityBlockProducer, edm::EndRunProducer > edm::one::EDProducer< edm::one::WatchRuns, edm::one::SharedResources > edm::one::EDProducer< edm::one::WatchRuns, edm::one::WatchLuminosityBlocks, edm::EndLuminosityBlockProducer, edm::EndRunProducer, edm::one::SharedResources > edm::one::EDProducer< edm::one::WatchRuns, edm::one::WatchLuminosityBlocks, edm::one::SharedResources, edm::EndLuminosityBlockProducer, edm::EndRunProducer > edm::one::EDProducer< EndRunProducer, one::WatchLuminosityBlocks > edm::one::EDProducer< EndRunProducer, one::WatchLuminosityBlocks, one::SharedResources > edm::one::EDProducer< one::WatchRuns, EndRunProducer > edm::one::EDProducer<>

Public Types

typedef EDProducerBase ModuleType
 
- Public Types inherited from edm::ProducerBase
using ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex >>
 
typedef ProductRegistryHelper::TypeLabelList TypeLabelList
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 

Public Member Functions

 EDProducerBase ()
 
virtual SerialTaskQueueglobalLuminosityBlocksQueue ()
 
virtual SerialTaskQueueglobalRunsQueue ()
 
ModuleDescription const & moduleDescription () const
 
virtual bool wantsGlobalLuminosityBlocks () const =0
 
virtual bool wantsGlobalRuns () const =0
 
bool wantsStreamLuminosityBlocks () const
 
bool wantsStreamRuns () const
 
 ~EDProducerBase () override
 
- Public Member Functions inherited from edm::ProducerBase
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
std::vector< edm::ProductResolverIndex > const & indiciesForPutProducts (BranchType iBranchType) const
 
 ProducerBase ()
 
std::vector< edm::ProductResolverIndex > const & putTokenIndexToProductResolverIndex () const
 
void registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &)
 
std::function< void(BranchDescription const &)> registrationCallback () const
 used by the fwk to register list of products More...
 
void resolvePutIndicies (BranchType iBranchType, ModuleToResolverIndicies const &iIndicies, std::string const &moduleLabel)
 
 ~ProducerBase () noexcept(false) override
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () const
 
void convertCurrentProcessAlias (std::string const &processName)
 Convert "@currentProcess" in InputTag process names to the actual current process name. More...
 
 EDConsumerBase ()
 
 EDConsumerBase (EDConsumerBase const &)=delete
 
 EDConsumerBase (EDConsumerBase &&)=default
 
ProductResolverIndexAndSkipBit indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
void itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
std::vector< ProductResolverIndexAndSkipBit > const & itemsToGetFrom (BranchType iType) const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
void modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const
 
EDConsumerBase const & operator= (EDConsumerBase const &)=delete
 
EDConsumerBaseoperator= (EDConsumerBase &&)=default
 
bool registeredToConsume (ProductResolverIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
ProductResolverIndexAndSkipBit uncheckedIndexFrom (EDGetToken) const
 
void updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet)
 
virtual ~EDConsumerBase () noexcept(false)
 

Static Public Member Functions

static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &descriptions)
 

Private Member Functions

virtual void beginJob ()
 
virtual SharedResourcesAcquirer createAcquirer ()
 
void doBeginJob ()
 
void doBeginLuminosityBlock (LuminosityBlockPrincipal const &lbp, EventSetup const &c, ModuleCallingContext const *)
 
virtual void doBeginLuminosityBlock_ (LuminosityBlock const &lbp, EventSetup const &c)
 
virtual void doBeginLuminosityBlockProduce_ (LuminosityBlock &lbp, EventSetup const &c)
 
void doBeginRun (RunPrincipal const &rp, EventSetup const &c, ModuleCallingContext const *)
 
virtual void doBeginRun_ (Run const &rp, EventSetup const &c)
 
virtual void doBeginRunProduce_ (Run &rp, EventSetup const &c)
 
void doEndJob ()
 
void doEndLuminosityBlock (LuminosityBlockPrincipal const &lbp, EventSetup const &c, ModuleCallingContext const *)
 
virtual void doEndLuminosityBlock_ (LuminosityBlock const &lbp, EventSetup const &c)
 
virtual void doEndLuminosityBlockProduce_ (LuminosityBlock &lbp, EventSetup const &c)
 
void doEndRun (RunPrincipal const &rp, EventSetup const &c, ModuleCallingContext const *)
 
virtual void doEndRun_ (Run const &rp, EventSetup const &c)
 
virtual void doEndRunProduce_ (Run &rp, EventSetup const &c)
 
bool doEvent (EventPrincipal const &ep, EventSetup const &c, ActivityRegistry *, ModuleCallingContext const *)
 
void doPreallocate (PreallocationConfiguration const &)
 
void doRegisterThinnedAssociations (ProductRegistry const &, ThinnedAssociationsHelper &)
 
void doRespondToCloseInputFile (FileBlock const &fb)
 
void doRespondToOpenInputFile (FileBlock const &fb)
 
virtual void endJob ()
 
virtual bool hasAccumulator () const
 
bool hasAcquire () const
 
void preActionBeforeRunEventAsync (WaitingTask *iTask, ModuleCallingContext const &iModuleCallingContext, Principal const &iPrincipal) const
 
virtual void preallocThreads (unsigned int)
 
virtual void produce (Event &, EventSetup const &)=0
 
void registerProductsAndCallbacks (EDProducerBase *module, ProductRegistry *reg)
 
void setModuleDescription (ModuleDescription const &md)
 
SharedResourcesAcquirersharedResourcesAcquirer ()
 
std::string workerType () const
 

Private Attributes

ModuleDescription moduleDescription_
 
std::vector< BranchIDpreviousParentage_
 
ParentageID previousParentageId_
 
SharedResourcesAcquirer resourcesAcquirer_
 

Friends

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

Additional Inherited Members

- Protected Member Functions inherited from edm::EDConsumerBase
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
EDGetToken consumes (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken consumes (TypeToGet const &id, edm::InputTag const &tag)
 
ConsumesCollector consumesCollector ()
 Use a ConsumesCollector to gather consumes information from helper functions. More...
 
template<typename ProductType , BranchType B = InEvent>
void consumesMany ()
 
void consumesMany (const TypeToGet &id)
 
template<BranchType B>
void consumesMany (const TypeToGet &id)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > mayConsume (edm::InputTag const &tag)
 
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 

Detailed Description

Definition at line 47 of file EDProducerBase.h.

Member Typedef Documentation

Definition at line 53 of file EDProducerBase.h.

Constructor & Destructor Documentation

EDProducerBase::EDProducerBase ( )

Definition at line 41 of file EDProducerBase.cc.

41  :
42  ProducerBase(),
ParentageID previousParentageId_
std::vector< BranchID > previousParentage_
ModuleDescription moduleDescription_
EDProducerBase::~EDProducerBase ( )
override

Definition at line 47 of file EDProducerBase.cc.

48  {
49  }

Member Function Documentation

const std::string & EDProducerBase::baseType ( )
static

Definition at line 174 of file EDProducerBase.cc.

References edm::one::kBaseType().

174  {
175  return kBaseType;
176  }
static const std::string kBaseType("EDAnalyzer")
virtual void edm::one::EDProducerBase::beginJob ( void  )
inlineprivatevirtual
SharedResourcesAcquirer EDProducerBase::createAcquirer ( )
privatevirtual

Definition at line 65 of file EDProducerBase.cc.

Referenced by doBeginJob().

65  {
67  std::vector<std::shared_ptr<SerialTaskQueue>>(1, std::make_shared<SerialTaskQueue>())};
68  }
void EDProducerBase::doBeginJob ( )
private

Definition at line 74 of file EDProducerBase.cc.

References beginJob(), createAcquirer(), and resourcesAcquirer_.

74  {
76 
77  this->beginJob();
78  }
SharedResourcesAcquirer resourcesAcquirer_
virtual SharedResourcesAcquirer createAcquirer()
void EDProducerBase::doBeginLuminosityBlock ( LuminosityBlockPrincipal const &  lbp,
EventSetup const &  c,
ModuleCallingContext const *  mcc 
)
private

Definition at line 116 of file EDProducerBase.cc.

References edm::ProducerBase::commit_(), doBeginLuminosityBlock_(), doBeginLuminosityBlockProduce_(), moduleDescription_, edm::LuminosityBlock::setConsumer(), and edm::LuminosityBlock::setProducer().

117  {
118  LuminosityBlock lb(lbp, moduleDescription_, mcc, false);
119  lb.setConsumer(this);
120  LuminosityBlock const& cnstLb = lb;
121  this->doBeginLuminosityBlock_(cnstLb, c);
122  lb.setProducer(this);
124  commit_(lb);
125  }
virtual void doBeginLuminosityBlock_(LuminosityBlock const &lbp, EventSetup const &c)
virtual void doBeginLuminosityBlockProduce_(LuminosityBlock &lbp, EventSetup const &c)
void commit_(P &iPrincipal)
Definition: ProducerBase.h:107
ModuleDescription moduleDescription_
void EDProducerBase::doBeginLuminosityBlock_ ( LuminosityBlock const &  lbp,
EventSetup const &  c 
)
privatevirtual

Definition at line 151 of file EDProducerBase.cc.

Referenced by doBeginLuminosityBlock().

151 {}
void EDProducerBase::doBeginLuminosityBlockProduce_ ( LuminosityBlock lbp,
EventSetup const &  c 
)
privatevirtual

Definition at line 156 of file EDProducerBase.cc.

Referenced by doBeginLuminosityBlock().

156 {}
void EDProducerBase::doBeginRun ( RunPrincipal const &  rp,
EventSetup const &  c,
ModuleCallingContext const *  mcc 
)
private

Definition at line 92 of file EDProducerBase.cc.

References edm::ProducerBase::commit_(), doBeginRun_(), doBeginRunProduce_(), moduleDescription_, alignCSCRings::r, edm::Run::setConsumer(), and edm::Run::setProducer().

93  {
94  Run r(rp, moduleDescription_, mcc, false);
95  r.setConsumer(this);
96  Run const& cnstR = r;
97  this->doBeginRun_(cnstR, c);
98  r.setProducer(this);
99  this->doBeginRunProduce_(r,c);
100  commit_(r);
101  }
virtual void doBeginRunProduce_(Run &rp, EventSetup const &c)
void commit_(P &iPrincipal)
Definition: ProducerBase.h:107
virtual void doBeginRun_(Run const &rp, EventSetup const &c)
ModuleDescription moduleDescription_
void EDProducerBase::doBeginRun_ ( Run const &  rp,
EventSetup const &  c 
)
privatevirtual

Definition at line 149 of file EDProducerBase.cc.

Referenced by doBeginRun().

149 {}
void EDProducerBase::doBeginRunProduce_ ( Run rp,
EventSetup const &  c 
)
privatevirtual

Definition at line 154 of file EDProducerBase.cc.

Referenced by doBeginRun().

154 {}
void EDProducerBase::doEndJob ( )
private

Definition at line 81 of file EDProducerBase.cc.

References endJob().

81  {
82  this->endJob();
83  }
void EDProducerBase::doEndLuminosityBlock ( LuminosityBlockPrincipal const &  lbp,
EventSetup const &  c,
ModuleCallingContext const *  mcc 
)
private

Definition at line 128 of file EDProducerBase.cc.

References edm::ProducerBase::commit_(), doEndLuminosityBlock_(), doEndLuminosityBlockProduce_(), moduleDescription_, edm::LuminosityBlock::setConsumer(), and edm::LuminosityBlock::setProducer().

129  {
130  LuminosityBlock lb(lbp, moduleDescription_, mcc, true);
131  lb.setConsumer(this);
132  LuminosityBlock const& cnstLb = lb;
133  this->doEndLuminosityBlock_(cnstLb, c);
134  lb.setProducer(this);
135  this->doEndLuminosityBlockProduce_(lb, c);
136  commit_(lb);
137  }
virtual void doEndLuminosityBlock_(LuminosityBlock const &lbp, EventSetup const &c)
virtual void doEndLuminosityBlockProduce_(LuminosityBlock &lbp, EventSetup const &c)
void commit_(P &iPrincipal)
Definition: ProducerBase.h:107
ModuleDescription moduleDescription_
void EDProducerBase::doEndLuminosityBlock_ ( LuminosityBlock const &  lbp,
EventSetup const &  c 
)
privatevirtual

Definition at line 152 of file EDProducerBase.cc.

Referenced by doEndLuminosityBlock().

152 {}
void EDProducerBase::doEndLuminosityBlockProduce_ ( LuminosityBlock lbp,
EventSetup const &  c 
)
privatevirtual

Definition at line 157 of file EDProducerBase.cc.

Referenced by doEndLuminosityBlock().

157 {}
void EDProducerBase::doEndRun ( RunPrincipal const &  rp,
EventSetup const &  c,
ModuleCallingContext const *  mcc 
)
private

Definition at line 104 of file EDProducerBase.cc.

References edm::ProducerBase::commit_(), doEndRun_(), doEndRunProduce_(), moduleDescription_, alignCSCRings::r, edm::Run::setConsumer(), and edm::Run::setProducer().

105  {
106  Run r(rp, moduleDescription_, mcc, true);
107  r.setConsumer(this);
108  Run const& cnstR = r;
109  this->doEndRun_(cnstR, c);
110  r.setProducer(this);
111  this->doEndRunProduce_(r, c);
112  commit_(r);
113  }
virtual void doEndRunProduce_(Run &rp, EventSetup const &c)
virtual void doEndRun_(Run const &rp, EventSetup const &c)
void commit_(P &iPrincipal)
Definition: ProducerBase.h:107
ModuleDescription moduleDescription_
void EDProducerBase::doEndRun_ ( Run const &  rp,
EventSetup const &  c 
)
privatevirtual

Definition at line 150 of file EDProducerBase.cc.

Referenced by doEndRun().

150 {}
void EDProducerBase::doEndRunProduce_ ( Run rp,
EventSetup const &  c 
)
privatevirtual

Definition at line 155 of file EDProducerBase.cc.

Referenced by doEndRun().

155 {}
bool EDProducerBase::doEvent ( EventPrincipal const &  ep,
EventSetup const &  c,
ActivityRegistry act,
ModuleCallingContext const *  mcc 
)
private

Definition at line 52 of file EDProducerBase.cc.

References edm::ProducerBase::commit_(), MillePedeFileConverter_cfg::e, moduleDescription_, previousParentage_, previousParentageId_, produce(), resourcesAcquirer_, edm::Event::setConsumer(), edm::Event::setProducer(), and edm::Event::setSharedResourcesAcquirer().

54  {
55  Event e(ep, moduleDescription_, mcc);
56  e.setConsumer(this);
57  e.setProducer(this, &previousParentage_);
58  e.setSharedResourcesAcquirer(&resourcesAcquirer_);
59  EventSignalsSentry sentry(act,mcc);
60  this->produce(e, c);
62  return true;
63  }
ParentageID previousParentageId_
SharedResourcesAcquirer resourcesAcquirer_
void commit_(P &iPrincipal)
Definition: ProducerBase.h:107
std::vector< BranchID > previousParentage_
ModuleDescription moduleDescription_
virtual void produce(Event &, EventSetup const &)=0
void EDProducerBase::doPreallocate ( PreallocationConfiguration const &  iPrealloc)
private

Definition at line 86 of file EDProducerBase.cc.

References jets_cff::nThreads, edm::PreallocationConfiguration::numberOfThreads(), and preallocThreads().

86  {
87  auto const nThreads = iPrealloc.numberOfThreads();
89  }
virtual void preallocThreads(unsigned int)
void edm::one::EDProducerBase::doRegisterThinnedAssociations ( ProductRegistry const &  ,
ThinnedAssociationsHelper  
)
inlineprivate

Definition at line 97 of file EDProducerBase.h.

98  { }
void EDProducerBase::doRespondToCloseInputFile ( FileBlock const &  fb)
private

Definition at line 145 of file EDProducerBase.cc.

145  {
146  //respondToCloseInputFile(fb);
147  }
void EDProducerBase::doRespondToOpenInputFile ( FileBlock const &  fb)
private

Definition at line 140 of file EDProducerBase.cc.

140  {
141  //respondToOpenInputFile(fb);
142  }
virtual void edm::one::EDProducerBase::endJob ( void  )
inlineprivatevirtual
void EDProducerBase::fillDescriptions ( ConfigurationDescriptions descriptions)
static

Definition at line 160 of file EDProducerBase.cc.

References edm::ConfigurationDescriptions::addDefault(), and edm::ParameterSetDescription::setUnknown().

160  {
162  desc.setUnknown();
163  descriptions.addDefault(desc);
164  }
SerialTaskQueue * EDProducerBase::globalLuminosityBlocksQueue ( )
virtual

Reimplemented in edm::one::EDProducer< T >, edm::one::EDProducer< edm::one::WatchRuns, edm::one::WatchLuminosityBlocks, edm::one::SharedResources, edm::EndLuminosityBlockProducer, edm::EndRunProducer >, edm::one::EDProducer< edm::Accumulator, edm::EndLuminosityBlockProducer, edm::EndRunProducer, edm::one::WatchLuminosityBlocks, edm::one::WatchRuns, edm::one::SharedResources >, edm::one::EDProducer< edm::BeginLuminosityBlockProducer >, edm::one::EDProducer< edm::one::WatchRuns, edm::BeginLuminosityBlockProducer, edm::EndRunProducer >, edm::one::EDProducer<>, edm::one::EDProducer< edm::BeginRunProducer >, edm::one::EDProducer< edm::one::WatchRuns, edm::one::WatchLuminosityBlocks, edm::EndLuminosityBlockProducer, edm::EndRunProducer, edm::one::SharedResources >, edm::one::EDProducer< edm::EndRunProducer, edm::EndLuminosityBlockProducer >, edm::one::EDProducer< EndRunProducer, one::WatchLuminosityBlocks >, edm::one::EDProducer< EndRunProducer, one::WatchLuminosityBlocks, one::SharedResources >, edm::one::EDProducer< edm::EndRunProducer, edm::EndLuminosityBlockProducer, edm::one::WatchRuns, edm::one::WatchLuminosityBlocks >, edm::one::EDProducer< edm::EndLuminosityBlockProducer >, edm::one::EDProducer< edm::EndLuminosityBlockProducer, edm::one::WatchLuminosityBlocks, edm::Accumulator >, edm::one::EDProducer< edm::one::WatchLuminosityBlocks, edm::EndLuminosityBlockProducer >, edm::one::EDProducer< edm::one::WatchRuns, edm::one::SharedResources >, edm::one::EDProducer< edm::one::SharedResources, edm::one::WatchRuns >, edm::one::EDProducer< edm::BeginRunProducer, edm::EndRunProducer >, edm::one::EDProducer< edm::EndLuminosityBlockProducer, edm::one::WatchLuminosityBlocks >, edm::one::EDProducer< one::WatchRuns, EndRunProducer >, edm::one::EDProducer< edm::Accumulator, edm::EndLuminosityBlockProducer, edm::EndRunProducer, edm::one::WatchLuminosityBlocks, edm::one::WatchRuns >, edm::one::EDProducer< edm::EndRunProducer >, and edm::one::EDProducer< edm::one::SharedResources >.

Definition at line 71 of file EDProducerBase.cc.

71 {return nullptr;};
SerialTaskQueue * EDProducerBase::globalRunsQueue ( )
virtual

Reimplemented in edm::one::EDProducer< T >, edm::one::EDProducer< edm::one::WatchRuns, edm::one::WatchLuminosityBlocks, edm::one::SharedResources, edm::EndLuminosityBlockProducer, edm::EndRunProducer >, edm::one::EDProducer< edm::Accumulator, edm::EndLuminosityBlockProducer, edm::EndRunProducer, edm::one::WatchLuminosityBlocks, edm::one::WatchRuns, edm::one::SharedResources >, edm::one::EDProducer< edm::BeginLuminosityBlockProducer >, edm::one::EDProducer< edm::one::WatchRuns, edm::BeginLuminosityBlockProducer, edm::EndRunProducer >, edm::one::EDProducer<>, edm::one::EDProducer< edm::BeginRunProducer >, edm::one::EDProducer< edm::one::WatchRuns, edm::one::WatchLuminosityBlocks, edm::EndLuminosityBlockProducer, edm::EndRunProducer, edm::one::SharedResources >, edm::one::EDProducer< edm::EndRunProducer, edm::EndLuminosityBlockProducer >, edm::one::EDProducer< EndRunProducer, one::WatchLuminosityBlocks >, edm::one::EDProducer< EndRunProducer, one::WatchLuminosityBlocks, one::SharedResources >, edm::one::EDProducer< edm::EndRunProducer, edm::EndLuminosityBlockProducer, edm::one::WatchRuns, edm::one::WatchLuminosityBlocks >, edm::one::EDProducer< edm::EndLuminosityBlockProducer >, edm::one::EDProducer< edm::EndLuminosityBlockProducer, edm::one::WatchLuminosityBlocks, edm::Accumulator >, edm::one::EDProducer< edm::one::WatchLuminosityBlocks, edm::EndLuminosityBlockProducer >, edm::one::EDProducer< edm::one::WatchRuns, edm::one::SharedResources >, edm::one::EDProducer< edm::one::SharedResources, edm::one::WatchRuns >, edm::one::EDProducer< edm::BeginRunProducer, edm::EndRunProducer >, edm::one::EDProducer< edm::EndLuminosityBlockProducer, edm::one::WatchLuminosityBlocks >, edm::one::EDProducer< one::WatchRuns, EndRunProducer >, edm::one::EDProducer< edm::Accumulator, edm::EndLuminosityBlockProducer, edm::EndRunProducer, edm::one::WatchLuminosityBlocks, edm::one::WatchRuns >, edm::one::EDProducer< edm::EndRunProducer >, and edm::one::EDProducer< edm::one::SharedResources >.

Definition at line 70 of file EDProducerBase.cc.

70 {return nullptr;}
virtual bool edm::one::EDProducerBase::hasAccumulator ( ) const
inlineprivatevirtual

Definition at line 125 of file EDProducerBase.h.

125 { return false; }
bool edm::one::EDProducerBase::hasAcquire ( ) const
inlineprivate

Definition at line 127 of file EDProducerBase.h.

127 { return false; }
ModuleDescription const& edm::one::EDProducerBase::moduleDescription ( ) const
inline
void edm::one::EDProducerBase::preActionBeforeRunEventAsync ( WaitingTask iTask,
ModuleCallingContext const &  iModuleCallingContext,
Principal const &  iPrincipal 
) const
inlineprivate

Definition at line 79 of file EDProducerBase.h.

References benchmark_cfg::fb.

79 {}
virtual void edm::one::EDProducerBase::preallocThreads ( unsigned int  )
inlineprivatevirtual

Reimplemented in ExternalLHEProducer.

Definition at line 113 of file EDProducerBase.h.

Referenced by doPreallocate().

113 {}
void EDProducerBase::prevalidate ( ConfigurationDescriptions descriptions)
static

Definition at line 167 of file EDProducerBase.cc.

References edm::edmodule_mightGet_config(), edm::one::kBaseType(), and AlCaHLTBitMon_QueryRunRegistry::string.

167  {
168  edmodule_mightGet_config(iConfig);
169  }
void edmodule_mightGet_config(ConfigurationDescriptions &iDesc)
virtual void edm::one::EDProducerBase::produce ( Event ,
EventSetup const &   
)
privatepure virtual
void edm::one::EDProducerBase::registerProductsAndCallbacks ( EDProducerBase module,
ProductRegistry reg 
)
inlineprivate

Definition at line 100 of file EDProducerBase.h.

100  {
101  registerProducts(module, reg, moduleDescription_);
102  }
void registerProducts(ProducerBase *, ProductRegistry *, ModuleDescription const &)
Definition: ProducerBase.cc:60
ModuleDescription moduleDescription_
void edm::one::EDProducerBase::setModuleDescription ( ModuleDescription const &  md)
inlineprivate

Definition at line 131 of file EDProducerBase.h.

131  {
132  moduleDescription_ = md;
133  }
ModuleDescription moduleDescription_
SharedResourcesAcquirer& edm::one::EDProducerBase::sharedResourcesAcquirer ( )
inlineprivate

Definition at line 105 of file EDProducerBase.h.

105  {
106  return resourcesAcquirer_;
107  }
SharedResourcesAcquirer resourcesAcquirer_
virtual bool edm::one::EDProducerBase::wantsGlobalLuminosityBlocks ( ) const
pure virtual

Implemented in edm::one::EDProducer< T >, edm::one::EDProducer< edm::one::WatchRuns, edm::one::WatchLuminosityBlocks, edm::one::SharedResources, edm::EndLuminosityBlockProducer, edm::EndRunProducer >, edm::one::EDProducer< edm::Accumulator, edm::EndLuminosityBlockProducer, edm::EndRunProducer, edm::one::WatchLuminosityBlocks, edm::one::WatchRuns, edm::one::SharedResources >, edm::one::EDProducer< edm::BeginLuminosityBlockProducer >, edm::one::EDProducer< edm::one::WatchRuns, edm::BeginLuminosityBlockProducer, edm::EndRunProducer >, edm::one::EDProducer<>, edm::one::EDProducer< edm::BeginRunProducer >, edm::one::EDProducer< edm::one::WatchRuns, edm::one::WatchLuminosityBlocks, edm::EndLuminosityBlockProducer, edm::EndRunProducer, edm::one::SharedResources >, edm::one::EDProducer< edm::EndRunProducer, edm::EndLuminosityBlockProducer >, edm::one::EDProducer< EndRunProducer, one::WatchLuminosityBlocks >, edm::one::EDProducer< EndRunProducer, one::WatchLuminosityBlocks, one::SharedResources >, edm::one::EDProducer< edm::EndRunProducer, edm::EndLuminosityBlockProducer, edm::one::WatchRuns, edm::one::WatchLuminosityBlocks >, edm::one::EDProducer< edm::EndLuminosityBlockProducer >, edm::one::EDProducer< edm::EndLuminosityBlockProducer, edm::one::WatchLuminosityBlocks, edm::Accumulator >, edm::one::EDProducer< edm::one::WatchLuminosityBlocks, edm::EndLuminosityBlockProducer >, edm::one::EDProducer< edm::one::WatchRuns, edm::one::SharedResources >, edm::one::EDProducer< edm::one::SharedResources, edm::one::WatchRuns >, edm::one::EDProducer< edm::BeginRunProducer, edm::EndRunProducer >, edm::one::EDProducer< edm::EndLuminosityBlockProducer, edm::one::WatchLuminosityBlocks >, edm::one::EDProducer< one::WatchRuns, EndRunProducer >, edm::one::EDProducer< edm::Accumulator, edm::EndLuminosityBlockProducer, edm::EndRunProducer, edm::one::WatchLuminosityBlocks, edm::one::WatchRuns >, edm::one::EDProducer< edm::EndRunProducer >, and edm::one::EDProducer< edm::one::SharedResources >.

virtual bool edm::one::EDProducerBase::wantsGlobalRuns ( ) const
pure virtual

Implemented in edm::one::EDProducer< T >, edm::one::EDProducer< edm::one::WatchRuns, edm::one::WatchLuminosityBlocks, edm::one::SharedResources, edm::EndLuminosityBlockProducer, edm::EndRunProducer >, edm::one::EDProducer< edm::Accumulator, edm::EndLuminosityBlockProducer, edm::EndRunProducer, edm::one::WatchLuminosityBlocks, edm::one::WatchRuns, edm::one::SharedResources >, edm::one::EDProducer< edm::BeginLuminosityBlockProducer >, edm::one::EDProducer< edm::one::WatchRuns, edm::BeginLuminosityBlockProducer, edm::EndRunProducer >, edm::one::EDProducer<>, edm::one::EDProducer< edm::BeginRunProducer >, edm::one::EDProducer< edm::one::WatchRuns, edm::one::WatchLuminosityBlocks, edm::EndLuminosityBlockProducer, edm::EndRunProducer, edm::one::SharedResources >, edm::one::EDProducer< edm::EndRunProducer, edm::EndLuminosityBlockProducer >, edm::one::EDProducer< EndRunProducer, one::WatchLuminosityBlocks >, edm::one::EDProducer< EndRunProducer, one::WatchLuminosityBlocks, one::SharedResources >, edm::one::EDProducer< edm::EndRunProducer, edm::EndLuminosityBlockProducer, edm::one::WatchRuns, edm::one::WatchLuminosityBlocks >, edm::one::EDProducer< edm::EndLuminosityBlockProducer >, edm::one::EDProducer< edm::EndLuminosityBlockProducer, edm::one::WatchLuminosityBlocks, edm::Accumulator >, edm::one::EDProducer< edm::one::WatchLuminosityBlocks, edm::EndLuminosityBlockProducer >, edm::one::EDProducer< edm::one::WatchRuns, edm::one::SharedResources >, edm::one::EDProducer< edm::one::SharedResources, edm::one::WatchRuns >, edm::one::EDProducer< edm::BeginRunProducer, edm::EndRunProducer >, edm::one::EDProducer< edm::EndLuminosityBlockProducer, edm::one::WatchLuminosityBlocks >, edm::one::EDProducer< one::WatchRuns, EndRunProducer >, edm::one::EDProducer< edm::Accumulator, edm::EndLuminosityBlockProducer, edm::EndRunProducer, edm::one::WatchLuminosityBlocks, edm::one::WatchRuns >, edm::one::EDProducer< edm::EndRunProducer >, and edm::one::EDProducer< edm::one::SharedResources >.

bool edm::one::EDProducerBase::wantsStreamLuminosityBlocks ( ) const
inline
bool edm::one::EDProducerBase::wantsStreamRuns ( ) const
inline

Definition at line 68 of file EDProducerBase.h.

68 {return false;}
std::string edm::one::EDProducerBase::workerType ( ) const
inlineprivate

Definition at line 103 of file EDProducerBase.h.

103 {return "WorkerT<EDProducer>";}

Friends And Related Function Documentation

template<typename T >
friend class edm::maker::ModuleHolderT
friend

Definition at line 51 of file EDProducerBase.h.

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

Definition at line 52 of file EDProducerBase.h.

Member Data Documentation

ModuleDescription edm::one::EDProducerBase::moduleDescription_
private
std::vector<BranchID> edm::one::EDProducerBase::previousParentage_
private

Definition at line 135 of file EDProducerBase.h.

Referenced by doEvent().

ParentageID edm::one::EDProducerBase::previousParentageId_
private

Definition at line 136 of file EDProducerBase.h.

Referenced by doEvent().

SharedResourcesAcquirer edm::one::EDProducerBase::resourcesAcquirer_
private

Definition at line 138 of file EDProducerBase.h.

Referenced by doBeginJob(), and doEvent().