CMS 3D CMS Logo

Public Member Functions | Private Member Functions | Private Attributes | Friends

edm::ConsumesCollector Class Reference

#include <FWCore/Framework/interface/ConsumesCollector.h>

List of all members.

Public Member Functions

template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
template<BranchType B>
EDGetToken consumes (TypeToGet const &id, edm::InputTag const &tag)
EDGetToken consumes (const TypeToGet &id, edm::InputTag const &tag)
 ConsumesCollector (ConsumesCollector &&iOther)
template<typename ProductType , BranchType B = InEvent>
void consumesMany ()
template<BranchType B>
void consumesMany (const TypeToGet &id)
void consumesMany (const TypeToGet &id)
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > mayConsume (edm::InputTag const &tag)
template<BranchType B>
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)

Private Member Functions

 ConsumesCollector (EDConsumerBase *iConsumer)
 ConsumesCollector ()
 ConsumesCollector (const ConsumesCollector &)
const ConsumesCollectoroperator= (const ConsumesCollector &)

Private Attributes

EDConsumerBasem_consumer

Friends

class EDConsumerBase

Detailed Description

Description: Helper class to gather consumes information for EDConsumerBase class.

Usage: The constructor of a module can get an instance of edm::ConsumesCollector by calling its consumesCollector() method. This instance can then be passed to helper classes in order to register the data the helper will request from an Event, LuminosityBlock or Run on behalf of the module.

Definition at line 32 of file ConsumesCollector.h.


Constructor & Destructor Documentation

edm::ConsumesCollector::ConsumesCollector ( ConsumesCollector &&  iOther) [inline]

Definition at line 37 of file ConsumesCollector.h.

: m_consumer(iOther.m_consumer){}
edm::ConsumesCollector::ConsumesCollector ( EDConsumerBase iConsumer) [inline, private]

Definition at line 89 of file ConsumesCollector.h.

                                                :
    m_consumer(iConsumer) {}
edm::ConsumesCollector::ConsumesCollector ( ) [private]
edm::ConsumesCollector::ConsumesCollector ( const ConsumesCollector ) [private]

Member Function Documentation

template<typename ProductType , BranchType B = InEvent>
EDGetTokenT<ProductType> edm::ConsumesCollector::consumes ( edm::InputTag const &  tag) [inline]

Definition at line 41 of file ConsumesCollector.h.

References edm::EDConsumerBase::consumes(), m_consumer, and GlobalPosition_Frontier_DevDB_cff::tag.

                                                              {
      return m_consumer->consumes<ProductType,B>(tag);
    }
EDGetToken edm::ConsumesCollector::consumes ( const TypeToGet id,
edm::InputTag const &  tag 
) [inline]

Definition at line 45 of file ConsumesCollector.h.

References edm::EDConsumerBase::consumes(), and m_consumer.

                                                                     {
      return m_consumer->consumes(id,tag);
    }
template<BranchType B>
EDGetToken edm::ConsumesCollector::consumes ( TypeToGet const &  id,
edm::InputTag const &  tag 
) [inline]

Definition at line 50 of file ConsumesCollector.h.

References edm::EDConsumerBase::consumes(), m_consumer, and GlobalPosition_Frontier_DevDB_cff::tag.

                                                                     {
      return m_consumer->consumes<B>(id,tag);
    }
void edm::ConsumesCollector::consumesMany ( const TypeToGet id) [inline]

Definition at line 75 of file ConsumesCollector.h.

References edm::EDConsumerBase::consumesMany(), and m_consumer.

                                           {
      m_consumer->consumesMany(id);
    }
template<BranchType B>
void edm::ConsumesCollector::consumesMany ( const TypeToGet id) [inline]

Definition at line 80 of file ConsumesCollector.h.

References edm::EDConsumerBase::consumesMany(), and m_consumer.

                                           {
      m_consumer->consumesMany<B>(id);
    }
template<typename ProductType , BranchType B = InEvent>
void edm::ConsumesCollector::consumesMany ( ) [inline]

Definition at line 70 of file ConsumesCollector.h.

References edm::EDConsumerBase::consumesMany(), and m_consumer.

                        {
      m_consumer->consumesMany<ProductType,B>();
    }
EDGetToken edm::ConsumesCollector::mayConsume ( const TypeToGet id,
edm::InputTag const &  tag 
) [inline]

Definition at line 60 of file ConsumesCollector.h.

References m_consumer, and edm::EDConsumerBase::mayConsume().

                                                                       {
      return m_consumer->mayConsume(id,tag);
    }
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT<ProductType> edm::ConsumesCollector::mayConsume ( edm::InputTag const &  tag) [inline]

Definition at line 55 of file ConsumesCollector.h.

References m_consumer, edm::EDConsumerBase::mayConsume(), and GlobalPosition_Frontier_DevDB_cff::tag.

                                                                {
      return m_consumer->mayConsume<ProductType,B>(tag);
    }
template<BranchType B>
EDGetToken edm::ConsumesCollector::mayConsume ( const TypeToGet id,
edm::InputTag const &  tag 
) [inline]

Definition at line 65 of file ConsumesCollector.h.

References m_consumer, edm::EDConsumerBase::mayConsume(), and GlobalPosition_Frontier_DevDB_cff::tag.

                                                                       {
      return m_consumer->mayConsume<B>(id,tag);
    }
const ConsumesCollector& edm::ConsumesCollector::operator= ( const ConsumesCollector ) [private]

Friends And Related Function Documentation

friend class EDConsumerBase [friend]

Definition at line 87 of file ConsumesCollector.h.


Member Data Documentation

Definition at line 98 of file ConsumesCollector.h.

Referenced by consumes(), consumesMany(), and mayConsume().