28 phg4inevent = thisNode->
getData();
32 std::map<int, PHG4VtxPoint *>::const_iterator vtxiter;
33 std::multimap<int, PHG4Particle *>::const_iterator particle_iter;
34 std::pair<std::map<int, PHG4VtxPoint *>::const_iterator, std::map<int, PHG4VtxPoint *>::const_iterator> vtxbegin_end = phg4inevent->
GetVertices();
36 for (vtxiter = vtxbegin_end.first; vtxiter != vtxbegin_end.second; ++vtxiter)
38 *
fout <<
"vtx number: " << vtxiter->first << std::endl;
40 std::pair<std::multimap<int, PHG4Particle *>::const_iterator, std::multimap<int, PHG4Particle *>::const_iterator> particlebegin_end = phg4inevent->
GetParticles(vtxiter->first);
41 for (particle_iter = particlebegin_end.first; particle_iter != particlebegin_end.second; ++particle_iter)