17 produces<edm::HepMCProduct>();
27 std::unique_ptr<edm::HepMCProduct> theCopy(
new edm::HepMCProduct(*theHepMCProduct));
36 descriptions.
add(
"generatorSmeared", desc);
edm::EDGetTokenT< edm::HepMCProduct > newToken_
GeneratorSmearedProducer(edm::ParameterSet const &p)
ParameterDescriptionBase * addUntracked(U const &iLabel, T const &value)
bool getByToken(EDGetToken token, Handle< PROD > &result) const
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
edm::EDGetTokenT< edm::HepMCProduct > oldToken_
void add(std::string const &label, ParameterSetDescription const &psetDescription)
virtual void produce(edm::Event &e, edm::EventSetup const &c) override