42 HepMC::GenEvent::particle_const_iterator begin = evt->particles_begin();
43 HepMC::GenEvent::particle_const_iterator
end = evt->particles_end();
45 bool foundHadron =
false;
46 bool foundDecay =
false;
49 HepMC::GenEvent::particle_const_iterator it = begin;
50 while ((!foundHadron || !foundDecay) && it !=
end) {
71 return (foundHadron && foundDecay);