CMS 3D CMS Logo

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

#include <ConsumesCollector.h>

Public Member Functions

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

Private Member Functions

 ConsumesCollectorAdaptor (ConsumesCollector iBase, edm::InputTag iTag)
 

Private Attributes

ConsumesCollector m_consumer
 
edm::InputTag const m_tag
 

Friends

class ConsumesCollector
 

Detailed Description

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

Definition at line 43 of file ConsumesCollector.h.

Constructor & Destructor Documentation

◆ ConsumesCollectorAdaptor()

template<BranchType B>
edm::ConsumesCollectorAdaptor< B >::ConsumesCollectorAdaptor ( ConsumesCollector  iBase,
edm::InputTag  iTag 
)
inlineprivate

Definition at line 167 of file ConsumesCollector.h.

167 : m_consumer(iBase), m_tag(std::move(iTag)) {}
def move(src, dest)
Definition: eostools.py:511

Member Function Documentation

◆ consumes()

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

Definition at line 159 of file ConsumesCollector.h.

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

159  {
160  return m_consumer.template consumes<TYPE, B>(m_tag);
161  }

Friends And Related Function Documentation

◆ ConsumesCollector

template<BranchType B>
friend class ConsumesCollector
friend

Definition at line 165 of file ConsumesCollector.h.

Member Data Documentation

◆ m_consumer

template<BranchType B>
ConsumesCollector edm::ConsumesCollectorAdaptor< B >::m_consumer
private

Definition at line 169 of file ConsumesCollector.h.

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

◆ m_tag

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

Definition at line 170 of file ConsumesCollector.h.

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