29 truthcontainer = thisNode->
getData();
33 *
fout <<
"number of G4 tracks: " << truthcontainer->
size() << std::endl;
34 *
fout <<
"min trk index: " << truthcontainer->
mintrkindex() << std::endl;
35 *
fout <<
"max trk index: " << truthcontainer->
maxtrkindex() << std::endl;
37 *
fout <<
"min vtx index: " << truthcontainer->
minvtxindex() << std::endl;
38 *
fout <<
"max vtx index: " << truthcontainer->
maxvtxindex() << std::endl;
39 *
fout <<
"number of Showers: " << truthcontainer->
shower_size() << std::endl;
47 for (vtxiter = vtxbegin_end.first; vtxiter != vtxbegin_end.second; vtxiter++)
49 *
fout <<
"vtx number: " << vtxiter->first << std::endl;
54 for (particle_iter = particlebegin_end.first; particle_iter != particlebegin_end.second; particle_iter++)
56 *
fout <<
"particle number: " << particle_iter->first << std::endl;
61 for (shower_iter = showerbegin_end.first; shower_iter != showerbegin_end.second; ++shower_iter)
63 *
fout <<
"shower " << shower_iter->first << std::endl;
64 *
fout <<
"get_id(): " << shower_iter->second->get_id() << std::endl;
65 *
fout <<
"get_parent_particle_id(): " << shower_iter->second->get_parent_particle_id() << std::endl;
66 *
fout <<
"get_parent_shower_id(): " << shower_iter->second->get_parent_shower_id() << std::endl;
67 *
fout <<
"get_x(): " << shower_iter->second->get_x() << std::endl;
68 *
fout <<
"get_y(): " << shower_iter->second->get_y() << std::endl;
69 *
fout <<
"get_z(): " << shower_iter->second->get_z() << std::endl;
71 const std::pair<std::map<int, int>::const_iterator,
72 std::map<int, int>::const_iterator>
74 for (
auto embed_iter = embed_begin_end.first; embed_iter != embed_begin_end.second; ++embed_iter)
76 *
fout <<
"vtx id " << embed_iter->first <<
", embed id: " << embed_iter->second << std::endl;
78 const std::pair<std::map<int, int>::const_iterator,
79 std::map<int, int>::const_iterator>
81 for (
auto embed_iter = embed_begin_end1.first; embed_iter != embed_begin_end1.second; ++embed_iter)
83 *
fout <<
"track id " << embed_iter->first <<
", embed id: " << embed_iter->second << std::endl;