CMS 3D CMS Logo

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

#include <EDProducerBase.h>

Inheritance diagram for edm::limited::EDProducerBase:
edm::ProducerBase edm::EDConsumerBase edm::ProductRegistryHelper edm::limited::EDProducer< T >

Public Types

typedef EDProducerBase ModuleType
 
- Public Types inherited from edm::ProducerBase
template<typename T >
using BranchAliasSetterT = ProductRegistryHelper::BranchAliasSetterT< T >
 
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

unsigned int concurrencyLimit () const
 
 EDProducerBase (ParameterSet const &pset)
 
ModuleDescription const & moduleDescription () const
 
LimitedTaskQueuequeue ()
 
virtual bool wantsGlobalLuminosityBlocks () const =0
 
virtual bool wantsGlobalRuns () const =0
 
virtual bool wantsInputProcessBlocks () const =0
 
virtual bool wantsProcessBlocks () const =0
 
virtual bool wantsStreamLuminosityBlocks () const =0
 
virtual bool wantsStreamRuns () const =0
 
 ~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
 
std::vector< bool > const & recordProvenanceList () 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)
 
TypeLabelList const & typeLabelList () const
 used by the fwk to register the list of products of this module More...
 
 ~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
 
ESResolverIndex const * esGetTokenIndices (edm::Transition iTrans) const
 
std::vector< ESResolverIndex > const & esGetTokenIndicesVector (edm::Transition iTrans) const
 
std::vector< ESRecordIndex > const & esGetTokenRecordIndicesVector (edm::Transition iTrans) const
 
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::array< std::vector< ModuleDescription const *> *, NumBranchTypes > &modulesAll, std::vector< ModuleProcessName > &modulesInPreviousProcesses, 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
 
void selectInputProcessBlocks (ProductRegistry const &productRegistry, ProcessBlockHelperBase const &processBlockHelperBase)
 
ProductResolverIndexAndSkipBit uncheckedIndexFrom (EDGetToken) const
 
void updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet)
 
void updateLookup (eventsetup::ESRecordsToProductResolverIndices const &)
 
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 void clearInputProcessBlockCaches ()
 
void doAccessInputProcessBlock (ProcessBlockPrincipal const &, ModuleCallingContext const *)
 
virtual void doAccessInputProcessBlock_ (ProcessBlock const &)
 
void doBeginJob ()
 
void doBeginLuminosityBlock (LumiTransitionInfo const &, ModuleCallingContext const *)
 
virtual void doBeginLuminosityBlock_ (LuminosityBlock const &lbp, EventSetup const &c)
 
virtual void doBeginLuminosityBlockProduce_ (LuminosityBlock &lbp, EventSetup const &c)
 
virtual void doBeginLuminosityBlockSummary_ (LuminosityBlock const &rp, EventSetup const &c)
 
void doBeginProcessBlock (ProcessBlockPrincipal const &, ModuleCallingContext const *)
 
virtual void doBeginProcessBlock_ (ProcessBlock const &)
 
virtual void doBeginProcessBlockProduce_ (ProcessBlock &)
 
void doBeginRun (RunTransitionInfo const &, ModuleCallingContext const *)
 
virtual void doBeginRun_ (Run const &rp, EventSetup const &c)
 
virtual void doBeginRunProduce_ (Run &rp, EventSetup const &c)
 
virtual void doBeginRunSummary_ (Run const &rp, EventSetup const &c)
 
void doBeginStream (StreamID id)
 
virtual void doBeginStream_ (StreamID id)
 
void doEndJob ()
 
void doEndLuminosityBlock (LumiTransitionInfo const &, ModuleCallingContext const *)
 
virtual void doEndLuminosityBlock_ (LuminosityBlock const &lb, EventSetup const &c)
 
virtual void doEndLuminosityBlockProduce_ (LuminosityBlock &lbp, EventSetup const &c)
 
virtual void doEndLuminosityBlockSummary_ (LuminosityBlock const &lb, EventSetup const &c)
 
void doEndProcessBlock (ProcessBlockPrincipal const &, ModuleCallingContext const *)
 
virtual void doEndProcessBlock_ (ProcessBlock const &)
 
virtual void doEndProcessBlockProduce_ (ProcessBlock &)
 
void doEndRun (RunTransitionInfo const &, ModuleCallingContext const *)
 
virtual void doEndRun_ (Run const &rp, EventSetup const &c)
 
virtual void doEndRunProduce_ (Run &rp, EventSetup const &c)
 
virtual void doEndRunSummary_ (Run const &rp, EventSetup const &c)
 
void doEndStream (StreamID id)
 
virtual void doEndStream_ (StreamID id)
 
bool doEvent (EventTransitionInfo const &, ActivityRegistry *, ModuleCallingContext const *)
 
void doPreallocate (PreallocationConfiguration const &)
 
void doRegisterThinnedAssociations (ProductRegistry const &, ThinnedAssociationsHelper &)
 
void doRespondToCloseInputFile (FileBlock const &)
 
void doRespondToCloseOutputFile ()
 
void doRespondToOpenInputFile (FileBlock const &)
 
void doStreamBeginLuminosityBlock (StreamID, LumiTransitionInfo const &, ModuleCallingContext const *)
 
virtual void doStreamBeginLuminosityBlock_ (StreamID id, LuminosityBlock const &lbp, EventSetup const &c)
 
void doStreamBeginRun (StreamID, RunTransitionInfo const &, ModuleCallingContext const *)
 
virtual void doStreamBeginRun_ (StreamID id, Run const &rp, EventSetup const &c)
 
void doStreamEndLuminosityBlock (StreamID, LumiTransitionInfo const &, ModuleCallingContext const *)
 
virtual void doStreamEndLuminosityBlock_ (StreamID id, LuminosityBlock const &lbp, EventSetup const &c)
 
virtual void doStreamEndLuminosityBlockSummary_ (StreamID id, LuminosityBlock const &lbp, EventSetup const &c)
 
void doStreamEndRun (StreamID, RunTransitionInfo const &, ModuleCallingContext const *)
 
virtual void doStreamEndRun_ (StreamID id, Run const &rp, EventSetup const &c)
 
virtual void doStreamEndRunSummary_ (StreamID id, Run const &rp, EventSetup const &c)
 
void doTransformAsync (WaitingTaskHolder iTask, size_t iTransformIndex, EventPrincipal const &iEvent, ActivityRegistry *, ModuleCallingContext, ServiceWeakToken const &)
 
virtual void endJob ()
 
virtual bool hasAccumulator () const
 
bool hasAcquire () const
 
void preActionBeforeRunEventAsync (WaitingTaskHolder iTask, ModuleCallingContext const &iModuleCallingContext, Principal const &iPrincipal) const
 
virtual void preallocate (PreallocationConfiguration const &)
 
virtual void preallocLumis (unsigned int)
 
virtual void preallocLumisSummary (unsigned int)
 
virtual void preallocRuns (unsigned int)
 
virtual void preallocRunsSummary (unsigned int)
 
virtual void preallocStreams (unsigned int)
 
virtual void produce (StreamID, Event &, EventSetup const &) const =0
 
void registerProductsAndCallbacks (EDProducerBase *module, ProductRegistry *reg)
 
void setModuleDescription (ModuleDescription const &md)
 
virtual void transformAsync_ (WaitingTaskHolder iTask, std::size_t iIndex, edm::EventForTransformer &iEvent, edm::ActivityRegistry *iAct, ServiceWeakToken const &iToken) const
 
virtual size_t transformIndex_ (edm::BranchDescription const &iBranch) const
 
virtual ProductResolverIndex transformPrefetch_ (std::size_t iIndex) const
 
std::string workerType () const
 

Private Attributes

ModuleDescription moduleDescription_
 
std::unique_ptr< ParentageID[]> previousParentageIds_
 
std::unique_ptr< std::vector< BranchID >[]> previousParentages_
 
LimitedTaskQueue queue_
 

Friends

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

Additional Inherited Members

- Protected Member Functions inherited from edm::ProducerBase
template<Transition Tr = Transition::Event>
auto produces (std::string instanceName) noexcept
 declare what type of product will make and with which optional label More...
 
template<Transition B>
BranchAliasSetter produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true)
 
template<BranchType B>
BranchAliasSetter produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true)
 
BranchAliasSetter produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true)
 
template<typename ProductType , Transition B>
BranchAliasSetterT< ProductType > produces (std::string instanceName)
 
template<class ProductType >
BranchAliasSetterT< ProductType > produces ()
 
template<typename ProductType , BranchType B>
BranchAliasSetterT< ProductType > produces (std::string instanceName)
 
template<typename ProductType , BranchType B>
BranchAliasSetterT< ProductType > produces ()
 
template<class ProductType >
BranchAliasSetterT< ProductType > produces (std::string instanceName)
 
template<typename ProductType , Transition B>
BranchAliasSetterT< ProductType > produces ()
 
template<Transition Tr = Transition::Event>
auto produces () noexcept
 
ProducesCollector producesCollector ()
 
- Protected Member Functions inherited from edm::EDConsumerBase
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
template<BranchType B = InEvent>
EDConsumerBaseAdaptor< Bconsumes (edm::InputTag tag) noexcept
 
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 ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes ()
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes (ESInputTag const &tag)
 
template<Transition Tr = Transition::Event>
constexpr auto esConsumes ()
 
template<Transition Tr = Transition::Event>
auto esConsumes (ESInputTag tag)
 
template<Transition Tr = Transition::Event>
ESGetTokenGeneric esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey)
 Used with EventSetupRecord::doGet. More...
 
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)
 
void resetItemsToGetFrom (BranchType iType)
 

Detailed Description

Definition at line 52 of file EDProducerBase.h.

Member Typedef Documentation

◆ ModuleType

Definition at line 58 of file EDProducerBase.h.

Constructor & Destructor Documentation

◆ EDProducerBase()

EDProducerBase::EDProducerBase ( ParameterSet const &  pset)

Definition at line 46 of file EDProducerBase.cc.

47  : ProducerBase(),
51  queue_(pset.getUntrackedParameter<unsigned int>("concurrencyLimit")) {}
ModuleDescription moduleDescription_
std::unique_ptr< ParentageID[]> previousParentageIds_
std::unique_ptr< std::vector< BranchID >[]> previousParentages_

◆ ~EDProducerBase()

EDProducerBase::~EDProducerBase ( )
override

Definition at line 53 of file EDProducerBase.cc.

53 {}

Member Function Documentation

◆ baseType()

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

Definition at line 287 of file EDProducerBase.cc.

References edm::limited::kBaseType().

287 { return kBaseType; }
static const std::string kBaseType("EDAnalyzer")

◆ beginJob()

virtual void edm::limited::EDProducerBase::beginJob ( void  )
inlineprivatevirtual

Definition at line 127 of file EDProducerBase.h.

Referenced by doBeginJob().

127 {}

◆ clearInputProcessBlockCaches()

void EDProducerBase::clearInputProcessBlockCaches ( )
privatevirtual

Definition at line 275 of file EDProducerBase.cc.

Referenced by doRespondToCloseOutputFile().

275 {}

◆ concurrencyLimit()

unsigned int edm::limited::EDProducerBase::concurrencyLimit ( ) const
inline

Definition at line 79 of file EDProducerBase.h.

References edm::LimitedTaskQueue::concurrencyLimit(), and queue_.

79 { return queue_.concurrencyLimit(); }
unsigned int concurrencyLimit() const

◆ doAccessInputProcessBlock()

void EDProducerBase::doAccessInputProcessBlock ( ProcessBlockPrincipal const &  pbp,
ModuleCallingContext const *  mcc 
)
private

Definition at line 115 of file EDProducerBase.cc.

References doAccessInputProcessBlock_(), moduleDescription_, and edm::ProcessBlock::setConsumer().

115  {
116  ProcessBlock processBlock(pbp, moduleDescription_, mcc, false);
117  processBlock.setConsumer(this);
118  ProcessBlock const& constProcessBlock = processBlock;
119  this->doAccessInputProcessBlock_(constProcessBlock);
120  }
ModuleDescription moduleDescription_
virtual void doAccessInputProcessBlock_(ProcessBlock const &)

◆ doAccessInputProcessBlock_()

void EDProducerBase::doAccessInputProcessBlock_ ( ProcessBlock const &  )
privatevirtual

Definition at line 256 of file EDProducerBase.cc.

Referenced by doAccessInputProcessBlock().

256 {}

◆ doBeginJob()

void EDProducerBase::doBeginJob ( )
private

Definition at line 101 of file EDProducerBase.cc.

References beginJob().

101 { this->beginJob(); }

◆ doBeginLuminosityBlock()

void EDProducerBase::doBeginLuminosityBlock ( LumiTransitionInfo const &  info,
ModuleCallingContext const *  mcc 
)
private

Definition at line 160 of file EDProducerBase.cc.

References edm::BeginLuminosityBlock, HltBtagPostValidation_cff::c, edm::ProducerBase::commit_(), doBeginLuminosityBlock_(), doBeginLuminosityBlockProduce_(), doBeginLuminosityBlockSummary_(), edm::EDConsumerBase::esGetTokenIndices(), info(), moduleDescription_, edm::LuminosityBlock::setConsumer(), and edm::LuminosityBlock::setProducer().

160  {
161  LuminosityBlock lb(info, moduleDescription_, mcc, false);
162  lb.setConsumer(this);
163  LuminosityBlock const& cnstLb = lb;
164  ESParentContext parentC(mcc);
165  const EventSetup c{info,
166  static_cast<unsigned int>(Transition::BeginLuminosityBlock),
168  parentC};
169  this->doBeginLuminosityBlock_(cnstLb, c);
170  this->doBeginLuminosityBlockSummary_(cnstLb, c);
171  lb.setProducer(this);
173  commit_(lb);
174  }
static const TGPicture * info(bool iBackgroundIsBlack)
ESResolverIndex const * esGetTokenIndices(edm::Transition iTrans) const
ModuleDescription moduleDescription_
virtual void doBeginLuminosityBlock_(LuminosityBlock const &lbp, EventSetup const &c)
virtual void doBeginLuminosityBlockProduce_(LuminosityBlock &lbp, EventSetup const &c)
virtual void doBeginLuminosityBlockSummary_(LuminosityBlock const &rp, EventSetup const &c)
void commit_(P &iPrincipal)
Definition: ProducerBase.h:122

◆ doBeginLuminosityBlock_()

void EDProducerBase::doBeginLuminosityBlock_ ( LuminosityBlock const &  lbp,
EventSetup const &  c 
)
privatevirtual

Definition at line 263 of file EDProducerBase.cc.

Referenced by doBeginLuminosityBlock().

263 {}

◆ doBeginLuminosityBlockProduce_()

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

Definition at line 272 of file EDProducerBase.cc.

Referenced by doBeginLuminosityBlock().

272 {}

◆ doBeginLuminosityBlockSummary_()

void EDProducerBase::doBeginLuminosityBlockSummary_ ( LuminosityBlock const &  rp,
EventSetup const &  c 
)
privatevirtual

Definition at line 265 of file EDProducerBase.cc.

Referenced by doBeginLuminosityBlock().

265 {}

◆ doBeginProcessBlock()

void EDProducerBase::doBeginProcessBlock ( ProcessBlockPrincipal const &  pbp,
ModuleCallingContext const *  mcc 
)
private

Definition at line 105 of file EDProducerBase.cc.

References edm::ProducerBase::commit_(), doBeginProcessBlock_(), doBeginProcessBlockProduce_(), moduleDescription_, edm::ProcessBlock::setConsumer(), and edm::ProcessBlock::setProducer().

105  {
106  ProcessBlock processBlock(pbp, moduleDescription_, mcc, false);
107  processBlock.setConsumer(this);
108  ProcessBlock const& constProcessBlock = processBlock;
109  this->doBeginProcessBlock_(constProcessBlock);
110  processBlock.setProducer(this);
111  this->doBeginProcessBlockProduce_(processBlock);
112  commit_(processBlock);
113  }
ModuleDescription moduleDescription_
virtual void doBeginProcessBlockProduce_(ProcessBlock &)
virtual void doBeginProcessBlock_(ProcessBlock const &)
void commit_(P &iPrincipal)
Definition: ProducerBase.h:122

◆ doBeginProcessBlock_()

void EDProducerBase::doBeginProcessBlock_ ( ProcessBlock const &  )
privatevirtual

Definition at line 255 of file EDProducerBase.cc.

Referenced by doBeginProcessBlock().

255 {}

◆ doBeginProcessBlockProduce_()

void EDProducerBase::doBeginProcessBlockProduce_ ( ProcessBlock )
privatevirtual

Definition at line 268 of file EDProducerBase.cc.

Referenced by doBeginProcessBlock().

268 {}

◆ doBeginRun()

void EDProducerBase::doBeginRun ( RunTransitionInfo const &  info,
ModuleCallingContext const *  mcc 
)
private

Definition at line 132 of file EDProducerBase.cc.

References edm::BeginRun, HltBtagPostValidation_cff::c, edm::ProducerBase::commit_(), doBeginRun_(), doBeginRunProduce_(), doBeginRunSummary_(), edm::EDConsumerBase::esGetTokenIndices(), info(), and moduleDescription_.

132  {
133  Run r(info, moduleDescription_, mcc, false);
134  r.setConsumer(this);
135  Run const& cnstR = r;
136  ESParentContext parentC(mcc);
137  const EventSetup c{
138  info, static_cast<unsigned int>(Transition::BeginRun), esGetTokenIndices(Transition::BeginRun), parentC};
139  this->doBeginRun_(cnstR, c);
140  this->doBeginRunSummary_(cnstR, c);
141  r.setProducer(this);
142  this->doBeginRunProduce_(r, c);
143  commit_(r);
144  }
static const TGPicture * info(bool iBackgroundIsBlack)
virtual void doBeginRun_(Run const &rp, EventSetup const &c)
ESResolverIndex const * esGetTokenIndices(edm::Transition iTrans) const
ModuleDescription moduleDescription_
virtual void doBeginRunSummary_(Run const &rp, EventSetup const &c)
virtual void doBeginRunProduce_(Run &rp, EventSetup const &c)
void commit_(P &iPrincipal)
Definition: ProducerBase.h:122

◆ doBeginRun_()

void EDProducerBase::doBeginRun_ ( Run const &  rp,
EventSetup const &  c 
)
privatevirtual

Definition at line 258 of file EDProducerBase.cc.

Referenced by doBeginRun().

258 {}

◆ doBeginRunProduce_()

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

Definition at line 270 of file EDProducerBase.cc.

Referenced by doBeginRun().

270 {}

◆ doBeginRunSummary_()

void EDProducerBase::doBeginRunSummary_ ( Run const &  rp,
EventSetup const &  c 
)
privatevirtual

Definition at line 260 of file EDProducerBase.cc.

Referenced by doBeginRun().

260 {}

◆ doBeginStream()

void EDProducerBase::doBeginStream ( StreamID  id)
private

Definition at line 192 of file EDProducerBase.cc.

References doBeginStream_().

192 { doBeginStream_(id); }
virtual void doBeginStream_(StreamID id)

◆ doBeginStream_()

void EDProducerBase::doBeginStream_ ( StreamID  id)
privatevirtual

Definition at line 244 of file EDProducerBase.cc.

Referenced by doBeginStream().

244 {}

◆ doEndJob()

void EDProducerBase::doEndJob ( )
private

Definition at line 103 of file EDProducerBase.cc.

References endJob().

103 { this->endJob(); }

◆ doEndLuminosityBlock()

void EDProducerBase::doEndLuminosityBlock ( LumiTransitionInfo const &  info,
ModuleCallingContext const *  mcc 
)
private

Definition at line 176 of file EDProducerBase.cc.

References HltBtagPostValidation_cff::c, edm::ProducerBase::commit_(), doEndLuminosityBlock_(), doEndLuminosityBlockProduce_(), doEndLuminosityBlockSummary_(), edm::EndLuminosityBlock, edm::EDConsumerBase::esGetTokenIndices(), info(), moduleDescription_, edm::LuminosityBlock::setConsumer(), and edm::LuminosityBlock::setProducer().

176  {
177  LuminosityBlock lb(info, moduleDescription_, mcc, true);
178  lb.setConsumer(this);
179  lb.setProducer(this);
180  LuminosityBlock const& cnstLb = lb;
181  ESParentContext parentC(mcc);
182  const EventSetup c{info,
183  static_cast<unsigned int>(Transition::EndLuminosityBlock),
185  parentC};
186  this->doEndLuminosityBlockSummary_(cnstLb, c);
187  this->doEndLuminosityBlockProduce_(lb, c);
188  this->doEndLuminosityBlock_(cnstLb, c);
189  commit_(lb);
190  }
static const TGPicture * info(bool iBackgroundIsBlack)
virtual void doEndLuminosityBlock_(LuminosityBlock const &lb, EventSetup const &c)
ESResolverIndex const * esGetTokenIndices(edm::Transition iTrans) const
ModuleDescription moduleDescription_
virtual void doEndLuminosityBlockSummary_(LuminosityBlock const &lb, EventSetup const &c)
virtual void doEndLuminosityBlockProduce_(LuminosityBlock &lbp, EventSetup const &c)
void commit_(P &iPrincipal)
Definition: ProducerBase.h:122

◆ doEndLuminosityBlock_()

void EDProducerBase::doEndLuminosityBlock_ ( LuminosityBlock const &  lb,
EventSetup const &  c 
)
privatevirtual

Definition at line 264 of file EDProducerBase.cc.

Referenced by doEndLuminosityBlock().

264 {}

◆ doEndLuminosityBlockProduce_()

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

Definition at line 273 of file EDProducerBase.cc.

Referenced by doEndLuminosityBlock().

273 {}

◆ doEndLuminosityBlockSummary_()

void EDProducerBase::doEndLuminosityBlockSummary_ ( LuminosityBlock const &  lb,
EventSetup const &  c 
)
privatevirtual

Definition at line 266 of file EDProducerBase.cc.

Referenced by doEndLuminosityBlock().

266 {}

◆ doEndProcessBlock()

void EDProducerBase::doEndProcessBlock ( ProcessBlockPrincipal const &  pbp,
ModuleCallingContext const *  mcc 
)
private

Definition at line 122 of file EDProducerBase.cc.

References edm::ProducerBase::commit_(), doEndProcessBlock_(), doEndProcessBlockProduce_(), moduleDescription_, edm::ProcessBlock::setConsumer(), and edm::ProcessBlock::setProducer().

122  {
123  ProcessBlock processBlock(pbp, moduleDescription_, mcc, true);
124  processBlock.setConsumer(this);
125  ProcessBlock const& constProcessBlock = processBlock;
126  this->doEndProcessBlock_(constProcessBlock);
127  processBlock.setProducer(this);
128  this->doEndProcessBlockProduce_(processBlock);
129  commit_(processBlock);
130  }
ModuleDescription moduleDescription_
virtual void doEndProcessBlockProduce_(ProcessBlock &)
void commit_(P &iPrincipal)
Definition: ProducerBase.h:122
virtual void doEndProcessBlock_(ProcessBlock const &)

◆ doEndProcessBlock_()

void EDProducerBase::doEndProcessBlock_ ( ProcessBlock const &  )
privatevirtual

Definition at line 257 of file EDProducerBase.cc.

Referenced by doEndProcessBlock().

257 {}

◆ doEndProcessBlockProduce_()

void EDProducerBase::doEndProcessBlockProduce_ ( ProcessBlock )
privatevirtual

Definition at line 269 of file EDProducerBase.cc.

Referenced by doEndProcessBlock().

269 {}

◆ doEndRun()

void EDProducerBase::doEndRun ( RunTransitionInfo const &  info,
ModuleCallingContext const *  mcc 
)
private

Definition at line 146 of file EDProducerBase.cc.

References HltBtagPostValidation_cff::c, edm::ProducerBase::commit_(), doEndRun_(), doEndRunProduce_(), doEndRunSummary_(), edm::EndRun, edm::EDConsumerBase::esGetTokenIndices(), info(), and moduleDescription_.

146  {
147  Run r(info, moduleDescription_, mcc, true);
148  r.setConsumer(this);
149  r.setProducer(this);
150  Run const& cnstR = r;
151  ESParentContext parentC(mcc);
152  const EventSetup c{
153  info, static_cast<unsigned int>(Transition::EndRun), esGetTokenIndices(Transition::EndRun), parentC};
154  this->doEndRunSummary_(r, c);
155  this->doEndRunProduce_(r, c);
156  this->doEndRun_(cnstR, c);
157  commit_(r);
158  }
static const TGPicture * info(bool iBackgroundIsBlack)
virtual void doEndRunSummary_(Run const &rp, EventSetup const &c)
ESResolverIndex const * esGetTokenIndices(edm::Transition iTrans) const
ModuleDescription moduleDescription_
void commit_(P &iPrincipal)
Definition: ProducerBase.h:122
virtual void doEndRunProduce_(Run &rp, EventSetup const &c)
virtual void doEndRun_(Run const &rp, EventSetup const &c)

◆ doEndRun_()

void EDProducerBase::doEndRun_ ( Run const &  rp,
EventSetup const &  c 
)
privatevirtual

Definition at line 259 of file EDProducerBase.cc.

Referenced by doEndRun().

259 {}

◆ doEndRunProduce_()

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

Definition at line 271 of file EDProducerBase.cc.

Referenced by doEndRun().

271 {}

◆ doEndRunSummary_()

void EDProducerBase::doEndRunSummary_ ( Run const &  rp,
EventSetup const &  c 
)
privatevirtual

Definition at line 261 of file EDProducerBase.cc.

Referenced by doEndRun().

261 {}

◆ doEndStream()

void EDProducerBase::doEndStream ( StreamID  id)
private

Definition at line 193 of file EDProducerBase.cc.

References doEndStream_().

193 { doEndStream_(id); }
virtual void doEndStream_(StreamID id)

◆ doEndStream_()

void EDProducerBase::doEndStream_ ( StreamID  id)
privatevirtual

Definition at line 245 of file EDProducerBase.cc.

Referenced by doEndStream().

245 {}

◆ doEvent()

bool EDProducerBase::doEvent ( EventTransitionInfo const &  info,
ActivityRegistry act,
ModuleCallingContext const *  mcc 
)
private

Definition at line 55 of file EDProducerBase.cc.

References HltBtagPostValidation_cff::c, edm::ProducerBase::commit_(), MillePedeFileConverter_cfg::e, edm::EDConsumerBase::esGetTokenIndices(), edm::Event, info(), moduleDescription_, previousParentageIds_, previousParentages_, produce(), and edm::Event::streamID().

57  {
59  e.setConsumer(this);
60  const auto streamIndex = e.streamID().value();
61  e.setProducer(this, &previousParentages_[streamIndex]);
62  EventSignalsSentry sentry(act, mcc);
63  ESParentContext parentC(mcc);
64  const EventSetup c{
65  info, static_cast<unsigned int>(Transition::Event), esGetTokenIndices(Transition::Event), parentC};
66  this->produce(e.streamID(), e, c);
67  commit_(e, &previousParentageIds_[streamIndex]);
68  return true;
69  }
static const TGPicture * info(bool iBackgroundIsBlack)
ESResolverIndex const * esGetTokenIndices(edm::Transition iTrans) const
ModuleDescription moduleDescription_
std::unique_ptr< ParentageID[]> previousParentageIds_
virtual void produce(StreamID, Event &, EventSetup const &) const =0
void commit_(P &iPrincipal)
Definition: ProducerBase.h:122
std::unique_ptr< std::vector< BranchID >[]> previousParentages_

◆ doPreallocate()

void EDProducerBase::doPreallocate ( PreallocationConfiguration const &  iPrealloc)
private

Definition at line 89 of file EDProducerBase.cc.

References edm::PreallocationConfiguration::numberOfLuminosityBlocks(), edm::PreallocationConfiguration::numberOfRuns(), edm::PreallocationConfiguration::numberOfStreams(), preallocate(), preallocLumis(), preallocLumisSummary(), preallocRuns(), preallocRunsSummary(), preallocStreams(), previousParentageIds_, and previousParentages_.

89  {
90  auto const nStreams = iPrealloc.numberOfStreams();
91  previousParentages_ = std::make_unique<std::vector<BranchID>[]>(nStreams);
92  previousParentageIds_ = std::make_unique<ParentageID[]>(nStreams);
93  preallocStreams(nStreams);
94  preallocRuns(iPrealloc.numberOfRuns());
95  preallocRunsSummary(iPrealloc.numberOfRuns());
96  preallocLumis(iPrealloc.numberOfLuminosityBlocks());
97  preallocLumisSummary(iPrealloc.numberOfLuminosityBlocks());
98  preallocate(iPrealloc);
99  }
virtual void preallocLumis(unsigned int)
std::unique_ptr< ParentageID[]> previousParentageIds_
virtual void preallocRunsSummary(unsigned int)
virtual void preallocate(PreallocationConfiguration const &)
virtual void preallocStreams(unsigned int)
std::unique_ptr< std::vector< BranchID >[]> previousParentages_
virtual void preallocLumisSummary(unsigned int)
virtual void preallocRuns(unsigned int)

◆ doRegisterThinnedAssociations()

void edm::limited::EDProducerBase::doRegisterThinnedAssociations ( ProductRegistry const &  ,
ThinnedAssociationsHelper  
)
inlineprivate

Definition at line 114 of file EDProducerBase.h.

114 {}

◆ doRespondToCloseInputFile()

void edm::limited::EDProducerBase::doRespondToCloseInputFile ( FileBlock const &  )
inlineprivate

Definition at line 112 of file EDProducerBase.h.

112 {}

◆ doRespondToCloseOutputFile()

void edm::limited::EDProducerBase::doRespondToCloseOutputFile ( )
inlineprivate

Definition at line 113 of file EDProducerBase.h.

References clearInputProcessBlockCaches().

◆ doRespondToOpenInputFile()

void edm::limited::EDProducerBase::doRespondToOpenInputFile ( FileBlock const &  )
inlineprivate

Definition at line 111 of file EDProducerBase.h.

111 {}

◆ doStreamBeginLuminosityBlock()

void EDProducerBase::doStreamBeginLuminosityBlock ( StreamID  id,
LumiTransitionInfo const &  info,
ModuleCallingContext const *  mcc 
)
private

Definition at line 211 of file EDProducerBase.cc.

References edm::BeginLuminosityBlock, HltBtagPostValidation_cff::c, doStreamBeginLuminosityBlock_(), edm::EDConsumerBase::esGetTokenIndices(), info(), moduleDescription_, and edm::LuminosityBlock::setConsumer().

213  {
214  LuminosityBlock lb(info, moduleDescription_, mcc, false);
215  lb.setConsumer(this);
216  ESParentContext parentC(mcc);
217  const EventSetup c{info,
218  static_cast<unsigned int>(Transition::BeginLuminosityBlock),
220  parentC};
221  this->doStreamBeginLuminosityBlock_(id, lb, c);
222  }
static const TGPicture * info(bool iBackgroundIsBlack)
virtual void doStreamBeginLuminosityBlock_(StreamID id, LuminosityBlock const &lbp, EventSetup const &c)
ESResolverIndex const * esGetTokenIndices(edm::Transition iTrans) const
ModuleDescription moduleDescription_

◆ doStreamBeginLuminosityBlock_()

void EDProducerBase::doStreamBeginLuminosityBlock_ ( StreamID  id,
LuminosityBlock const &  lbp,
EventSetup const &  c 
)
privatevirtual

Definition at line 249 of file EDProducerBase.cc.

Referenced by doStreamBeginLuminosityBlock().

249 {}

◆ doStreamBeginRun()

void EDProducerBase::doStreamBeginRun ( StreamID  id,
RunTransitionInfo const &  info,
ModuleCallingContext const *  mcc 
)
private

Definition at line 194 of file EDProducerBase.cc.

References edm::BeginRun, HltBtagPostValidation_cff::c, doStreamBeginRun_(), edm::EDConsumerBase::esGetTokenIndices(), info(), and moduleDescription_.

194  {
195  Run r(info, moduleDescription_, mcc, false);
196  r.setConsumer(this);
197  ESParentContext parentC(mcc);
198  const EventSetup c{
199  info, static_cast<unsigned int>(Transition::BeginRun), esGetTokenIndices(Transition::BeginRun), parentC};
200  this->doStreamBeginRun_(id, r, c);
201  }
static const TGPicture * info(bool iBackgroundIsBlack)
virtual void doStreamBeginRun_(StreamID id, Run const &rp, EventSetup const &c)
ESResolverIndex const * esGetTokenIndices(edm::Transition iTrans) const
ModuleDescription moduleDescription_

◆ doStreamBeginRun_()

void EDProducerBase::doStreamBeginRun_ ( StreamID  id,
Run const &  rp,
EventSetup const &  c 
)
privatevirtual

Definition at line 246 of file EDProducerBase.cc.

Referenced by doStreamBeginRun().

246 {}

◆ doStreamEndLuminosityBlock()

void EDProducerBase::doStreamEndLuminosityBlock ( StreamID  id,
LumiTransitionInfo const &  info,
ModuleCallingContext const *  mcc 
)
private

Definition at line 224 of file EDProducerBase.cc.

References HltBtagPostValidation_cff::c, doStreamEndLuminosityBlock_(), doStreamEndLuminosityBlockSummary_(), edm::EndLuminosityBlock, edm::EDConsumerBase::esGetTokenIndices(), info(), moduleDescription_, and edm::LuminosityBlock::setConsumer().

226  {
227  LuminosityBlock lb(info, moduleDescription_, mcc, true);
228  lb.setConsumer(this);
229  ESParentContext parentC(mcc);
230  const EventSetup c{info,
231  static_cast<unsigned int>(Transition::EndLuminosityBlock),
233  parentC};
234  this->doStreamEndLuminosityBlock_(id, lb, c);
235  this->doStreamEndLuminosityBlockSummary_(id, lb, c);
236  }
static const TGPicture * info(bool iBackgroundIsBlack)
ESResolverIndex const * esGetTokenIndices(edm::Transition iTrans) const
ModuleDescription moduleDescription_
virtual void doStreamEndLuminosityBlockSummary_(StreamID id, LuminosityBlock const &lbp, EventSetup const &c)
virtual void doStreamEndLuminosityBlock_(StreamID id, LuminosityBlock const &lbp, EventSetup const &c)

◆ doStreamEndLuminosityBlock_()

void EDProducerBase::doStreamEndLuminosityBlock_ ( StreamID  id,
LuminosityBlock const &  lbp,
EventSetup const &  c 
)
privatevirtual

Definition at line 250 of file EDProducerBase.cc.

Referenced by doStreamEndLuminosityBlock().

250 {}

◆ doStreamEndLuminosityBlockSummary_()

void EDProducerBase::doStreamEndLuminosityBlockSummary_ ( StreamID  id,
LuminosityBlock const &  lbp,
EventSetup const &  c 
)
privatevirtual

Definition at line 251 of file EDProducerBase.cc.

Referenced by doStreamEndLuminosityBlock().

253  {}

◆ doStreamEndRun()

void EDProducerBase::doStreamEndRun ( StreamID  id,
RunTransitionInfo const &  info,
ModuleCallingContext const *  mcc 
)
private

Definition at line 202 of file EDProducerBase.cc.

References HltBtagPostValidation_cff::c, doStreamEndRun_(), doStreamEndRunSummary_(), edm::EndRun, edm::EDConsumerBase::esGetTokenIndices(), info(), and moduleDescription_.

202  {
203  Run r(info, moduleDescription_, mcc, true);
204  r.setConsumer(this);
205  ESParentContext parentC(mcc);
206  const EventSetup c{
207  info, static_cast<unsigned int>(Transition::EndRun), esGetTokenIndices(Transition::EndRun), parentC};
208  this->doStreamEndRun_(id, r, c);
209  this->doStreamEndRunSummary_(id, r, c);
210  }
static const TGPicture * info(bool iBackgroundIsBlack)
virtual void doStreamEndRunSummary_(StreamID id, Run const &rp, EventSetup const &c)
virtual void doStreamEndRun_(StreamID id, Run const &rp, EventSetup const &c)
ESResolverIndex const * esGetTokenIndices(edm::Transition iTrans) const
ModuleDescription moduleDescription_

◆ doStreamEndRun_()

void EDProducerBase::doStreamEndRun_ ( StreamID  id,
Run const &  rp,
EventSetup const &  c 
)
privatevirtual

Definition at line 247 of file EDProducerBase.cc.

Referenced by doStreamEndRun().

247 {}

◆ doStreamEndRunSummary_()

void EDProducerBase::doStreamEndRunSummary_ ( StreamID  id,
Run const &  rp,
EventSetup const &  c 
)
privatevirtual

Definition at line 248 of file EDProducerBase.cc.

Referenced by doStreamEndRun().

248 {}

◆ doTransformAsync()

void EDProducerBase::doTransformAsync ( WaitingTaskHolder  iTask,
size_t  iTransformIndex,
EventPrincipal const &  iEvent,
ActivityRegistry iAct,
ModuleCallingContext  iMCC,
ServiceWeakToken const &  iToken 
)
private

Definition at line 71 of file EDProducerBase.cc.

References makeMEIFBenchmarkPlots::ev, iEvent, and transformAsync_().

76  {
77  EventForTransformer ev(iEvent, iMCC);
78  transformAsync_(iTask, iTransformIndex, ev, iAct, iToken);
79  }
virtual void transformAsync_(WaitingTaskHolder iTask, std::size_t iIndex, edm::EventForTransformer &iEvent, edm::ActivityRegistry *iAct, ServiceWeakToken const &iToken) const
int iEvent
Definition: GenABIO.cc:224

◆ endJob()

virtual void edm::limited::EDProducerBase::endJob ( void  )
inlineprivatevirtual

Definition at line 128 of file EDProducerBase.h.

Referenced by doEndJob().

128 {}

◆ fillDescriptions()

void EDProducerBase::fillDescriptions ( ConfigurationDescriptions descriptions)
static

Definition at line 277 of file EDProducerBase.cc.

References edm::ConfigurationDescriptions::addDefault(), and submitPVResolutionJobs::desc.

277  {
279  desc.setUnknown();
280  descriptions.addDefault(desc);
281  }

◆ hasAccumulator()

virtual bool edm::limited::EDProducerBase::hasAccumulator ( ) const
inlineprivatevirtual

Definition at line 173 of file EDProducerBase.h.

173 { return false; }

◆ hasAcquire()

bool edm::limited::EDProducerBase::hasAcquire ( ) const
inlineprivate

Definition at line 175 of file EDProducerBase.h.

175 { return false; }

◆ moduleDescription()

ModuleDescription const& edm::limited::EDProducerBase::moduleDescription ( ) const
inline

Definition at line 70 of file EDProducerBase.h.

References moduleDescription_.

70 { return moduleDescription_; }
ModuleDescription moduleDescription_

◆ preActionBeforeRunEventAsync()

void edm::limited::EDProducerBase::preActionBeforeRunEventAsync ( WaitingTaskHolder  iTask,
ModuleCallingContext const &  iModuleCallingContext,
Principal const &  iPrincipal 
) const
inlineprivate

Definition at line 123 of file EDProducerBase.h.

125  {}

◆ preallocate()

void EDProducerBase::preallocate ( PreallocationConfiguration const &  )
privatevirtual

Definition at line 243 of file EDProducerBase.cc.

Referenced by doPreallocate().

243 {}

◆ preallocLumis()

void EDProducerBase::preallocLumis ( unsigned  int)
privatevirtual

Definition at line 241 of file EDProducerBase.cc.

Referenced by doPreallocate().

241 {}

◆ preallocLumisSummary()

void EDProducerBase::preallocLumisSummary ( unsigned  int)
privatevirtual

Definition at line 242 of file EDProducerBase.cc.

Referenced by doPreallocate().

242 {}

◆ preallocRuns()

void EDProducerBase::preallocRuns ( unsigned  int)
privatevirtual

Definition at line 239 of file EDProducerBase.cc.

Referenced by doPreallocate().

239 {}

◆ preallocRunsSummary()

void EDProducerBase::preallocRunsSummary ( unsigned  int)
privatevirtual

Definition at line 240 of file EDProducerBase.cc.

Referenced by doPreallocate().

240 {}

◆ preallocStreams()

void EDProducerBase::preallocStreams ( unsigned  int)
privatevirtual

Definition at line 238 of file EDProducerBase.cc.

Referenced by doPreallocate().

238 {}

◆ prevalidate()

void EDProducerBase::prevalidate ( ConfigurationDescriptions descriptions)
static

Definition at line 283 of file EDProducerBase.cc.

References edm::edmodule_mightGet_config().

283 { edmodule_mightGet_config(iConfig); }
void edmodule_mightGet_config(ConfigurationDescriptions &iDesc)

◆ produce()

virtual void edm::limited::EDProducerBase::produce ( StreamID  ,
Event ,
EventSetup const &   
) const
privatepure virtual

Referenced by doEvent().

◆ queue()

LimitedTaskQueue& edm::limited::EDProducerBase::queue ( )
inline

Definition at line 81 of file EDProducerBase.h.

References queue_.

81 { return queue_; }

◆ registerProductsAndCallbacks()

void edm::limited::EDProducerBase::registerProductsAndCallbacks ( EDProducerBase module,
ProductRegistry reg 
)
inlineprivate

Definition at line 116 of file EDProducerBase.h.

References moduleDescription_, and edm::ProducerBase::registerProducts().

116  {
118  }
void registerProducts(ProducerBase *, ProductRegistry *, ModuleDescription const &)
Definition: ProducerBase.cc:57
ModuleDescription moduleDescription_

◆ setModuleDescription()

void edm::limited::EDProducerBase::setModuleDescription ( ModuleDescription const &  md)
inlineprivate

Definition at line 177 of file EDProducerBase.h.

References moduleDescription_.

177 { moduleDescription_ = md; }
ModuleDescription moduleDescription_

◆ transformAsync_()

void EDProducerBase::transformAsync_ ( WaitingTaskHolder  iTask,
std::size_t  iIndex,
edm::EventForTransformer iEvent,
edm::ActivityRegistry iAct,
ServiceWeakToken const &  iToken 
) const
privatevirtual

Definition at line 83 of file EDProducerBase.cc.

Referenced by doTransformAsync().

87  {}

◆ transformIndex_()

size_t EDProducerBase::transformIndex_ ( edm::BranchDescription const &  iBranch) const
privatevirtual

Definition at line 81 of file EDProducerBase.cc.

81 { return -1; }

◆ transformPrefetch_()

ProductResolverIndex EDProducerBase::transformPrefetch_ ( std::size_t  iIndex) const
privatevirtual

Definition at line 82 of file EDProducerBase.cc.

82 { return 0; }

◆ wantsGlobalLuminosityBlocks()

virtual bool edm::limited::EDProducerBase::wantsGlobalLuminosityBlocks ( ) const
pure virtual

◆ wantsGlobalRuns()

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

◆ wantsInputProcessBlocks()

virtual bool edm::limited::EDProducerBase::wantsInputProcessBlocks ( ) const
pure virtual

◆ wantsProcessBlocks()

virtual bool edm::limited::EDProducerBase::wantsProcessBlocks ( ) const
pure virtual

◆ wantsStreamLuminosityBlocks()

virtual bool edm::limited::EDProducerBase::wantsStreamLuminosityBlocks ( ) const
pure virtual

◆ wantsStreamRuns()

virtual bool edm::limited::EDProducerBase::wantsStreamRuns ( ) const
pure virtual

◆ workerType()

std::string edm::limited::EDProducerBase::workerType ( ) const
inlineprivate

Definition at line 119 of file EDProducerBase.h.

119 { return "WorkerT<EDProducer>"; }

Friends And Related Function Documentation

◆ edm::GlobalSchedule

friend class edm::GlobalSchedule
friend

Definition at line 60 of file EDProducerBase.h.

◆ edm::maker::ModuleHolderT

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

Definition at line 55 of file EDProducerBase.h.

◆ edm::WorkerT

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

Definition at line 57 of file EDProducerBase.h.

Member Data Documentation

◆ moduleDescription_

ModuleDescription edm::limited::EDProducerBase::moduleDescription_
private

◆ previousParentageIds_

std::unique_ptr<ParentageID[]> edm::limited::EDProducerBase::previousParentageIds_
private

Definition at line 180 of file EDProducerBase.h.

Referenced by doEvent(), and doPreallocate().

◆ previousParentages_

std::unique_ptr<std::vector<BranchID>[]> edm::limited::EDProducerBase::previousParentages_
private

Definition at line 179 of file EDProducerBase.h.

Referenced by doEvent(), and doPreallocate().

◆ queue_

LimitedTaskQueue edm::limited::EDProducerBase::queue_
private

Definition at line 181 of file EDProducerBase.h.

Referenced by concurrencyLimit(), and queue().