16 for (
int i =0;
i<2;
i++)
30 for (
unsigned char ic = 0; ic < UCHAR_MAX; ic++)
44 os <<
"Class " << this->ClassName() << endl;
45 os <<
"x0: " << get_x(0)
46 <<
", y0: " << get_y(0)
47 <<
", z0: " << get_z(0)
48 <<
", t0: " << get_t(0) << endl;
49 os <<
"x1: " << get_x(1)
50 <<
", y1: " << get_y(1)
51 <<
", z1: " << get_z(1)
52 <<
", t1: " << get_t(1) << endl;
53 os <<
"trackid: " << get_trkid() <<
", edep: " << get_edep() << endl;
54 os <<
"strip_z_index: " << get_strip_z_index() <<
", strip_y_index: " << get_strip_y_index() << endl;
55 os <<
"ladder_z_index: " << get_ladder_z_index() <<
", ladder_phi_index: " << get_ladder_phi_index() << endl;
56 os <<
"stave_index: " << get_property_int(prop_stave_index) <<
" half_stave_index " << get_property_int(prop_half_stave_index) << endl;
57 os <<
"module_index: " << get_property_int(prop_module_index) <<
" chip_index " << get_property_int(prop_chip_index) << endl;
58 os <<
"layer id: " << get_layer() <<
", scint_id: " << get_scint_id() << endl;
59 os <<
"hit type: " << get_hit_type() << endl;
72 cout <<
"Reset not implemented by daughter class" << endl;
76 std::pair<const std::string,PHG4Hit::PROPERTY_TYPE>
83 case prop_light_yield:
85 case prop_raw_light_yield:
115 case prop_path_length:
125 case prop_strip_z_index:
127 case prop_strip_y_index:
129 case prop_ladder_z_index:
131 case prop_ladder_phi_index:
141 case prop_stave_index:
143 case prop_half_stave_index:
145 case prop_module_index:
147 case prop_chip_index:
149 case prop_local_pos_x_0:
151 case prop_local_pos_y_0:
153 case prop_local_pos_z_0:
157 case prop_local_pos_x_1:
159 case prop_local_pos_y_1:
161 case prop_local_pos_z_1:
165 cout <<
"PHG4Hit::get_property_info - Fatal Error - unknown index " << prop_id << endl;
175 pair<const string,PROPERTY_TYPE> property_info = get_property_info(prop_id);
176 if (property_info.second != prop_type)
191 return "unsigned int";