8 #include "HepMC/GenEvent.h" 30 produces<edm::HepMCProduct>();
35 if (theHepMCProduct.isValid()) {
36 auto pu_product = std::make_unique<edm::HepMCProduct>();
39 auto pu_product = std::make_unique<edm::HepMCProduct>(*theHepMCProduct);
void addWithDefaultLabel(ParameterSetDescription const &psetDescription)
void produce(edm::Event &e, const edm::EventSetup &c) override
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
#define DEFINE_FWK_MODULE(type)
~HepMCCopy() override=default
HepMCCopy(edm::ParameterSet const &p)
const edm::EDGetTokenT< edm::HepMCProduct > hepMCToken_