28 phg4hitcontainer = thisNode->
getData();
34 *
fout <<
"size: " << phg4hitcontainer->
size() << std::endl;
35 *
fout <<
"num layers: " << phg4hitcontainer->
num_layers() << std::endl;
36 for (hiter = hit_begin_end.first; hiter != hit_begin_end.second; hiter++)
38 *
fout <<
"id: 0x" << std::hex << hiter->second->get_hit_id() << std::dec << std::endl;
39 *
fout <<
"detid: " << hiter->second->get_detid() << std::endl;
40 *
fout <<
"trkid: " << hiter->second->get_trkid() << std::endl;
41 *
fout <<
"edep: " << hiter->second->get_edep() << std::endl;
42 for (
int i = 0;
i < 2;
i++)
44 *
fout <<
"x(" <<
i <<
"): " << hiter->second->get_x(
i) << std::endl;
45 *
fout <<
"y(" <<
i <<
"): " << hiter->second->get_y(
i) << std::endl;
46 *
fout <<
"z(" <<
i <<
"): " << hiter->second->get_z(
i) << std::endl;
47 *
fout <<
"t(" <<
i <<
"): " << hiter->second->get_t(
i) << std::endl;
49 for (
auto ic = 0; ic < UCHAR_MAX; ic++)
52 if (hiter->second->has_property(prop_id))
54 *
fout <<
"prop id: " <<
static_cast<unsigned int>(ic);
56 *
fout <<
", name " << property_info.first <<
" value ";
57 switch (property_info.second)
60 *
fout << hiter->second->get_property_int(prop_id);
63 *
fout << hiter->second->get_property_uint(prop_id);
66 *
fout << hiter->second->get_property_float(prop_id);
69 *
fout <<
" unknown type ";