CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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::ProducesCollector producesCollector) const override
 
- 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 54 of file SimProducer.h.

Constructor & Destructor Documentation

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

Definition at line 56 of file SimProducer.h.

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

Member Function Documentation

template<class T >
void simproducer::ProductInfo< T >::registerProduct ( edm::ProducesCollector  producesCollector) const
inlineoverridevirtual

Implements simproducer::ProductInfoBase.

Definition at line 58 of file SimProducer.h.

References simproducer::ProductInfoBase::instanceName(), and edm::ProducesCollector::produces().

58  {
59  producesCollector.produces<T>(this->instanceName());
60  }
ProductRegistryHelper::BranchAliasSetterT< ProductType > produces()
const std::string & instanceName() const
Definition: SimProducer.h:45
long double T