1 #include "boost/foreach.hpp"
3 #include "HepMC/GenVertex.h"
4 #include "HepMC/GenRanges.h"
9 HepMC::GenVertexParticleRange
r(HepMC::GenVertex *
vertex, HepMC::children);
11 for (HepMC::GenVertex::particle_iterator
it = r.begin ();
it != r.end ();
it++);
13 BOOST_FOREACH(HepMC::GenVertex::particle_iterator
it, r);