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