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 produces(const std::string &instanceName)
ProductRegistryHelper::BranchAliasSetterT< ProductType > produces()
const std::string & instanceName() const
std::string m_instanceName
void registerProducts(edm::ProducesCollector producesCollector)
virtual ~ProductInfoBase()
ProductInfoBase(const std::string &iInstanceName)
ProductInfo(const std::string &iInstanceName)
void registerProduct(edm::ProducesCollector producesCollector) const override
std::vector< std::shared_ptr< simproducer::ProductInfoBase > > m_info