#include <ProducerBase.h>
Public Types | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Member Functions | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
std::vector< edm::ProductResolverIndex > const & | indiciesForPutProducts (BranchType iBranchType) const |
ProducerBase () | |
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, std::unordered_multimap< std::string, edm::ProductResolverIndex > const &iIndicies, std::string const &moduleLabel) |
virtual | ~ProducerBase () noexcept(false) |
Private Member Functions | |
template<typename P > | |
void | commit_ (P &iPrincipal) |
template<typename P , typename L , typename I > | |
void | commit_ (P &iPrincipal, L *iList, I *iID) |
Private Member Functions inherited from edm::ProductRegistryHelper | |
template<class ProductType > | |
TypeLabelItem const & | produces () |
declare what type of product will make and with which optional label More... | |
template<class ProductType > | |
TypeLabelItem const & | produces (std::string const &instanceName) |
template<typename ProductType , BranchType B> | |
TypeLabelItem const & | produces () |
template<typename ProductType , BranchType B> | |
TypeLabelItem const & | produces (std::string const &instanceName) |
template<typename ProductType , Transition B> | |
TypeLabelItem const & | produces () |
template<typename ProductType , Transition B> | |
TypeLabelItem const & | produces (std::string const &instanceName) |
TypeLabelItem const & | produces (const TypeID &id, std::string const &instanceName=std::string()) |
template<BranchType B> | |
TypeLabelItem const & | produces (const TypeID &id, std::string const &instanceName=std::string()) |
template<Transition B> | |
TypeLabelItem const & | produces (const TypeID &id, std::string const &instanceName=std::string()) |
ProductRegistryHelper () | |
TypeLabelList & | typeLabelList () |
used by the fwk to register the list of products of this module More... | |
~ProductRegistryHelper () | |
Private Attributes | |
std::function< void(BranchDescription const &)> | callWhenNewProductsRegistered_ |
std::array< std::vector< edm::ProductResolverIndex >, edm::NumBranchTypes > | putIndicies_ |
Friends | |
class | EDFilter |
class | EDProducer |
class | global::EDFilterBase |
class | global::EDProducerBase |
class | one::EDFilterBase |
class | one::EDProducerBase |
template<typename T > | |
class | stream::ProducingModuleAdaptorBase |
Additional Inherited Members | |
Private Types inherited from edm::ProductRegistryHelper | |
typedef std::list< TypeLabelItem > | TypeLabelList |
Static Private Member Functions inherited from edm::ProductRegistryHelper | |
static void | addToRegistry (TypeLabelList::const_iterator const &iBegin, TypeLabelList::const_iterator const &iEnd, ModuleDescription const &iDesc, ProductRegistry &iReg, bool iIsListener=false) |
Definition at line 55 of file ProducerBase.h.
Definition at line 57 of file ProducerBase.h.
edm::ProducerBase::ProducerBase | ( | ) |
Definition at line 15 of file ProducerBase.cc.
|
virtualnoexcept |
Definition at line 16 of file ProducerBase.cc.
|
inline |
Definition at line 71 of file ProducerBase.h.
References RecoEcal_EventContent_cff::func, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by edm::HadronizerFilter< HAD, DEC >::HadronizerFilter(), pat::PATTriggerEventProducer::PATTriggerEventProducer(), pat::PATTriggerProducer::PATTriggerProducer(), TriggerSummaryProducerAOD::TriggerSummaryProducerAOD(), and TriggerSummaryProducerRAW::TriggerSummaryProducerRAW().
|
inlineprivate |
Definition at line 92 of file ProducerBase.h.
Referenced by edm::EDProducer::doBeginLuminosityBlock(), edm::EDFilter::doBeginLuminosityBlock(), edm::one::EDFilterBase::doBeginLuminosityBlock(), edm::one::EDProducerBase::doBeginLuminosityBlock(), edm::global::EDProducerBase::doBeginLuminosityBlock(), edm::global::EDFilterBase::doBeginLuminosityBlock(), edm::EDProducer::doBeginRun(), edm::EDFilter::doBeginRun(), edm::one::EDFilterBase::doBeginRun(), edm::one::EDProducerBase::doBeginRun(), edm::global::EDProducerBase::doBeginRun(), edm::global::EDFilterBase::doBeginRun(), edm::EDProducer::doEndLuminosityBlock(), edm::EDFilter::doEndLuminosityBlock(), edm::one::EDFilterBase::doEndLuminosityBlock(), edm::one::EDProducerBase::doEndLuminosityBlock(), edm::global::EDFilterBase::doEndLuminosityBlock(), edm::global::EDProducerBase::doEndLuminosityBlock(), edm::EDProducer::doEndRun(), edm::EDFilter::doEndRun(), edm::one::EDFilterBase::doEndRun(), edm::one::EDProducerBase::doEndRun(), edm::global::EDProducerBase::doEndRun(), edm::global::EDFilterBase::doEndRun(), edm::EDProducer::doEvent(), edm::EDFilter::doEvent(), edm::one::EDFilterBase::doEvent(), edm::global::EDFilterBase::doEvent(), edm::one::EDProducerBase::doEvent(), and edm::global::EDProducerBase::doEvent().
|
inlineprivate |
Definition at line 97 of file ProducerBase.h.
|
inline |
Definition at line 79 of file ProducerBase.h.
Referenced by edm::WorkerT< T >::updateLookup().
void edm::ProducerBase::registerProducts | ( | ProducerBase * | producer, |
ProductRegistry * | iReg, | ||
ModuleDescription const & | md | ||
) |
Definition at line 60 of file ProducerBase.cc.
References edm::ProductRegistryHelper::addToRegistry(), edm::ProductRegistry::callForEachBranch(), relativeConstraints::empty, registrationCallback(), and edm::ProductRegistryHelper::typeLabelList().
std::function< void(BranchDescription const &)> edm::ProducerBase::registrationCallback | ( | ) | const |
used by the fwk to register list of products
Definition at line 18 of file ProducerBase.cc.
References edm::ProductRegistryHelper::addToRegistry(), callWhenNewProductsRegistered_, RecoTauPiZeroBuilderPlugins_cfi::function, and edm::ProductRegistryHelper::typeLabelList().
Referenced by registerProducts().
void edm::ProducerBase::resolvePutIndicies | ( | BranchType | iBranchType, |
std::unordered_multimap< std::string, edm::ProductResolverIndex > const & | iIndicies, | ||
std::string const & | moduleLabel | ||
) |
Definition at line 85 of file ProducerBase.cc.
References putIndicies_.
Referenced by edm::WorkerT< T >::updateLookup().
|
friend |
Definition at line 84 of file ProducerBase.h.
|
friend |
Definition at line 83 of file ProducerBase.h.
|
friend |
Definition at line 88 of file ProducerBase.h.
|
friend |
Definition at line 87 of file ProducerBase.h.
|
friend |
Definition at line 86 of file ProducerBase.h.
|
friend |
Definition at line 85 of file ProducerBase.h.
|
friend |
Definition at line 89 of file ProducerBase.h.
|
private |
Definition at line 101 of file ProducerBase.h.
Referenced by registrationCallback().
|
private |
Definition at line 102 of file ProducerBase.h.
Referenced by resolvePutIndicies().