void produce(edm::Event &e, const edm::EventSetup &) override
process one event
edm::EDGetTokenT< reco::GenParticleCollection > srcToken_
source collection name
GenParticleDecaySelector(const edm::ParameterSet &)
constructor
void setup(const edm::EventSetup &)
fill data from Event Setup
std::pair< reco::GenParticleRef, reco::GenParticle * > add(reco::GenParticleCollection &, const reco::GenParticle &, reco::GenParticleRefProd)
recursively add a new particle to the output collection