CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions | Private Attributes | Friends
edm::EDConsumerBaseAdaptor< B > Class Template Reference

#include <EDConsumerBase.h>

Public Member Functions

template<typename TYPE >
EDGetTokenT< TYPE > consumes ()
 

Private Member Functions

 EDConsumerBaseAdaptor (EDConsumerBase *iBase, edm::InputTag iTag) noexcept
 

Private Attributes

EDConsumerBasem_consumer
 
edm::InputTag const m_tag
 

Friends

class EDConsumerBase
 

Detailed Description

template<BranchType B>
class edm::EDConsumerBaseAdaptor< B >

Definition at line 65 of file EDConsumerBase.h.

Constructor & Destructor Documentation

◆ EDConsumerBaseAdaptor()

template<BranchType B>
edm::EDConsumerBaseAdaptor< B >::EDConsumerBaseAdaptor ( EDConsumerBase iBase,
edm::InputTag  iTag 
)
inlineprivatenoexcept

Definition at line 355 of file EDConsumerBase.h.

356  : m_consumer(iBase), m_tag(std::move(iTag)) {}
edm::InputTag const m_tag
EDConsumerBase * m_consumer
def move(src, dest)
Definition: eostools.py:511

Member Function Documentation

◆ consumes()

template<BranchType B>
template<typename TYPE >
EDGetTokenT<TYPE> edm::EDConsumerBaseAdaptor< B >::consumes ( )
inline

Definition at line 348 of file EDConsumerBase.h.

References edm::EDConsumerBaseAdaptor< B >::m_consumer, and edm::EDConsumerBaseAdaptor< B >::m_tag.

348  {
349  return m_consumer->template consumes<TYPE, B>(m_tag);
350  }
edm::InputTag const m_tag
EDConsumerBase * m_consumer

Friends And Related Function Documentation

◆ EDConsumerBase

template<BranchType B>
friend class EDConsumerBase
friend

Definition at line 354 of file EDConsumerBase.h.

Member Data Documentation

◆ m_consumer

template<BranchType B>
EDConsumerBase* edm::EDConsumerBaseAdaptor< B >::m_consumer
private

Definition at line 358 of file EDConsumerBase.h.

Referenced by edm::EDConsumerBaseAdaptor< B >::consumes().

◆ m_tag

template<BranchType B>
edm::InputTag const edm::EDConsumerBaseAdaptor< B >::m_tag
private

Definition at line 359 of file EDConsumerBase.h.

Referenced by edm::EDConsumerBaseAdaptor< B >::consumes().