25 for (
int i = 0; i < 3; ++i)
_mom[i] = NAN;
30 os <<
"---Jet v1-----------------------" << endl;
31 os <<
"jetid: " <<
get_id() << endl;
32 os <<
" (px,py,pz,e) = (" <<
get_px() <<
", " <<
get_py() <<
", ";
33 os <<
get_pz() <<
", " <<
get_e() <<
") GeV" << endl;
37 cout << citer->first <<
" -> " << citer->second << endl;
39 os <<
"-----------------------------------------------" << endl;
47 for (
int i = 0; i < 3; ++i)
_mom[i] = NAN;
55 if (
_id == 0xFFFFFFFF)
return 0;
56 for (
int i = 0; i < 3; ++i)
58 if (isnan(
_mom[i]))
return 0;
60 if (isnan(
_e))
return 0;
101 return -1 * sqrt(fabs(mass2));
114 typ_property_map::const_iterator citer =
_property_map.find(prop_id);
123 typ_property_map::const_iterator citer =
_property_map.find(prop_id);
127 return citer->second;
137 for (typ_property_map::const_iterator citer =
_property_map.begin();
142 switch (citer->first)
148 os <<
"Jet B-quark fraction";
151 os <<
"Property[" << citer->first <<
"]";
155 os <<
"\t= " << citer->second << endl;