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