8 #include "HepMC/GenEvent.h" 13 produces<edm::HepMCProduct>();
22 auto pu_product = std::make_unique<edm::HepMCProduct>();
25 auto pu_product = std::make_unique<edm::HepMCProduct>(*theHepMCProduct);
void produce(edm::Event &e, const edm::EventSetup &c) override
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
#define DEFINE_FWK_MODULE(type)
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
HepMCCopy(edm::ParameterSet const &p)
static std::string const source