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