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::BeginLuminosityBlockProducer > edm::one::EDProducer< edm::BeginRunProducer > edm::one::EDProducer< edm::BeginRunProducer, edm::EndRunProducer > edm::one::EDProducer< edm::BeginRunProducer, edm::one::WatchRuns > edm::one::EDProducer< edm::EndLuminosityBlockProducer > edm::one::EDProducer< edm::EndLuminosityBlockProducer, edm::EndRunProducer, edm::EndProcessBlockProducer, edm::one::WatchLuminosityBlocks, edm::one::WatchRuns, edm::one::SharedResources, edm::Accumulator > edm::one::EDProducer< edm::EndLuminosityBlockProducer, edm::LuminosityBlockCache< int > > edm::one::EDProducer< edm::EndLuminosityBlockProducer, edm::LuminosityBlockCache< reco::PixelClusterCounts > > edm::one::EDProducer< edm::EndLuminosityBlockProducer, edm::one::WatchLuminosityBlocks > edm::one::EDProducer< edm::EndProcessBlockProducer, edm::one::WatchLuminosityBlocks, edm::one::WatchRuns, edm::one::SharedResources, edm::Accumulator > edm::one::EDProducer< edm::EndRunProducer > edm::one::EDProducer< edm::EndRunProducer, edm::BeginRunProducer, edm::BeginLuminosityBlockProducer, edm::EndLuminosityBlockProducer, edm::one::WatchRuns, edm::one::WatchLuminosityBlocks > edm::one::EDProducer< edm::EndRunProducer, edm::EndLuminosityBlockProducer, edm::one::WatchRuns, edm::one::WatchLuminosityBlocks > edm::one::EDProducer< edm::EndRunProducer, edm::one::WatchRuns, edm::Accumulator, Args... > edm::one::EDProducer< edm::EndRunProducer, edm::RunCache< int > > 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::WatchLuminosityBlocks, edm::one::WatchRuns, edm::EndRunProducer, edm::EndLuminosityBlockProducer, edm::one::SharedResources > edm::one::EDProducer< edm::one::WatchLuminosityBlocks, edm::one::WatchRuns, edm::one::SharedResources > edm::one::EDProducer< edm::one::WatchRuns > 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::one::SharedResources, edm::EndLuminosityBlockProducer, edm::EndRunProducer > edm::one::EDProducer< edm::RunCache< edm::ConditionsInRunBlock >, edm::LuminosityBlockCache< edm::ConditionsInLumiBlock >, edm::EndRunProducer, edm::EndLuminosityBlockProducer > edm::one::EDProducer< edm::RunCache< meedm::Void >, edm::LuminosityBlockCache< meedm::Void >, edm::EndLuminosityBlockProducer, edm::EndRunProducer, edm::one::SharedResources > edm::one::EDProducer< edm::RunCache< std::unordered_map< std::string, unsigned int > > > 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
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

 EDProducerBase ()
 
virtual SerialTaskQueueglobalLuminosityBlocksQueue ()
 
virtual SerialTaskQueueglobalRunsQueue ()
 
ModuleDescription const & moduleDescription () const
 
virtual bool wantsGlobalLuminosityBlocks () const noexcept=0
 
virtual bool wantsGlobalRuns () const noexcept=0
 
virtual bool wantsInputProcessBlocks () const noexcept=0
 
virtual bool wantsProcessBlocks () const noexcept=0
 
bool wantsStreamLuminosityBlocks () const noexcept
 
bool wantsStreamRuns () const noexcept
 
 ~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 ()
 
virtual SharedResourcesAcquirer createAcquirer ()
 
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)
 
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)
 
void doEndJob ()
 
void doEndLuminosityBlock (LumiTransitionInfo const &, ModuleCallingContext const *)
 
virtual void doEndLuminosityBlock_ (LuminosityBlock const &lbp, EventSetup const &c)
 
virtual void doEndLuminosityBlockProduce_ (LuminosityBlock &lbp, 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)
 
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 doTransformAsync (WaitingTaskHolder iTask, size_t iTransformIndex, EventPrincipal const &iEvent, ActivityRegistry *, ModuleCallingContext, ServiceWeakToken const &) noexcept
 
virtual void endJob ()
 
virtual bool hasAccumulator () const noexcept
 
bool hasAcquire () const noexcept
 
void preActionBeforeRunEventAsync (WaitingTaskHolder, ModuleCallingContext const &, Principal const &) const noexcept
 
virtual void preallocLumis (unsigned int)
 
virtual void preallocRuns (unsigned int)
 
virtual void preallocThreads (unsigned int)
 
virtual void produce (Event &, EventSetup const &)=0
 
void registerProductsAndCallbacks (EDProducerBase *module, ProductRegistry *reg)
 
void setModuleDescription (ModuleDescription const &md)
 
SharedResourcesAcquirersharedResourcesAcquirer ()
 
virtual void transformAsync_ (WaitingTaskHolder iTask, std::size_t iIndex, edm::EventForTransformer &iEvent, edm::ActivityRegistry *iAct, ServiceWeakToken const &iToken) const noexcept
 
virtual size_t transformIndex_ (edm::BranchDescription const &iBranch) const noexcept
 
virtual ProductResolverIndex transformPrefetch_ (std::size_t iIndex) const noexcept
 
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::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 49 of file EDProducerBase.h.

Member Typedef Documentation

◆ ModuleType

Definition at line 55 of file EDProducerBase.h.

Constructor & Destructor Documentation

◆ EDProducerBase()

EDProducerBase::EDProducerBase ( )

Definition at line 45 of file EDProducerBase.cc.

◆ ~EDProducerBase()

EDProducerBase::~EDProducerBase ( )
override

Definition at line 48 of file EDProducerBase.cc.

48 {}

Member Function Documentation

◆ baseType()

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

Definition at line 220 of file EDProducerBase.cc.

References edm::one::kBaseType().

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

◆ beginJob()

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

◆ clearInputProcessBlockCaches()

void EDProducerBase::clearInputProcessBlockCaches ( )
privatevirtual

Definition at line 208 of file EDProducerBase.cc.

Referenced by doRespondToCloseOutputFile().

208 {}

◆ createAcquirer()

SharedResourcesAcquirer EDProducerBase::createAcquirer ( )
privatevirtual

Definition at line 66 of file EDProducerBase.cc.

Referenced by doBeginJob().

66  {
68  std::vector<std::shared_ptr<SerialTaskQueue>>(1, std::make_shared<SerialTaskQueue>())};
69  }

◆ doAccessInputProcessBlock()

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

Definition at line 120 of file EDProducerBase.cc.

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

120  {
121  ProcessBlock processBlock(pbp, moduleDescription_, mcc, false);
122  processBlock.setConsumer(this);
123  ProcessBlock const& constProcessBlock = processBlock;
124  this->doAccessInputProcessBlock_(constProcessBlock);
125  }
virtual void doAccessInputProcessBlock_(ProcessBlock const &)
ModuleDescription moduleDescription_

◆ doAccessInputProcessBlock_()

void EDProducerBase::doAccessInputProcessBlock_ ( ProcessBlock const &  )
privatevirtual

Definition at line 194 of file EDProducerBase.cc.

Referenced by doAccessInputProcessBlock().

194 {}

◆ doBeginJob()

void EDProducerBase::doBeginJob ( )
private

Definition at line 92 of file EDProducerBase.cc.

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

92  {
94 
95  this->beginJob();
96  }
SharedResourcesAcquirer resourcesAcquirer_
virtual SharedResourcesAcquirer createAcquirer()

◆ doBeginLuminosityBlock()

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

Definition at line 163 of file EDProducerBase.cc.

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

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

◆ doBeginLuminosityBlock_()

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

Definition at line 198 of file EDProducerBase.cc.

Referenced by doBeginLuminosityBlock().

198 {}

◆ doBeginLuminosityBlockProduce_()

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

Definition at line 205 of file EDProducerBase.cc.

Referenced by doBeginLuminosityBlock().

205 {}

◆ doBeginProcessBlock()

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

Definition at line 110 of file EDProducerBase.cc.

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

110  {
111  ProcessBlock processBlock(pbp, moduleDescription_, mcc, false);
112  processBlock.setConsumer(this);
113  ProcessBlock const& constProcessBlock = processBlock;
114  this->doBeginProcessBlock_(constProcessBlock);
115  processBlock.setProducer(this);
116  this->doBeginProcessBlockProduce_(processBlock);
117  commit_(processBlock);
118  }
virtual void doBeginProcessBlockProduce_(ProcessBlock &)
void commit_(P &iPrincipal)
Definition: ProducerBase.h:122
virtual void doBeginProcessBlock_(ProcessBlock const &)
ModuleDescription moduleDescription_

◆ doBeginProcessBlock_()

void EDProducerBase::doBeginProcessBlock_ ( ProcessBlock const &  )
privatevirtual

Definition at line 193 of file EDProducerBase.cc.

Referenced by doBeginProcessBlock().

193 {}

◆ doBeginProcessBlockProduce_()

void EDProducerBase::doBeginProcessBlockProduce_ ( ProcessBlock )
privatevirtual

Definition at line 201 of file EDProducerBase.cc.

Referenced by doBeginProcessBlock().

201 {}

◆ doBeginRun()

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

Definition at line 137 of file EDProducerBase.cc.

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

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

◆ doBeginRun_()

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

Definition at line 196 of file EDProducerBase.cc.

Referenced by doBeginRun().

196 {}

◆ doBeginRunProduce_()

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

Definition at line 203 of file EDProducerBase.cc.

Referenced by doBeginRun().

203 {}

◆ doEndJob()

void EDProducerBase::doEndJob ( )
private

Definition at line 98 of file EDProducerBase.cc.

References endJob().

98 { this->endJob(); }

◆ doEndLuminosityBlock()

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

Definition at line 178 of file EDProducerBase.cc.

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

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

◆ doEndLuminosityBlock_()

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

Definition at line 199 of file EDProducerBase.cc.

Referenced by doEndLuminosityBlock().

199 {}

◆ doEndLuminosityBlockProduce_()

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

Definition at line 206 of file EDProducerBase.cc.

Referenced by doEndLuminosityBlock().

206 {}

◆ doEndProcessBlock()

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

Definition at line 127 of file EDProducerBase.cc.

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

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

◆ doEndProcessBlock_()

void EDProducerBase::doEndProcessBlock_ ( ProcessBlock const &  )
privatevirtual

Definition at line 195 of file EDProducerBase.cc.

Referenced by doEndProcessBlock().

195 {}

◆ doEndProcessBlockProduce_()

void EDProducerBase::doEndProcessBlockProduce_ ( ProcessBlock )
privatevirtual

Definition at line 202 of file EDProducerBase.cc.

Referenced by doEndProcessBlock().

202 {}

◆ doEndRun()

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

Definition at line 150 of file EDProducerBase.cc.

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

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

◆ doEndRun_()

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

Definition at line 197 of file EDProducerBase.cc.

Referenced by doEndRun().

197 {}

◆ doEndRunProduce_()

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

Definition at line 204 of file EDProducerBase.cc.

Referenced by doEndRun().

204 {}

◆ doEvent()

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

Definition at line 50 of file EDProducerBase.cc.

References DummyCfis::c, edm::ProducerBase::commit_(), MillePedeFileConverter_cfg::e, edm::EDConsumerBase::esGetTokenIndices(), edm::Event, info(), moduleDescription_, previousParentage_, previousParentageId_, produce(), and resourcesAcquirer_.

52  {
54  e.setConsumer(this);
55  e.setProducer(this, &previousParentage_);
56  e.setSharedResourcesAcquirer(&resourcesAcquirer_);
57  EventSignalsSentry sentry(act, mcc);
58  ESParentContext parentC(mcc);
59  const EventSetup c{
60  info, static_cast<unsigned int>(Transition::Event), esGetTokenIndices(Transition::Event), parentC};
61  this->produce(e, c);
63  return true;
64  }
static const TGPicture * info(bool iBackgroundIsBlack)
ParentageID previousParentageId_
ESResolverIndex const * esGetTokenIndices(edm::Transition iTrans) const
SharedResourcesAcquirer resourcesAcquirer_
void commit_(P &iPrincipal)
Definition: ProducerBase.h:122
std::vector< BranchID > previousParentage_
ModuleDescription moduleDescription_
virtual void produce(Event &, EventSetup const &)=0

◆ doPreallocate()

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

Definition at line 100 of file EDProducerBase.cc.

References edm::PreallocationConfiguration::numberOfLuminosityBlocks(), edm::PreallocationConfiguration::numberOfRuns(), edm::PreallocationConfiguration::numberOfThreads(), preallocLumis(), preallocRuns(), and preallocThreads().

100  {
101  auto const nThreads = iPrealloc.numberOfThreads();
102  preallocThreads(nThreads);
103  preallocRuns(iPrealloc.numberOfRuns());
104  preallocLumis(iPrealloc.numberOfLuminosityBlocks());
105  }
virtual void preallocLumis(unsigned int)
virtual void preallocRuns(unsigned int)
virtual void preallocThreads(unsigned int)

◆ doRegisterThinnedAssociations()

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

Definition at line 107 of file EDProducerBase.h.

107 {}

◆ doRespondToCloseInputFile()

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

Definition at line 105 of file EDProducerBase.h.

105 {}

◆ doRespondToCloseOutputFile()

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

Definition at line 106 of file EDProducerBase.h.

References clearInputProcessBlockCaches().

virtual void clearInputProcessBlockCaches()

◆ doRespondToOpenInputFile()

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

Definition at line 104 of file EDProducerBase.h.

104 {}

◆ doTransformAsync()

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

Definition at line 74 of file EDProducerBase.cc.

References makeMEIFBenchmarkPlots::ev, and iEvent.

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

◆ endJob()

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

◆ fillDescriptions()

void EDProducerBase::fillDescriptions ( ConfigurationDescriptions descriptions)
static

Definition at line 210 of file EDProducerBase.cc.

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

210  {
212  desc.setUnknown();
213  descriptions.addDefault(desc);
214  }

◆ globalLuminosityBlocksQueue()

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::EndRunProducer, edm::RunCache< int > >, 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::EndLuminosityBlockProducer, edm::LuminosityBlockCache< int > >, edm::one::EDProducer< edm::RunCache< std::unordered_map< std::string, unsigned int > > >, 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::EndRunProducer, edm::EndProcessBlockProducer, edm::one::WatchLuminosityBlocks, edm::one::WatchRuns, edm::one::SharedResources, edm::Accumulator >, edm::one::EDProducer< edm::RunCache< meedm::Void >, edm::LuminosityBlockCache< meedm::Void >, edm::EndLuminosityBlockProducer, edm::EndRunProducer, edm::one::SharedResources >, edm::one::EDProducer< edm::EndLuminosityBlockProducer >, edm::one::EDProducer< edm::one::WatchLuminosityBlocks, edm::one::WatchRuns, edm::one::SharedResources >, edm::one::EDProducer< edm::RunCache< edm::ConditionsInRunBlock >, edm::LuminosityBlockCache< edm::ConditionsInLumiBlock >, edm::EndRunProducer, edm::EndLuminosityBlockProducer >, edm::one::EDProducer< edm::EndRunProducer, edm::one::WatchRuns, edm::Accumulator, Args... >, edm::one::EDProducer< edm::EndRunProducer, edm::BeginRunProducer, edm::BeginLuminosityBlockProducer, edm::EndLuminosityBlockProducer, edm::one::WatchRuns, edm::one::WatchLuminosityBlocks >, edm::one::EDProducer< edm::one::WatchLuminosityBlocks, edm::EndLuminosityBlockProducer >, edm::one::EDProducer< edm::one::SharedResources, edm::one::WatchRuns >, edm::one::EDProducer< edm::one::WatchRuns, edm::one::SharedResources >, edm::one::EDProducer< edm::BeginRunProducer, edm::EndRunProducer >, edm::one::EDProducer< edm::one::WatchRuns >, edm::one::EDProducer< edm::EndLuminosityBlockProducer, edm::one::WatchLuminosityBlocks >, edm::one::EDProducer< one::WatchRuns, EndRunProducer >, edm::one::EDProducer< edm::EndProcessBlockProducer, edm::one::WatchLuminosityBlocks, edm::one::WatchRuns, edm::one::SharedResources, edm::Accumulator >, edm::one::EDProducer< edm::EndLuminosityBlockProducer, edm::LuminosityBlockCache< reco::PixelClusterCounts > >, edm::one::EDProducer< edm::BeginRunProducer, edm::one::WatchRuns >, edm::one::EDProducer< edm::one::WatchLuminosityBlocks, edm::one::WatchRuns, edm::EndRunProducer, edm::EndLuminosityBlockProducer, edm::one::SharedResources >, edm::one::EDProducer< edm::EndRunProducer >, and edm::one::EDProducer< edm::one::SharedResources >.

Definition at line 72 of file EDProducerBase.cc.

72 { return nullptr; };

◆ globalRunsQueue()

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::EndRunProducer, edm::RunCache< int > >, 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::EndLuminosityBlockProducer, edm::LuminosityBlockCache< int > >, edm::one::EDProducer< edm::RunCache< std::unordered_map< std::string, unsigned int > > >, 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::EndRunProducer, edm::EndProcessBlockProducer, edm::one::WatchLuminosityBlocks, edm::one::WatchRuns, edm::one::SharedResources, edm::Accumulator >, edm::one::EDProducer< edm::RunCache< meedm::Void >, edm::LuminosityBlockCache< meedm::Void >, edm::EndLuminosityBlockProducer, edm::EndRunProducer, edm::one::SharedResources >, edm::one::EDProducer< edm::EndLuminosityBlockProducer >, edm::one::EDProducer< edm::one::WatchLuminosityBlocks, edm::one::WatchRuns, edm::one::SharedResources >, edm::one::EDProducer< edm::RunCache< edm::ConditionsInRunBlock >, edm::LuminosityBlockCache< edm::ConditionsInLumiBlock >, edm::EndRunProducer, edm::EndLuminosityBlockProducer >, edm::one::EDProducer< edm::EndRunProducer, edm::one::WatchRuns, edm::Accumulator, Args... >, edm::one::EDProducer< edm::EndRunProducer, edm::BeginRunProducer, edm::BeginLuminosityBlockProducer, edm::EndLuminosityBlockProducer, edm::one::WatchRuns, edm::one::WatchLuminosityBlocks >, edm::one::EDProducer< edm::one::WatchLuminosityBlocks, edm::EndLuminosityBlockProducer >, edm::one::EDProducer< edm::one::SharedResources, edm::one::WatchRuns >, edm::one::EDProducer< edm::one::WatchRuns, edm::one::SharedResources >, edm::one::EDProducer< edm::BeginRunProducer, edm::EndRunProducer >, edm::one::EDProducer< edm::one::WatchRuns >, edm::one::EDProducer< edm::EndLuminosityBlockProducer, edm::one::WatchLuminosityBlocks >, edm::one::EDProducer< one::WatchRuns, EndRunProducer >, edm::one::EDProducer< edm::EndProcessBlockProducer, edm::one::WatchLuminosityBlocks, edm::one::WatchRuns, edm::one::SharedResources, edm::Accumulator >, edm::one::EDProducer< edm::EndLuminosityBlockProducer, edm::LuminosityBlockCache< reco::PixelClusterCounts > >, edm::one::EDProducer< edm::BeginRunProducer, edm::one::WatchRuns >, edm::one::EDProducer< edm::one::WatchLuminosityBlocks, edm::one::WatchRuns, edm::EndRunProducer, edm::EndLuminosityBlockProducer, edm::one::SharedResources >, edm::one::EDProducer< edm::EndRunProducer >, and edm::one::EDProducer< edm::one::SharedResources >.

Definition at line 71 of file EDProducerBase.cc.

71 { return nullptr; }

◆ hasAccumulator()

virtual bool edm::one::EDProducerBase::hasAccumulator ( ) const
inlineprivatevirtualnoexcept

Definition at line 146 of file EDProducerBase.h.

146 { return false; }

◆ hasAcquire()

bool edm::one::EDProducerBase::hasAcquire ( ) const
inlineprivatenoexcept

Definition at line 148 of file EDProducerBase.h.

148 { return false; }

◆ moduleDescription()

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

◆ preActionBeforeRunEventAsync()

void edm::one::EDProducerBase::preActionBeforeRunEventAsync ( WaitingTaskHolder  ,
ModuleCallingContext const &  ,
Principal const &   
) const
inlineprivatenoexcept

Definition at line 80 of file EDProducerBase.h.

82  {}

◆ preallocLumis()

void EDProducerBase::preallocLumis ( unsigned  int)
privatevirtual

Definition at line 108 of file EDProducerBase.cc.

Referenced by doPreallocate().

108 {}

◆ preallocRuns()

void EDProducerBase::preallocRuns ( unsigned  int)
privatevirtual

Definition at line 107 of file EDProducerBase.cc.

Referenced by doPreallocate().

107 {}

◆ preallocThreads()

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

Reimplemented in ExternalLHEProducer.

Definition at line 120 of file EDProducerBase.h.

Referenced by doPreallocate().

120 {}

◆ prevalidate()

void EDProducerBase::prevalidate ( ConfigurationDescriptions descriptions)
static

Definition at line 216 of file EDProducerBase.cc.

References edm::edmodule_mightGet_config().

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

◆ produce()

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

Implemented in SimpleFlatTableProducerBaseRun< T, TProd >, SimpleFlatTableProducerBaseRun< T, T >, SimpleFlatTableProducerBaseLumi< T, TProd >, SimpleFlatTableProducerBaseLumi< T, T >, L1GTAlgoBlockProducer, L1FPGATrackProducer, TTStubBuilder< T >, GlobalRecHitsProducer, AlCaHOCalibProducer, LumiProducer, timestudy::OneSleepingProducer, GlobalDigisProducer, MatacqProducer, JetCoreMCtruthSeedGenerator, TTStubBuilder< T >, GlobalHitsProducer, GlobalHitsProdHist, ExpressLumiProducer, LaserAlignment, MEtoEDMConverter, ExternalLHEProducer, CSCOverlapsTrackPreparation, L1MuGlobalMuonTrigger, EmbeddingLHEProducer, Phase1L1TJetProducer, L1GtTriggerMenuLiteProducer, TkLasBeamFitter, L1TowerCalibrator, TTStubBuilder< T >, JetIdSelector< T >, EDMtoMEConverter, ConditionDumperInEdm, SiStripOfflineDQM, l1t::MP7BufferDumpToRaw, APVCyclePhaseProducerFromL1ABC, RPCTrigger, AlCaHcalNoiseProducer, MixBoostEvtVtxGenerator, EcalSimpleProducer, MuonSeedTrack, l1t::AMCDumpToRaw, HLTPrescaleRecorder, l1t::AMC13DumpToRaw, RctInputTextToDigi, L1GtTextToRaw, LHE2HepMCConverter, TauSpinnerCMS, GeometryProducer, EcalFEDWithCRCErrorProducer, gen::Pythia6Gun, Phase1L1TJetSumsProducer, SourceCardTextToRctDigi, SiStripFineDelayHit, L1TMuonOverlapTrackProducer, TextToRaw, HTXSRivetProducer, RctTextToRctDigi, EcalFEtoDigi, AlignmentPrescaler, NTuplingDevice, cms::HitReCalibrator, L1GTEvaluationProducer, MatchedProbeMaker< T >, L1TMuonOverlapPhase1TrackProducer, GtPsbTextToDigi, AlcaPCCProducer, edm::BeamHaloProducer, DTSpyReader, LaserAlignmentProducer, DTROS25FileReader, MillePedeFileConverter, ECALRegFEDSelector, EventCountProducer, CSCTFPacker, DaqFakeReader, DTDDUFileReader, AlcaBeamSpotFromDB, AlcaBeamSpotProducer, edmtest::AssociationMapProducer, edmtest::MissingDictionaryTestProducer, DTROS8FileReader, LHECOMWeightProducer, HectorProducer, DTNewROS8FileReader, DTTrackFinder, L1TMuonBarrelTrackProducer, CSCTFTrackProducer, edm::CosMuoGenProducer, edm::RandomXiThetaGunProducer, TrackerHitProducer, edm::FlatRandomPtAndDxyGunProducer, cms::CkfDebugTrackCandidateMaker, StripCompactDigiSimLinksProducer, edmtest::TrackOfThingsProducer, edm::CloseByParticleGunProducer, L1TMuonOverlapPhase2TrackProducer, CastorTTRecord, EmptySimHits, edmtest::ThingWithMergeProducer, ParticleLevelProducer, edm::ExpoRandomPGunProducer, HcalPatternSource, edmtest::RandomIntProducer, edm::BeamMomentumGunProducer, edm::ExpoRandomPtGunProducer, edm::MultiParticleInConeGunProducer, MFProducer, edm::FlatRandomEGunProducer, edm::FlatRandomPtGunProducer, HIPixelMedianVtxProducer, edm::EventAuxiliaryHistoryProducer, edm::FlatRandomOneOverPtGunProducer, edm::FileRandomKEThetaGunProducer, edm::RandomtXiGunProducer, edm::FileRandomMultiParticlePGunProducer, edm::FlatRandomEThetaGunProducer, edm::FlatRandomMultiParticlePGunProducer, edm::FlatRandomPtThetaGunProducer, edm::GaussRandomPThetaGunProducer, edm::RandomMultiParticlePGunProducer, HepMCCopy, and HcalLaserEventFiltProducer2012.

Referenced by doEvent().

◆ registerProductsAndCallbacks()

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

Definition at line 109 of file EDProducerBase.h.

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

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

◆ setModuleDescription()

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

Definition at line 152 of file EDProducerBase.h.

References moduleDescription_.

152 { moduleDescription_ = md; }
ModuleDescription moduleDescription_

◆ sharedResourcesAcquirer()

SharedResourcesAcquirer& edm::one::EDProducerBase::sharedResourcesAcquirer ( )
inlineprivate

Definition at line 114 of file EDProducerBase.h.

References resourcesAcquirer_.

114 { return resourcesAcquirer_; }
SharedResourcesAcquirer resourcesAcquirer_

◆ transformAsync_()

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

Definition at line 86 of file EDProducerBase.cc.

90  {}

◆ transformIndex_()

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

Definition at line 84 of file EDProducerBase.cc.

84 { return -1; }

◆ transformPrefetch_()

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

Definition at line 85 of file EDProducerBase.cc.

85 { return 0; }

◆ wantsGlobalLuminosityBlocks()

virtual bool edm::one::EDProducerBase::wantsGlobalLuminosityBlocks ( ) const
pure virtualnoexcept

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::EndRunProducer, edm::RunCache< int > >, 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::EndLuminosityBlockProducer, edm::LuminosityBlockCache< int > >, edm::one::EDProducer< edm::RunCache< std::unordered_map< std::string, unsigned int > > >, 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::EndRunProducer, edm::EndProcessBlockProducer, edm::one::WatchLuminosityBlocks, edm::one::WatchRuns, edm::one::SharedResources, edm::Accumulator >, edm::one::EDProducer< edm::RunCache< meedm::Void >, edm::LuminosityBlockCache< meedm::Void >, edm::EndLuminosityBlockProducer, edm::EndRunProducer, edm::one::SharedResources >, edm::one::EDProducer< edm::EndLuminosityBlockProducer >, edm::one::EDProducer< edm::one::WatchLuminosityBlocks, edm::one::WatchRuns, edm::one::SharedResources >, edm::one::EDProducer< edm::RunCache< edm::ConditionsInRunBlock >, edm::LuminosityBlockCache< edm::ConditionsInLumiBlock >, edm::EndRunProducer, edm::EndLuminosityBlockProducer >, edm::one::EDProducer< edm::EndRunProducer, edm::one::WatchRuns, edm::Accumulator, Args... >, edm::one::EDProducer< edm::EndRunProducer, edm::BeginRunProducer, edm::BeginLuminosityBlockProducer, edm::EndLuminosityBlockProducer, edm::one::WatchRuns, edm::one::WatchLuminosityBlocks >, edm::one::EDProducer< edm::one::WatchLuminosityBlocks, edm::EndLuminosityBlockProducer >, edm::one::EDProducer< edm::one::SharedResources, edm::one::WatchRuns >, edm::one::EDProducer< edm::one::WatchRuns, edm::one::SharedResources >, edm::one::EDProducer< edm::BeginRunProducer, edm::EndRunProducer >, edm::one::EDProducer< edm::one::WatchRuns >, edm::one::EDProducer< edm::EndLuminosityBlockProducer, edm::one::WatchLuminosityBlocks >, edm::one::EDProducer< one::WatchRuns, EndRunProducer >, edm::one::EDProducer< edm::EndProcessBlockProducer, edm::one::WatchLuminosityBlocks, edm::one::WatchRuns, edm::one::SharedResources, edm::Accumulator >, edm::one::EDProducer< edm::EndLuminosityBlockProducer, edm::LuminosityBlockCache< reco::PixelClusterCounts > >, edm::one::EDProducer< edm::BeginRunProducer, edm::one::WatchRuns >, edm::one::EDProducer< edm::one::WatchLuminosityBlocks, edm::one::WatchRuns, edm::EndRunProducer, edm::EndLuminosityBlockProducer, edm::one::SharedResources >, edm::one::EDProducer< edm::EndRunProducer >, and edm::one::EDProducer< edm::one::SharedResources >.

◆ wantsGlobalRuns()

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

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::EndRunProducer, edm::RunCache< int > >, 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::EndLuminosityBlockProducer, edm::LuminosityBlockCache< int > >, edm::one::EDProducer< edm::RunCache< std::unordered_map< std::string, unsigned int > > >, 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::EndRunProducer, edm::EndProcessBlockProducer, edm::one::WatchLuminosityBlocks, edm::one::WatchRuns, edm::one::SharedResources, edm::Accumulator >, edm::one::EDProducer< edm::RunCache< meedm::Void >, edm::LuminosityBlockCache< meedm::Void >, edm::EndLuminosityBlockProducer, edm::EndRunProducer, edm::one::SharedResources >, edm::one::EDProducer< edm::EndLuminosityBlockProducer >, edm::one::EDProducer< edm::one::WatchLuminosityBlocks, edm::one::WatchRuns, edm::one::SharedResources >, edm::one::EDProducer< edm::RunCache< edm::ConditionsInRunBlock >, edm::LuminosityBlockCache< edm::ConditionsInLumiBlock >, edm::EndRunProducer, edm::EndLuminosityBlockProducer >, edm::one::EDProducer< edm::EndRunProducer, edm::one::WatchRuns, edm::Accumulator, Args... >, edm::one::EDProducer< edm::EndRunProducer, edm::BeginRunProducer, edm::BeginLuminosityBlockProducer, edm::EndLuminosityBlockProducer, edm::one::WatchRuns, edm::one::WatchLuminosityBlocks >, edm::one::EDProducer< edm::one::WatchLuminosityBlocks, edm::EndLuminosityBlockProducer >, edm::one::EDProducer< edm::one::SharedResources, edm::one::WatchRuns >, edm::one::EDProducer< edm::one::WatchRuns, edm::one::SharedResources >, edm::one::EDProducer< edm::BeginRunProducer, edm::EndRunProducer >, edm::one::EDProducer< edm::one::WatchRuns >, edm::one::EDProducer< edm::EndLuminosityBlockProducer, edm::one::WatchLuminosityBlocks >, edm::one::EDProducer< one::WatchRuns, EndRunProducer >, edm::one::EDProducer< edm::EndProcessBlockProducer, edm::one::WatchLuminosityBlocks, edm::one::WatchRuns, edm::one::SharedResources, edm::Accumulator >, edm::one::EDProducer< edm::EndLuminosityBlockProducer, edm::LuminosityBlockCache< reco::PixelClusterCounts > >, edm::one::EDProducer< edm::BeginRunProducer, edm::one::WatchRuns >, edm::one::EDProducer< edm::one::WatchLuminosityBlocks, edm::one::WatchRuns, edm::EndRunProducer, edm::EndLuminosityBlockProducer, edm::one::SharedResources >, edm::one::EDProducer< edm::EndRunProducer >, and edm::one::EDProducer< edm::one::SharedResources >.

◆ wantsInputProcessBlocks()

virtual bool edm::one::EDProducerBase::wantsInputProcessBlocks ( ) const
pure virtualnoexcept

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::EndRunProducer, edm::RunCache< int > >, 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::EndLuminosityBlockProducer, edm::LuminosityBlockCache< int > >, edm::one::EDProducer< edm::RunCache< std::unordered_map< std::string, unsigned int > > >, 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::EndRunProducer, edm::EndProcessBlockProducer, edm::one::WatchLuminosityBlocks, edm::one::WatchRuns, edm::one::SharedResources, edm::Accumulator >, edm::one::EDProducer< edm::RunCache< meedm::Void >, edm::LuminosityBlockCache< meedm::Void >, edm::EndLuminosityBlockProducer, edm::EndRunProducer, edm::one::SharedResources >, edm::one::EDProducer< edm::EndLuminosityBlockProducer >, edm::one::EDProducer< edm::one::WatchLuminosityBlocks, edm::one::WatchRuns, edm::one::SharedResources >, edm::one::EDProducer< edm::RunCache< edm::ConditionsInRunBlock >, edm::LuminosityBlockCache< edm::ConditionsInLumiBlock >, edm::EndRunProducer, edm::EndLuminosityBlockProducer >, edm::one::EDProducer< edm::EndRunProducer, edm::one::WatchRuns, edm::Accumulator, Args... >, edm::one::EDProducer< edm::EndRunProducer, edm::BeginRunProducer, edm::BeginLuminosityBlockProducer, edm::EndLuminosityBlockProducer, edm::one::WatchRuns, edm::one::WatchLuminosityBlocks >, edm::one::EDProducer< edm::one::WatchLuminosityBlocks, edm::EndLuminosityBlockProducer >, edm::one::EDProducer< edm::one::SharedResources, edm::one::WatchRuns >, edm::one::EDProducer< edm::one::WatchRuns, edm::one::SharedResources >, edm::one::EDProducer< edm::BeginRunProducer, edm::EndRunProducer >, edm::one::EDProducer< edm::one::WatchRuns >, edm::one::EDProducer< edm::EndLuminosityBlockProducer, edm::one::WatchLuminosityBlocks >, edm::one::EDProducer< one::WatchRuns, EndRunProducer >, edm::one::EDProducer< edm::EndProcessBlockProducer, edm::one::WatchLuminosityBlocks, edm::one::WatchRuns, edm::one::SharedResources, edm::Accumulator >, edm::one::EDProducer< edm::EndLuminosityBlockProducer, edm::LuminosityBlockCache< reco::PixelClusterCounts > >, edm::one::EDProducer< edm::BeginRunProducer, edm::one::WatchRuns >, edm::one::EDProducer< edm::one::WatchLuminosityBlocks, edm::one::WatchRuns, edm::EndRunProducer, edm::EndLuminosityBlockProducer, edm::one::SharedResources >, edm::one::EDProducer< edm::EndRunProducer >, and edm::one::EDProducer< edm::one::SharedResources >.

◆ wantsProcessBlocks()

virtual bool edm::one::EDProducerBase::wantsProcessBlocks ( ) const
pure virtualnoexcept

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::EndRunProducer, edm::RunCache< int > >, 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::EndLuminosityBlockProducer, edm::LuminosityBlockCache< int > >, edm::one::EDProducer< edm::RunCache< std::unordered_map< std::string, unsigned int > > >, 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::EndRunProducer, edm::EndProcessBlockProducer, edm::one::WatchLuminosityBlocks, edm::one::WatchRuns, edm::one::SharedResources, edm::Accumulator >, edm::one::EDProducer< edm::RunCache< meedm::Void >, edm::LuminosityBlockCache< meedm::Void >, edm::EndLuminosityBlockProducer, edm::EndRunProducer, edm::one::SharedResources >, edm::one::EDProducer< edm::EndLuminosityBlockProducer >, edm::one::EDProducer< edm::one::WatchLuminosityBlocks, edm::one::WatchRuns, edm::one::SharedResources >, edm::one::EDProducer< edm::RunCache< edm::ConditionsInRunBlock >, edm::LuminosityBlockCache< edm::ConditionsInLumiBlock >, edm::EndRunProducer, edm::EndLuminosityBlockProducer >, edm::one::EDProducer< edm::EndRunProducer, edm::one::WatchRuns, edm::Accumulator, Args... >, edm::one::EDProducer< edm::EndRunProducer, edm::BeginRunProducer, edm::BeginLuminosityBlockProducer, edm::EndLuminosityBlockProducer, edm::one::WatchRuns, edm::one::WatchLuminosityBlocks >, edm::one::EDProducer< edm::one::WatchLuminosityBlocks, edm::EndLuminosityBlockProducer >, edm::one::EDProducer< edm::one::SharedResources, edm::one::WatchRuns >, edm::one::EDProducer< edm::one::WatchRuns, edm::one::SharedResources >, edm::one::EDProducer< edm::BeginRunProducer, edm::EndRunProducer >, edm::one::EDProducer< edm::one::WatchRuns >, edm::one::EDProducer< edm::EndLuminosityBlockProducer, edm::one::WatchLuminosityBlocks >, edm::one::EDProducer< one::WatchRuns, EndRunProducer >, edm::one::EDProducer< edm::EndProcessBlockProducer, edm::one::WatchLuminosityBlocks, edm::one::WatchRuns, edm::one::SharedResources, edm::Accumulator >, edm::one::EDProducer< edm::EndLuminosityBlockProducer, edm::LuminosityBlockCache< reco::PixelClusterCounts > >, edm::one::EDProducer< edm::BeginRunProducer, edm::one::WatchRuns >, edm::one::EDProducer< edm::one::WatchLuminosityBlocks, edm::one::WatchRuns, edm::EndRunProducer, edm::EndLuminosityBlockProducer, edm::one::SharedResources >, edm::one::EDProducer< edm::EndRunProducer >, and edm::one::EDProducer< edm::one::SharedResources >.

◆ wantsStreamLuminosityBlocks()

bool edm::one::EDProducerBase::wantsStreamLuminosityBlocks ( ) const
inlinenoexcept

Definition at line 72 of file EDProducerBase.h.

72 { return false; };

◆ wantsStreamRuns()

bool edm::one::EDProducerBase::wantsStreamRuns ( ) const
inlinenoexcept

Definition at line 71 of file EDProducerBase.h.

71 { return false; }

◆ workerType()

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

Definition at line 112 of file EDProducerBase.h.

112 { return "WorkerT<EDProducer>"; }

Friends And Related Function Documentation

◆ edm::maker::ModuleHolderT

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

Definition at line 52 of file EDProducerBase.h.

◆ edm::WorkerT

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

Definition at line 54 of file EDProducerBase.h.

Member Data Documentation

◆ moduleDescription_

ModuleDescription edm::one::EDProducerBase::moduleDescription_
private

◆ previousParentage_

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

Definition at line 154 of file EDProducerBase.h.

Referenced by doEvent().

◆ previousParentageId_

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

Definition at line 155 of file EDProducerBase.h.

Referenced by doEvent().

◆ resourcesAcquirer_

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

Definition at line 157 of file EDProducerBase.h.

Referenced by doBeginJob(), doEvent(), and sharedResourcesAcquirer().