CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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::EDProducer *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 49 of file SimProducer.h.

Constructor & Destructor Documentation

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

Definition at line 51 of file SimProducer.h.

51  :
52  ProductInfoBase(iInstanceName) {}
ProductInfoBase(const std::string &iInstanceName)
Definition: SimProducer.h:35

Member Function Documentation

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

Implements simproducer::ProductInfoBase.

Definition at line 54 of file SimProducer.h.

References simproducer::ProductInfoBase::instanceName().

54  {
55  (*iProd). template produces<T>(this->instanceName());
56  }
const std::string & instanceName() const
Definition: SimProducer.h:40