CMS 3D CMS Logo

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

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

Inheritance diagram for edm::stream::EDFilter< T >:
edm::stream::EDFilterBase edm::ProducerBase edm::EDConsumerBase edm::ProductRegistryHelper

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::EDFilterBase
typedef EDFilterAdaptorBase 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

 EDFilter ()=default
 
bool hasAbilityToProduceInLumis () const final
 
bool hasAbilityToProduceInRuns () const final
 
- Public Member Functions inherited from edm::stream::EDFilterBase
 EDFilterBase ()
 
ModuleDescription const & moduleDescription () const
 
 ~EDFilterBase () 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)
 
 ~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
 
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)
 
void updateLookup (eventsetup::ESRecordsToProxyIndices const &)
 
virtual ~EDConsumerBase () noexcept(false)
 

Private Member Functions

void doAcquire_ (Event const &ev, EventSetup const &es, WaitingTaskWithArenaHolder &holder) final
 
 EDFilter (const EDFilter &)=delete
 
const EDFilteroperator= (const EDFilter &)=delete
 

Additional Inherited Members

- Static Public Member Functions inherited from edm::stream::EDFilterBase
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 ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes ()
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes (ESInputTag const &tag)
 
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::EDFilter< T >

Description: Base class for stream based EDFilters

Usage: <usage>

Definition at line 38 of file EDFilter.h.

Member Typedef Documentation

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

Definition at line 40 of file EDFilter.h.

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

Definition at line 42 of file EDFilter.h.

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

Definition at line 50 of file EDFilter.h.

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

Definition at line 44 of file EDFilter.h.

Definition at line 46 of file EDFilter.h.

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

Definition at line 48 of file EDFilter.h.

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

Definition at line 43 of file EDFilter.h.

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

Definition at line 45 of file EDFilter.h.

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

Definition at line 47 of file EDFilter.h.

Constructor & Destructor Documentation

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

Member Function Documentation

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

Implements edm::stream::EDFilterBase.

Definition at line 70 of file EDFilter.h.

70  {
71  doAcquireIfNeeded(this, ev, es, holder);
72  }
bool ev
void doAcquireIfNeeded(impl::ExternalWork *, Event const &, EventSetup const &, WaitingTaskWithArenaHolder &)
template<typename... T>
bool edm::stream::EDFilter< T >::hasAbilityToProduceInLumis ( ) const
inlinefinalvirtual

Reimplemented from edm::ProductRegistryHelper.

Definition at line 63 of file EDFilter.h.

63 { return HasAbilityToProduceInLumis<T...>::value; }
long double T
template<typename... T>
bool edm::stream::EDFilter< T >::hasAbilityToProduceInRuns ( ) const
inlinefinalvirtual

Reimplemented from edm::ProductRegistryHelper.

Definition at line 61 of file EDFilter.h.

61 { return HasAbilityToProduceInRuns<T...>::value; }
long double T
template<typename... T>
const EDFilter& edm::stream::EDFilter< T >::operator= ( const EDFilter< T > &  )
privatedelete