CMS 3D CMS Logo

List of all members | Public Member Functions
simproducer::ProductInfo< T > Class Template Reference

#include <SimProducer.h>

Inheritance diagram for simproducer::ProductInfo< T >:
simproducer::ProductInfoBase

Public Member Functions

 ProductInfo (const std::string &iInstanceName)
 
void registerProduct (edm::ProducerBase *iProd) const
 
- Public Member Functions inherited from simproducer::ProductInfoBase
const std::string & instanceName () const
 
 ProductInfoBase (const std::string &iInstanceName)
 
virtual ~ProductInfoBase ()
 

Detailed Description

template<class T>
class simproducer::ProductInfo< T >

Definition at line 55 of file SimProducer.h.

Constructor & Destructor Documentation

template<class T >
simproducer::ProductInfo< T >::ProductInfo ( const std::string &  iInstanceName)
inline

Definition at line 57 of file SimProducer.h.

57  :
58  ProductInfoBase(iInstanceName) {}
ProductInfoBase(const std::string &iInstanceName)
Definition: SimProducer.h:41

Member Function Documentation

template<class T >
void simproducer::ProductInfo< T >::registerProduct ( edm::ProducerBase iProd) const
inlinevirtual

Implements simproducer::ProductInfoBase.

Definition at line 60 of file SimProducer.h.

References MuonErrorMatrixAdjuster_cfi::instanceName.

60  {
61  (*iProd). template produces<T>(this->instanceName());
62  }
const std::string & instanceName() const
Definition: SimProducer.h:46