CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes
popcon::PopConAnalyzer< S > Class Template Reference

#include <PopConAnalyzer.h>

Inheritance diagram for popcon::PopConAnalyzer< S >:
edm::EDAnalyzer edm::EDConsumerBase

Public Types

typedef S SourceHandler
 
- Public Types inherited from edm::EDAnalyzer
typedef EDAnalyzer ModuleType
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 

Public Member Functions

 PopConAnalyzer (const edm::ParameterSet &pset)
 
 ~PopConAnalyzer () override
 
- Public Member Functions inherited from edm::EDAnalyzer
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
 EDAnalyzer ()
 
SerialTaskQueueglobalLuminosityBlocksQueue ()
 
SerialTaskQueueglobalRunsQueue ()
 
ModuleDescription const & moduleDescription () const
 
std::string workerType () const
 
 ~EDAnalyzer () 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 &&)=default
 
 EDConsumerBase (EDConsumerBase const &)=delete
 
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::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const
 
EDConsumerBaseoperator= (EDConsumerBase &&)=default
 
EDConsumerBase const & operator= (EDConsumerBase const &)=delete
 
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)
 

Protected Member Functions

SourceHandlersource ()
 
- Protected Member Functions inherited from edm::EDConsumerBase
EDGetToken consumes (const TypeToGet &id, edm::InputTag const &tag)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
template<BranchType B = InEvent>
EDConsumerBaseAdaptor< B > consumes (edm::InputTag tag) noexcept
 
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<Transition Tr = Transition::Event>
constexpr auto esConsumes () noexcept
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes (ESInputTag const &tag)
 
template<Transition Tr = Transition::Event>
auto esConsumes (ESInputTag tag) noexcept
 
template<Transition Tr = Transition::Event>
ESGetTokenGeneric esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey)
 Used with EventSetupRecord::doGet. More...
 
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > mayConsume (edm::InputTag const &tag)
 

Private Member Functions

void analyze (const edm::Event &, const edm::EventSetup &) override
 
void beginJob () override
 
void endJob () override
 
void write ()
 

Private Attributes

PopCon m_populator
 
SourceHandler m_source
 

Additional Inherited Members

- Static Public Member Functions inherited from edm::EDAnalyzer
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &)
 
static bool wantsGlobalLuminosityBlocks ()
 
static bool wantsGlobalRuns ()
 
static bool wantsInputProcessBlocks ()
 
static bool wantsProcessBlocks ()
 
static bool wantsStreamLuminosityBlocks ()
 
static bool wantsStreamRuns ()
 

Detailed Description

template<typename S>
class popcon::PopConAnalyzer< S >

Definition at line 17 of file PopConAnalyzer.h.

Member Typedef Documentation

◆ SourceHandler

template<typename S>
typedef S popcon::PopConAnalyzer< S >::SourceHandler

Definition at line 19 of file PopConAnalyzer.h.

Constructor & Destructor Documentation

◆ PopConAnalyzer()

template<typename S>
popcon::PopConAnalyzer< S >::PopConAnalyzer ( const edm::ParameterSet pset)
inline

Definition at line 21 of file PopConAnalyzer.h.

22  : m_populator(pset), m_source(pset.getParameter<edm::ParameterSet>("Source")) {}

◆ ~PopConAnalyzer()

template<typename S>
popcon::PopConAnalyzer< S >::~PopConAnalyzer ( )
inlineoverride

Definition at line 24 of file PopConAnalyzer.h.

24 {}

Member Function Documentation

◆ analyze()

template<typename S>
void popcon::PopConAnalyzer< S >::analyze ( const edm::Event ,
const edm::EventSetup  
)
inlineoverrideprivatevirtual

Implements edm::EDAnalyzer.

Definition at line 33 of file PopConAnalyzer.h.

33 {}

◆ beginJob()

template<typename S>
void popcon::PopConAnalyzer< S >::beginJob ( void  )
inlineoverrideprivatevirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 30 of file PopConAnalyzer.h.

30 {}

◆ endJob()

template<typename S>
void popcon::PopConAnalyzer< S >::endJob ( void  )
inlineoverrideprivatevirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 31 of file PopConAnalyzer.h.

31 { write(); }

Referenced by o2olib.O2ORunMgr::executeJob().

◆ source()

template<typename S>
SourceHandler& popcon::PopConAnalyzer< S >::source ( )
inlineprotected

Definition at line 27 of file PopConAnalyzer.h.

27 { return m_source; }

◆ write()

template<typename S>
void popcon::PopConAnalyzer< S >::write ( )
inlineprivate

Member Data Documentation

◆ m_populator

template<typename S>
PopCon popcon::PopConAnalyzer< S >::m_populator
private

◆ m_source

template<typename S>
SourceHandler popcon::PopConAnalyzer< S >::m_source
private
edm::ParameterSet
Definition: ParameterSet.h:47
popcon::PopCon::write
void write(Source const &source)
Definition: PopCon.h:107
popcon::PopConAnalyzer::m_populator
PopCon m_populator
Definition: PopConAnalyzer.h:38
popcon::PopConAnalyzer::write
void write()
Definition: PopConAnalyzer.h:35
popcon::PopConAnalyzer::m_source
SourceHandler m_source
Definition: PopConAnalyzer.h:39
muonDTDigis_cfi.pset
pset
Definition: muonDTDigis_cfi.py:27