30 phg4hitcontainer = thisNode->
getData();
36 *
fout <<
"size: " << phg4hitcontainer->
size() << endl;
38 for (hiter = hit_begin_end.first; hiter != hit_begin_end.second; hiter++)
40 *
fout <<
"id: 0x" << hex << hiter->second->get_hit_id() << dec << endl;
41 *
fout <<
"detid: " << hiter->second->get_detid() << endl;
42 *
fout <<
"trkid: " << hiter->second->get_trkid() << endl;
43 *
fout <<
"edep: " << hiter->second->get_edep() << endl;
44 for (
int i = 0; i < 2; i++)
46 *
fout <<
"x(" << i <<
"): " << hiter->second->get_x(i) << endl;
47 *
fout <<
"y(" << i <<
"): " << hiter->second->get_y(i) << endl;
48 *
fout <<
"z(" << i <<
"): " << hiter->second->get_z(i) << endl;
49 *
fout <<
"t(" << i <<
"): " << hiter->second->get_t(i) << endl;
51 for (
unsigned char ic = 0; ic < UCHAR_MAX; ic++)
54 if (hiter->second->has_property(prop_id))
56 *
fout <<
"prop id: " <<
static_cast<unsigned int>(ic);
58 *
fout <<
", name " << property_info.first <<
" value ";
59 switch (property_info.second)
62 *
fout << hiter->second->get_property_int(prop_id);
65 *
fout << hiter->second->get_property_uint(prop_id);
68 *
fout << hiter->second->get_property_float(prop_id);
71 *
fout <<
" unknown type ";