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