CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
edm::one::EDAnalyzer< T > Class Template Reference

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

Inheritance diagram for edm::one::EDAnalyzer< T >:
edm::one::EDAnalyzerBase edm::EDConsumerBase BPHAnalyzerWrapper< BPHModuleWrapper::one_analyzer > BPHHistoSpecificDecay

Public Member Functions

 EDAnalyzer ()=default
 
 EDAnalyzer (const EDAnalyzer &)=delete
 
SerialTaskQueueglobalLuminosityBlocksQueue () final
 
SerialTaskQueueglobalRunsQueue () final
 
const EDAnalyzeroperator= (const EDAnalyzer &)=delete
 
bool wantsGlobalLuminosityBlocks () const noexcept final
 
bool wantsGlobalRuns () const noexcept final
 
bool wantsInputProcessBlocks () const noexcept final
 
bool wantsProcessBlocks () const noexcept final
 
- Public Member Functions inherited from edm::one::EDAnalyzerBase
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
 EDAnalyzerBase ()
 
ModuleDescription const & moduleDescription () const
 
bool wantsStreamLuminosityBlocks () const noexcept
 
bool wantsStreamRuns () const noexcept
 
 ~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
 
ESResolverIndex const * esGetTokenIndices (edm::Transition iTrans) const
 
std::vector< ESResolverIndex > 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
 
void selectInputProcessBlocks (ProductRegistry const &productRegistry, ProcessBlockHelperBase const &processBlockHelperBase)
 
ProductResolverIndexAndSkipBit uncheckedIndexFrom (EDGetToken) const
 
void updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet)
 
void updateLookup (eventsetup::ESRecordsToProductResolverIndices const &)
 
virtual ~EDConsumerBase () noexcept(false)
 

Private Attributes

impl::OptionalSerialTaskQueueHolder< WantsSerialGlobalLuminosityBlockTransitions< T... >::value > globalLuminosityBlocksQueue_
 
impl::OptionalSerialTaskQueueHolder< WantsSerialGlobalRunTransitions< T... >::value > globalRunsQueue_
 

Additional Inherited Members

- Public Types inherited from edm::one::EDAnalyzerBase
typedef EDAnalyzerBase ModuleType
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 
- Static Public Member Functions inherited from edm::one::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 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::one::EDAnalyzer< T >

Description: [one line class summary]

Usage: <usage>

Definition at line 30 of file EDAnalyzer.h.

Constructor & Destructor Documentation

◆ EDAnalyzer() [1/2]

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

◆ EDAnalyzer() [2/2]

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

Member Function Documentation

◆ globalLuminosityBlocksQueue()

template<typename... T>
SerialTaskQueue* edm::one::EDAnalyzer< T >::globalLuminosityBlocksQueue ( )
inlinefinalvirtual

Reimplemented from edm::one::EDAnalyzerBase.

Definition at line 59 of file EDAnalyzer.h.

59 { return globalLuminosityBlocksQueue_.queue(); }
impl::OptionalSerialTaskQueueHolder< WantsSerialGlobalLuminosityBlockTransitions< T... >::value > globalLuminosityBlocksQueue_
Definition: EDAnalyzer.h:65

◆ globalRunsQueue()

template<typename... T>
SerialTaskQueue* edm::one::EDAnalyzer< T >::globalRunsQueue ( )
inlinefinalvirtual

Reimplemented from edm::one::EDAnalyzerBase.

Definition at line 58 of file EDAnalyzer.h.

58 { return globalRunsQueue_.queue(); }
impl::OptionalSerialTaskQueueHolder< WantsSerialGlobalRunTransitions< T... >::value > globalRunsQueue_
Definition: EDAnalyzer.h:63

◆ operator=()

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

◆ wantsGlobalLuminosityBlocks()

template<typename... T>
bool edm::one::EDAnalyzer< T >::wantsGlobalLuminosityBlocks ( ) const
inlinefinalvirtualnoexcept

Implements edm::one::EDAnalyzerBase.

Definition at line 51 of file EDAnalyzer.h.

51  {
52  return WantsGlobalLuminosityBlockTransitions<T...>::value;
53  }
long double T

◆ wantsGlobalRuns()

template<typename... T>
bool edm::one::EDAnalyzer< T >::wantsGlobalRuns ( ) const
inlinefinalvirtualnoexcept

Implements edm::one::EDAnalyzerBase.

Definition at line 50 of file EDAnalyzer.h.

50 { return WantsGlobalRunTransitions<T...>::value; }
long double T

◆ wantsInputProcessBlocks()

template<typename... T>
bool edm::one::EDAnalyzer< T >::wantsInputProcessBlocks ( ) const
inlinefinalvirtualnoexcept

Implements edm::one::EDAnalyzerBase.

Definition at line 49 of file EDAnalyzer.h.

49 { return WantsInputProcessBlockTransitions<T...>::value; }
long double T

◆ wantsProcessBlocks()

template<typename... T>
bool edm::one::EDAnalyzer< T >::wantsProcessBlocks ( ) const
inlinefinalvirtualnoexcept

Implements edm::one::EDAnalyzerBase.

Definition at line 48 of file EDAnalyzer.h.

48 { return WantsProcessBlockTransitions<T...>::value; }
long double T

Member Data Documentation

◆ globalLuminosityBlocksQueue_

template<typename... T>
impl::OptionalSerialTaskQueueHolder<WantsSerialGlobalLuminosityBlockTransitions<T...>::value> edm::one::EDAnalyzer< T >::globalLuminosityBlocksQueue_
private

◆ globalRunsQueue_

template<typename... T>
impl::OptionalSerialTaskQueueHolder<WantsSerialGlobalRunTransitions<T...>::value> edm::one::EDAnalyzer< T >::globalRunsQueue_
private