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 179 of file ConsumesCollector.h.

179 : 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 171 of file ConsumesCollector.h.

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

171  {
172  return m_consumer.template consumes<TYPE, B>(m_tag);
173  }

Friends And Related Function Documentation

◆ ConsumesCollector

template<BranchType B>
friend class ConsumesCollector
friend

Definition at line 177 of file ConsumesCollector.h.

Member Data Documentation

◆ m_consumer

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

Definition at line 181 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 182 of file ConsumesCollector.h.

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