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