29 phg4cellcontainer = thisNode->
getData();
31 if (phg4cellcontainer)
35 *
fout <<
"size: " << phg4cellcontainer->
size() << std::endl;
36 for (hiter = cell_begin_end.first; hiter != cell_begin_end.second; hiter++)
38 *
fout <<
"id: 0x" << std::hex << hiter->second->get_cell_id() << std::dec << std::endl;
39 *
fout <<
"layer: " << hiter->second->get_layer() << std::endl;
40 *
fout <<
"edep: " << hiter->second->get_edep() << std::endl;
41 int tmp = hiter->second->get_binz();
44 *
fout <<
"binz: " << tmp << std::endl;
46 tmp = hiter->second->get_binphi();
49 *
fout <<
"binphi: " << tmp << std::endl;
51 tmp = hiter->second->get_bineta();
54 *
fout <<
"bineta: " << tmp << std::endl;
56 float dtmp = hiter->second->get_light_yield();
57 if (std::isfinite(dtmp))
59 *
fout <<
"get_light_yield(): " << dtmp << std::endl;
61 tmp = hiter->second->get_fiber_ID();
64 *
fout <<
"get_fiber_ID(): " << hiter->second->get_fiber_ID() << std::endl;
66 std::string tmpstr = hiter->second->get_sensor_index();
69 *
fout <<
"get_sensor_index(): " << hiter->second->get_sensor_index() << std::endl;
71 tmp = hiter->second->get_ladder_phi_index();
74 *
fout <<
"get_ladder_phi_index(): " << hiter->second->get_ladder_phi_index() << std::endl;
76 tmp = hiter->second->get_ladder_z_index();
79 *
fout <<
"get_ladder_z_index(): " << hiter->second->get_ladder_z_index() << std::endl;
81 tmp = hiter->second->get_j_index();
84 *
fout <<
"get_j_index(): " << hiter->second->get_j_index() << std::endl;
86 tmp = hiter->second->get_k_index();
89 *
fout <<
"get_k_index(): " << hiter->second->get_k_index() << std::endl;
91 tmp = hiter->second->get_l_index();
94 *
fout <<
"get_l_index(): " << hiter->second->get_l_index() << std::endl;
96 tmp = hiter->second->get_pixel_index();
99 *
fout <<
"get_pixel_index(): " << hiter->second->get_pixel_index() << std::endl;
101 tmp = hiter->second->get_chip_index();
104 *
fout <<
"get_chip_index(): " << hiter->second->get_chip_index() << std::endl;
106 tmp = hiter->second->get_module_index();
109 *
fout <<
"get_module_index(): " << hiter->second->get_module_index() << std::endl;
111 tmp = hiter->second->get_half_stave_index();
114 *
fout <<
"get_half_stave_index(): " << hiter->second->get_half_stave_index() << std::endl;
116 tmp = hiter->second->get_stave_index();
119 *
fout <<
"get_stave_index(): " << hiter->second->get_stave_index() << std::endl;
125 *
fout <<
"hit 0x" << std::hex << iter->first << std::dec <<
" edep: " << iter->second << std::endl;
130 *
fout <<
"shower " << iter->first <<
" edep: " << iter->second << std::endl;