CMS 3D CMS Logo

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

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

Inheritance diagram for edm::stream::EDAnalyzer< T >:
edm::stream::EDAnalyzerBase edm::EDConsumerBase gen::DataCardFileWriter

Public Types

using CacheTypes = CacheContexts< T... >
 
using GlobalCache = typename CacheTypes::GlobalCache
 
using HasAbility = AbilityChecker< T... >
 
using InputProcessBlockCache = typename CacheTypes::InputProcessBlockCache
 
using LuminosityBlockCache = typename CacheTypes::LuminosityBlockCache
 
using LuminosityBlockContext = LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache >
 
using LuminosityBlockSummaryCache = typename CacheTypes::LuminosityBlockSummaryCache
 
using RunCache = typename CacheTypes::RunCache
 
using RunContext = RunContextT< RunCache, GlobalCache >
 
using RunSummaryCache = typename CacheTypes::RunSummaryCache
 
- Public Types inherited from edm::stream::EDAnalyzerBase
typedef EDAnalyzerAdaptorBase ModuleType
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 

Public Member Functions

void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
 EDAnalyzer ()=default
 
 EDAnalyzer (const EDAnalyzer &)=delete
 
const EDAnalyzeroperator= (const EDAnalyzer &)=delete
 
- Public Member Functions inherited from edm::stream::EDAnalyzerBase
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
 EDAnalyzerBase ()
 
 EDAnalyzerBase (const EDAnalyzerBase &)=delete
 
ModuleDescription const & moduleDescription () const
 
const EDAnalyzerBaseoperator= (const EDAnalyzerBase &)=delete
 
 ~EDAnalyzerBase () 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)
 

Additional Inherited Members

- Static Public Member Functions inherited from edm::stream::EDAnalyzerBase
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)
 
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

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

Description: Base class for stream based EDAnalyzers

Usage: <usage>

Definition at line 31 of file EDAnalyzer.h.

Member Typedef Documentation

◆ CacheTypes

template<typename... T>
using edm::stream::EDAnalyzer< T >::CacheTypes = CacheContexts<T...>

Definition at line 33 of file EDAnalyzer.h.

◆ GlobalCache

template<typename... T>
using edm::stream::EDAnalyzer< T >::GlobalCache = typename CacheTypes::GlobalCache

Definition at line 35 of file EDAnalyzer.h.

◆ HasAbility

template<typename... T>
using edm::stream::EDAnalyzer< T >::HasAbility = AbilityChecker<T...>

Definition at line 44 of file EDAnalyzer.h.

◆ InputProcessBlockCache

template<typename... T>
using edm::stream::EDAnalyzer< T >::InputProcessBlockCache = typename CacheTypes::InputProcessBlockCache

Definition at line 36 of file EDAnalyzer.h.

◆ LuminosityBlockCache

template<typename... T>
using edm::stream::EDAnalyzer< T >::LuminosityBlockCache = typename CacheTypes::LuminosityBlockCache

Definition at line 38 of file EDAnalyzer.h.

◆ LuminosityBlockContext

Definition at line 40 of file EDAnalyzer.h.

◆ LuminosityBlockSummaryCache

template<typename... T>
using edm::stream::EDAnalyzer< T >::LuminosityBlockSummaryCache = typename CacheTypes::LuminosityBlockSummaryCache

Definition at line 42 of file EDAnalyzer.h.

◆ RunCache

template<typename... T>
using edm::stream::EDAnalyzer< T >::RunCache = typename CacheTypes::RunCache

Definition at line 37 of file EDAnalyzer.h.

◆ RunContext

template<typename... T>
using edm::stream::EDAnalyzer< T >::RunContext = RunContextT<RunCache, GlobalCache>

Definition at line 39 of file EDAnalyzer.h.

◆ RunSummaryCache

template<typename... T>
using edm::stream::EDAnalyzer< T >::RunSummaryCache = typename CacheTypes::RunSummaryCache

Definition at line 41 of file EDAnalyzer.h.

Constructor & Destructor Documentation

◆ EDAnalyzer() [1/2]

template<typename... T>
edm::stream::EDAnalyzer< T >::EDAnalyzer ( )
default

◆ EDAnalyzer() [2/2]

template<typename... T>
edm::stream::EDAnalyzer< T >::EDAnalyzer ( const EDAnalyzer< T > &  )
delete

Member Function Documentation

◆ callWhenNewProductsRegistered()

template<typename... T>
void EDAnalyzerBase::callWhenNewProductsRegistered

Definition at line 61 of file EDAnalyzerBase.cc.

61  {
63 }
std::function< void(BranchDescription const &)> callWhenNewProductsRegistered_

◆ operator=()

template<typename... T>
const EDAnalyzer& edm::stream::EDAnalyzer< T >::operator= ( const EDAnalyzer< T > &  )
delete