16 std::unique_ptr<reco::GenParticleRefVector>&
partons) {
18 for (reco::GenParticleCollection::const_iterator it = particles->begin(); it != particles->end(); ++it) {
28 int nparton_daughters = 0;
29 for (
unsigned i = 0;
i < it->numberOfDaughters(); ++
i) {
34 if (nparton_daughters == 0)
~Pythia8PartonSelector() override
bool isParton(const reco::Candidate &c)
void run(const edm::Handle< reco::GenParticleCollection > &particles, std::unique_ptr< reco::GenParticleRefVector > &partons) override