50 <<
"Parton selection parameters: " <<
id << st <<
etamax <<
ptmin << endl;
58 HepMC::GenEvent::particle_const_iterator begin = evt->particles_begin();
59 HepMC::GenEvent::particle_const_iterator
end = evt->particles_end();
61 bool foundHadron =
false;
62 bool foundDecay =
false;
63 bool foundParton =
false;
65 HepMC::GenEvent::particle_const_iterator it = begin;
66 while (!foundParton && it !=
end) {
75 HepMC::GenEvent::particle_const_iterator it2 = begin;
78 while ((!foundHadron || !foundDecay) && it2 !=
end) {
101 return (foundHadron && foundDecay && foundParton);