CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Private Member Functions
edm::stream::EDProducer< T > Class Template Reference

#include "FWCore/Framework/interface/stream/EDProducer.h"

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

Public Types

typedef CacheContexts< T... > CacheTypes
 
typedef CacheTypes::GlobalCache GlobalCache
 
typedef AbilityChecker< T... > HasAbility
 
typedef CacheTypes::LuminosityBlockCache LuminosityBlockCache
 
typedef LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCacheLuminosityBlockContext
 
typedef CacheTypes::LuminosityBlockSummaryCache LuminosityBlockSummaryCache
 
typedef CacheTypes::RunCache RunCache
 
typedef RunContextT< RunCache, GlobalCacheRunContext
 
typedef CacheTypes::RunSummaryCache RunSummaryCache
 
- Public Types inherited from edm::stream::EDProducerBase
typedef EDProducerAdaptorBase ModuleType
 
- Public Types inherited from edm::ProducerBase
using ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex >>
 
typedef ProductRegistryHelper::TypeLabelList TypeLabelList
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 

Public Member Functions

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

Private Member Functions

void doAcquire_ (Event const &ev, EventSetup const &es, WaitingTaskWithArenaHolder &holder) override final
 
 EDProducer (const EDProducer &)=delete
 
const EDProduceroperator= (const EDProducer &)=delete
 

Additional Inherited Members

- Static Public Member Functions inherited from edm::stream::EDProducerBase
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &descriptions)
 
- Protected Member Functions inherited from edm::EDConsumerBase
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
EDGetToken consumes (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken consumes (TypeToGet const &id, edm::InputTag const &tag)
 
ConsumesCollector consumesCollector ()
 Use a ConsumesCollector to gather consumes information from helper functions. More...
 
template<typename ProductType , BranchType B = InEvent>
void consumesMany ()
 
void consumesMany (const TypeToGet &id)
 
template<BranchType B>
void consumesMany (const TypeToGet &id)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > mayConsume (edm::InputTag const &tag)
 
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 

Detailed Description

template<typename... T>
class edm::stream::EDProducer< T >

Description: Base class for stream based EDProducers

Usage: <usage>

Definition at line 38 of file EDProducer.h.

Member Typedef Documentation

template<typename... T>
typedef CacheContexts<T...> edm::stream::EDProducer< T >::CacheTypes

Definition at line 43 of file EDProducer.h.

template<typename... T>
typedef CacheTypes::GlobalCache edm::stream::EDProducer< T >::GlobalCache

Definition at line 45 of file EDProducer.h.

template<typename... T>
typedef AbilityChecker<T...> edm::stream::EDProducer< T >::HasAbility

Definition at line 55 of file EDProducer.h.

template<typename... T>
typedef CacheTypes::LuminosityBlockCache edm::stream::EDProducer< T >::LuminosityBlockCache

Definition at line 47 of file EDProducer.h.

Definition at line 51 of file EDProducer.h.

template<typename... T>
typedef CacheTypes::LuminosityBlockSummaryCache edm::stream::EDProducer< T >::LuminosityBlockSummaryCache

Definition at line 53 of file EDProducer.h.

template<typename... T>
typedef CacheTypes::RunCache edm::stream::EDProducer< T >::RunCache

Definition at line 46 of file EDProducer.h.

template<typename... T>
typedef RunContextT<RunCache,GlobalCache> edm::stream::EDProducer< T >::RunContext

Definition at line 48 of file EDProducer.h.

template<typename... T>
typedef CacheTypes::RunSummaryCache edm::stream::EDProducer< T >::RunSummaryCache

Definition at line 52 of file EDProducer.h.

Constructor & Destructor Documentation

template<typename... T>
edm::stream::EDProducer< T >::EDProducer ( )
default
template<typename... T>
edm::stream::EDProducer< T >::EDProducer ( const EDProducer< T > &  )
privatedelete

Member Function Documentation

template<typename... T>
void edm::stream::EDProducer< T >::doAcquire_ ( Event const &  ev,
EventSetup const &  es,
WaitingTaskWithArenaHolder holder 
)
inlinefinaloverrideprivatevirtual

Implements edm::stream::EDProducerBase.

Definition at line 72 of file EDProducer.h.

74  {
75  doAcquireIfNeeded(this, ev, es, holder);
76  }
bool ev
void doAcquireIfNeeded(impl::ExternalWork *, Event const &, EventSetup const &, WaitingTaskWithArenaHolder &)
template<typename... T>
const EDProducer& edm::stream::EDProducer< T >::operator= ( const EDProducer< T > &  )
privatedelete