6 #include "HepMC/GenEvent.h"
19 produces<edm::HepMCProduct>();
26 auto pu_product = std::make_unique<edm::HepMCProduct>();
29 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.
const edm::EventSetup & c
#define DEFINE_FWK_MODULE(type)
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
HepMCCopy(edm::ParameterSet const &p)
static std::string const source