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< 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 =0
 
virtual bool wantsGlobalRuns () const =0
 
virtual bool wantsInputProcessBlocks () const =0
 
virtual bool wantsProcessBlocks () const =0
 
bool wantsStreamLuminosityBlocks () const
 
bool wantsStreamRuns () const
 
 ~EDProducerBase () override
 
- Public Member Functions inherited from edm::ProducerBase
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
std::vector< edm::ProductResolverIndex > const & indiciesForPutProducts (BranchType iBranchType) const
 
 ProducerBase ()
 
std::vector< edm::ProductResolverIndex > const & putTokenIndexToProductResolverIndex () const
 
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
 
ESProxyIndex const * esGetTokenIndices (edm::Transition iTrans) const
 
std::vector< ESProxyIndex > 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
 
bool registeredToConsumeMany (TypeID const &, 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::ESRecordsToProxyIndices 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 const *, ServiceWeakToken const &)
 
virtual void endJob ()
 
virtual bool hasAccumulator () const
 
bool hasAcquire () const
 
void preActionBeforeRunEventAsync (WaitingTaskHolder, ModuleCallingContext const &, Principal const &) const
 
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, 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::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 ProductType , BranchType B = InEvent>
void consumesMany ()
 
void consumesMany (const TypeToGet &id)
 
template<BranchType B>
void consumesMany (const TypeToGet &id)
 
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 219 of file EDProducerBase.cc.

References edm::one::kBaseType().

219 { 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 207 of file EDProducerBase.cc.

Referenced by doRespondToCloseOutputFile().

207 {}

◆ 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 119 of file EDProducerBase.cc.

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

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

◆ doAccessInputProcessBlock_()

void EDProducerBase::doAccessInputProcessBlock_ ( ProcessBlock const &  )
privatevirtual

Definition at line 193 of file EDProducerBase.cc.

Referenced by doAccessInputProcessBlock().

193 {}

◆ doBeginJob()

void EDProducerBase::doBeginJob ( )
private

Definition at line 91 of file EDProducerBase.cc.

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

91  {
93 
94  this->beginJob();
95  }
SharedResourcesAcquirer resourcesAcquirer_
virtual SharedResourcesAcquirer createAcquirer()

◆ doBeginLuminosityBlock()

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

Definition at line 162 of file EDProducerBase.cc.

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

162  {
163  LuminosityBlock lb(info, moduleDescription_, mcc, false);
164  lb.setConsumer(this);
165  LuminosityBlock const& cnstLb = lb;
166  ESParentContext parentC(mcc);
167  const EventSetup c{info,
168  static_cast<unsigned int>(Transition::BeginLuminosityBlock),
170  parentC};
171  this->doBeginLuminosityBlock_(cnstLb, c);
172  lb.setProducer(this);
174  commit_(lb);
175  }
static const TGPicture * info(bool iBackgroundIsBlack)
ESProxyIndex 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 197 of file EDProducerBase.cc.

Referenced by doBeginLuminosityBlock().

197 {}

◆ doBeginLuminosityBlockProduce_()

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

Definition at line 204 of file EDProducerBase.cc.

Referenced by doBeginLuminosityBlock().

204 {}

◆ doBeginProcessBlock()

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

Definition at line 109 of file EDProducerBase.cc.

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

109  {
110  ProcessBlock processBlock(pbp, moduleDescription_, mcc, false);
111  processBlock.setConsumer(this);
112  ProcessBlock const& constProcessBlock = processBlock;
113  this->doBeginProcessBlock_(constProcessBlock);
114  processBlock.setProducer(this);
115  this->doBeginProcessBlockProduce_(processBlock);
116  commit_(processBlock);
117  }
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 192 of file EDProducerBase.cc.

Referenced by doBeginProcessBlock().

192 {}

◆ doBeginProcessBlockProduce_()

void EDProducerBase::doBeginProcessBlockProduce_ ( ProcessBlock )
privatevirtual

Definition at line 200 of file EDProducerBase.cc.

Referenced by doBeginProcessBlock().

200 {}

◆ doBeginRun()

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

Definition at line 136 of file EDProducerBase.cc.

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

136  {
137  Run r(info, moduleDescription_, mcc, false);
138  r.setConsumer(this);
139  Run const& cnstR = r;
140  ESParentContext parentC(mcc);
141  const EventSetup c{
142  info, static_cast<unsigned int>(Transition::BeginRun), esGetTokenIndices(Transition::BeginRun), parentC};
143  this->doBeginRun_(cnstR, c);
144  r.setProducer(this);
145  this->doBeginRunProduce_(r, c);
146  commit_(r);
147  }
static const TGPicture * info(bool iBackgroundIsBlack)
virtual void doBeginRunProduce_(Run &rp, EventSetup const &c)
ESProxyIndex 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 195 of file EDProducerBase.cc.

Referenced by doBeginRun().

195 {}

◆ doBeginRunProduce_()

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

Definition at line 202 of file EDProducerBase.cc.

Referenced by doBeginRun().

202 {}

◆ doEndJob()

void EDProducerBase::doEndJob ( )
private

Definition at line 97 of file EDProducerBase.cc.

References endJob().

97 { this->endJob(); }

◆ doEndLuminosityBlock()

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

Definition at line 177 of file EDProducerBase.cc.

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

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

◆ doEndLuminosityBlock_()

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

Definition at line 198 of file EDProducerBase.cc.

Referenced by doEndLuminosityBlock().

198 {}

◆ doEndLuminosityBlockProduce_()

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

Definition at line 205 of file EDProducerBase.cc.

Referenced by doEndLuminosityBlock().

205 {}

◆ doEndProcessBlock()

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

Definition at line 126 of file EDProducerBase.cc.

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

126  {
127  ProcessBlock processBlock(pbp, moduleDescription_, mcc, true);
128  processBlock.setConsumer(this);
129  ProcessBlock const& constProcessBlock = processBlock;
130  this->doEndProcessBlock_(constProcessBlock);
131  processBlock.setProducer(this);
132  this->doEndProcessBlockProduce_(processBlock);
133  commit_(processBlock);
134  }
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 194 of file EDProducerBase.cc.

Referenced by doEndProcessBlock().

194 {}

◆ doEndProcessBlockProduce_()

void EDProducerBase::doEndProcessBlockProduce_ ( ProcessBlock )
privatevirtual

Definition at line 201 of file EDProducerBase.cc.

Referenced by doEndProcessBlock().

201 {}

◆ doEndRun()

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

Definition at line 149 of file EDProducerBase.cc.

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

149  {
150  Run r(info, moduleDescription_, mcc, true);
151  r.setConsumer(this);
152  Run const& cnstR = r;
153  r.setProducer(this);
154  ESParentContext parentC(mcc);
155  const EventSetup c{
156  info, static_cast<unsigned int>(Transition::EndRun), esGetTokenIndices(Transition::EndRun), parentC};
157  this->doEndRunProduce_(r, c);
158  this->doEndRun_(cnstR, c);
159  commit_(r);
160  }
static const TGPicture * info(bool iBackgroundIsBlack)
virtual void doEndRunProduce_(Run &rp, EventSetup const &c)
ESProxyIndex 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 196 of file EDProducerBase.cc.

Referenced by doEndRun().

196 {}

◆ doEndRunProduce_()

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

Definition at line 203 of file EDProducerBase.cc.

Referenced by doEndRun().

203 {}

◆ doEvent()

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

Definition at line 50 of file EDProducerBase.cc.

References HltBtagPostValidation_cff::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)
ESProxyIndex const * esGetTokenIndices(edm::Transition iTrans) const
ParentageID previousParentageId_
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 99 of file EDProducerBase.cc.

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

99  {
100  auto const nThreads = iPrealloc.numberOfThreads();
101  preallocThreads(nThreads);
102  preallocRuns(iPrealloc.numberOfRuns());
103  preallocLumis(iPrealloc.numberOfLuminosityBlocks());
104  }
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 ,
ModuleCallingContext const *  iMCC,
ServiceWeakToken const &  iToken 
)
private

Definition at line 74 of file EDProducerBase.cc.

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

79  {
80  EventForTransformer ev(iEvent, iMCC);
81  transformAsync_(iTask, iTransformIndex, ev, iToken);
82  }
virtual void transformAsync_(WaitingTaskHolder iTask, std::size_t iIndex, edm::EventForTransformer &iEvent, ServiceWeakToken const &iToken) const
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 209 of file EDProducerBase.cc.

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

209  {
211  desc.setUnknown();
212  descriptions.addDefault(desc);
213  }

◆ 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< 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< 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
inlineprivatevirtual

Definition at line 145 of file EDProducerBase.h.

145 { return false; }

◆ hasAcquire()

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

Definition at line 147 of file EDProducerBase.h.

147 { return false; }

◆ moduleDescription()

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

◆ preActionBeforeRunEventAsync()

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

Definition at line 80 of file EDProducerBase.h.

82  {}

◆ preallocLumis()

void EDProducerBase::preallocLumis ( unsigned  int)
privatevirtual

Definition at line 107 of file EDProducerBase.cc.

Referenced by doPreallocate().

107 {}

◆ preallocRuns()

void EDProducerBase::preallocRuns ( unsigned  int)
privatevirtual

Definition at line 106 of file EDProducerBase.cc.

Referenced by doPreallocate().

106 {}

◆ 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 215 of file EDProducerBase.cc.

References edm::edmodule_mightGet_config().

215 { 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 >, L1FPGATrackProducer, TTStubBuilder< T >, GlobalRecHitsProducer, AlCaHOCalibProducer, LumiProducer, timestudy::OneSleepingProducer, GlobalDigisProducer, MatacqProducer, JetCoreMCtruthSeedGenerator, TTStubBuilder< T >, GlobalHitsProducer, GlobalHitsProdHist, ExpressLumiProducer, LaserAlignment, ExternalLHEProducer, EmbeddingLHEProducer, MEtoEDMConverter, CSCOverlapsTrackPreparation, L1MuGlobalMuonTrigger, Phase1L1TJetProducer, L1GtTriggerMenuLiteProducer, TkLasBeamFitter, L1TowerCalibrator, TTStubBuilder< T >, EDMtoMEConverter, JetIdSelector< T >, ConditionDumperInEdm, SiStripOfflineDQM, l1t::MP7BufferDumpToRaw, CSCTriggerPrimitivesProducer, APVCyclePhaseProducerFromL1ABC, RPCTrigger, AlCaHcalNoiseProducer, MixBoostEvtVtxGenerator, EcalSimpleProducer, MuonSeedTrack, l1t::AMC13DumpToRaw, l1t::AMCDumpToRaw, HLTPrescaleRecorder, RctInputTextToDigi, L1GtTextToRaw, LHE2HepMCConverter, TauSpinnerCMS, GeometryProducer, EcalFEDWithCRCErrorProducer, gen::Pythia6Gun, Phase1L1TJetSumsProducer, SourceCardTextToRctDigi, SiStripFineDelayHit, L1TMuonOverlapTrackProducer, TextToRaw, HTXSRivetProducer, RctTextToRctDigi, EcalFEtoDigi, AlignmentPrescaler, NTuplingDevice, cms::HitReCalibrator, MatchedProbeMaker< T >, L1TMuonOverlapPhase1TrackProducer, GtPsbTextToDigi, AlcaPCCProducer, edm::BeamHaloProducer, DTSpyReader, LaserAlignmentProducer, DTROS25FileReader, MillePedeFileConverter, ECALRegFEDSelector, EventCountProducer, CSCTFPacker, DaqFakeReader, DTDDUFileReader, AlcaBeamSpotFromDB, AlcaBeamSpotProducer, edmtest::AssociationMapProducer, edmtest::MissingDictionaryTestProducer, DTROS8FileReader, EcalSelectiveReadoutProducer, LHECOMWeightProducer, HectorProducer, DTNewROS8FileReader, DTTrackFinder, L1TMuonBarrelTrackProducer, CSCTFTrackProducer, edm::CosMuoGenProducer, edm::RandomXiThetaGunProducer, TrackerHitProducer, edm::FlatRandomPtAndDxyGunProducer, cms::CkfDebugTrackCandidateMaker, StripCompactDigiSimLinksProducer, edmtest::TrackOfThingsProducer, 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::CloseByParticleGunProducer, edm::FileRandomMultiParticlePGunProducer, edm::FlatRandomEThetaGunProducer, edm::FlatRandomMultiParticlePGunProducer, edm::FlatRandomPtThetaGunProducer, edm::GaussRandomPThetaGunProducer, edm::RandomMultiParticlePGunProducer, HcalLaserEventFiltProducer2012, and HepMCCopy.

Referenced by doEvent().

◆ registerProductsAndCallbacks()

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

Definition at line 109 of file EDProducerBase.h.

References callgraph::module, 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 151 of file EDProducerBase.h.

References moduleDescription_.

151 { 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,
ServiceWeakToken const &  iToken 
) const
privatevirtual

Definition at line 86 of file EDProducerBase.cc.

Referenced by doTransformAsync().

89  {}

◆ transformIndex_()

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

Definition at line 84 of file EDProducerBase.cc.

84 { return -1; }

◆ transformPrefetch_()

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

Definition at line 85 of file EDProducerBase.cc.

85 { return 0; }

◆ wantsGlobalLuminosityBlocks()

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

Implemented in edm::one::EDProducer< T >, edm::one::EDProducer< edm::one::WatchRuns, edm::one::WatchLuminosityBlocks, edm::one::SharedResources, edm::EndLuminosityBlockProducer, edm::EndRunProducer >, edm::one::EDProducer< edm::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< 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 virtual

Implemented in edm::one::EDProducer< T >, edm::one::EDProducer< edm::one::WatchRuns, edm::one::WatchLuminosityBlocks, edm::one::SharedResources, edm::EndLuminosityBlockProducer, edm::EndRunProducer >, edm::one::EDProducer< edm::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< 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 virtual

Implemented in edm::one::EDProducer< T >, edm::one::EDProducer< edm::one::WatchRuns, edm::one::WatchLuminosityBlocks, edm::one::SharedResources, edm::EndLuminosityBlockProducer, edm::EndRunProducer >, edm::one::EDProducer< edm::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< 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 virtual

Implemented in edm::one::EDProducer< T >, edm::one::EDProducer< edm::one::WatchRuns, edm::one::WatchLuminosityBlocks, edm::one::SharedResources, edm::EndLuminosityBlockProducer, edm::EndRunProducer >, edm::one::EDProducer< edm::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< 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
inline

Definition at line 72 of file EDProducerBase.h.

72 { return false; };

◆ wantsStreamRuns()

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

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 153 of file EDProducerBase.h.

Referenced by doEvent().

◆ previousParentageId_

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

Definition at line 154 of file EDProducerBase.h.

Referenced by doEvent().

◆ resourcesAcquirer_

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

Definition at line 156 of file EDProducerBase.h.

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