1 #ifndef Watcher_SimProducer_h 2 #define Watcher_SimProducer_h 71 std::for_each(
m_info.begin(),
73 [&producesCollector](std::shared_ptr<simproducer::ProductInfoBase>
const &ptr)
mutable {
74 ptr->registerProduct(producesCollector);
93 std::vector<std::shared_ptr<simproducer::ProductInfoBase>>
m_info;
void produces(const std::string &instanceName)
const std::string & instanceName() const
void registerProduct(edm::ProducesCollector producesCollector) const override
ProductRegistryHelper::BranchAliasSetterT< ProductType > produces()
std::string m_instanceName
virtual void registerProduct(edm::ProducesCollector) const =0
void registerProducts(edm::ProducesCollector producesCollector)
const SimProducer & operator=(const SimProducer &)=delete
virtual ~ProductInfoBase()
virtual void produce(edm::Event &, const edm::EventSetup &)=0
ProductInfoBase(const std::string &iInstanceName)
ProductInfo(const std::string &iInstanceName)
std::vector< std::shared_ptr< simproducer::ProductInfoBase > > m_info