31 phg4cellcontainer = thisNode->
getData();
33 if (phg4cellcontainer)
37 *
fout <<
"size: " << phg4cellcontainer->
size() << endl;
38 for (hiter = cell_begin_end.first; hiter != cell_begin_end.second; hiter++)
40 *
fout <<
"id: 0x" << hex << hiter->second->get_cell_id() << dec << endl;
41 *
fout <<
"layer: " << hiter->second->get_layer() << endl;
42 *
fout <<
"edep: " << hiter->second->get_edep() << endl;
43 int tmp = hiter->second->get_binz();
46 *
fout <<
"binz: " << tmp << endl;
48 tmp = hiter->second->get_binphi();
51 *
fout <<
"binphi: " << tmp << endl;
53 tmp = hiter->second->get_bineta();
56 *
fout <<
"bineta: " << tmp << endl;
58 float dtmp = hiter->second->get_light_yield();
61 *
fout <<
"get_light_yield(): " << dtmp << endl;
63 tmp = hiter->second->get_fiber_ID();
66 *
fout <<
"get_fiber_ID(): " << hiter->second->get_fiber_ID() << endl;
68 string tmpstr = hiter->second->get_sensor_index();
71 *
fout <<
"get_sensor_index(): " << hiter->second->get_sensor_index() << endl;
73 tmp = hiter->second->get_ladder_phi_index();
76 *
fout <<
"get_ladder_phi_index(): " << hiter->second->get_ladder_phi_index() << endl;
78 tmp = hiter->second->get_ladder_z_index();
81 *
fout <<
"get_ladder_z_index(): " << hiter->second->get_ladder_z_index() << endl;
83 tmp = hiter->second->get_j_index();
86 *
fout <<
"get_j_index(): " << hiter->second->get_j_index() << endl;
88 tmp = hiter->second->get_k_index();
91 *
fout <<
"get_k_index(): " << hiter->second->get_k_index() << endl;
93 tmp = hiter->second->get_l_index();
96 *
fout <<
"get_l_index(): " << hiter->second->get_l_index() << endl;
98 tmp = hiter->second->get_pixel_index();
101 *
fout <<
"get_pixel_index(): " << hiter->second->get_pixel_index() << endl;
103 tmp = hiter->second->get_chip_index();
106 *
fout <<
"get_chip_index(): " << hiter->second->get_chip_index() << endl;
108 tmp = hiter->second->get_module_index();
111 *
fout <<
"get_module_index(): " << hiter->second->get_module_index() << endl;
113 tmp = hiter->second->get_half_stave_index();
116 *
fout <<
"get_half_stave_index(): " << hiter->second->get_half_stave_index() << endl;
118 tmp = hiter->second->get_stave_index();
121 *
fout <<
"get_stave_index(): " << hiter->second->get_stave_index() << endl;
127 *
fout <<
"hit 0x" << hex << iter->first << dec <<
" edep: " << iter->second << endl;
132 *
fout <<
"shower " << iter->first <<
" edep: " << iter->second << endl;