Go to the documentation of this file. 1 #ifndef Watcher_SimProducer_h
2 #define Watcher_SimProducer_h
77 std::for_each(
m_info.begin(),
79 [&producesCollector](std::shared_ptr<simproducer::ProductInfoBase>
const &ptr)
mutable {
80 ptr->registerProduct(producesCollector);
101 std::vector<std::shared_ptr<simproducer::ProductInfoBase>>
m_info;
void registerProduct(edm::ProducesCollector producesCollector) const override
void produces(const std::string &instanceName)
virtual ~ProductInfoBase()
ProductInfo(const std::string &iInstanceName)
void registerProducts(edm::ProducesCollector producesCollector)
ProductInfoBase(const std::string &iInstanceName)
virtual void produce(edm::Event &, const edm::EventSetup &)=0
ProductRegistryHelper::BranchAliasSetterT< ProductType > produces()
const SimProducer & operator=(const SimProducer &)=delete
const std::string & instanceName() const
std::vector< std::shared_ptr< simproducer::ProductInfoBase > > m_info
std::string m_instanceName
virtual void registerProduct(edm::ProducesCollector) const =0