13 #include <g4jets/JetMap.h>
14 #include <g4jets/Jet.h>
27 const string &recojetname,
28 const string &truthjetname,
31 _recojetname(recojetname),
32 _truthjetname(truthjetname),
37 _do_recojet_eval(
true),
38 _do_truthjet_eval(
true),
43 _FluxReturn_plus_hit_container(NULL),
44 _FluxReturn_minus_hit_container(NULL),
45 _BH_1_hit_container(NULL),
46 _BH_Forward_hit_container(NULL),
47 _BH_Negative_hit_container(NULL)
59 "event:id:ncomp:eta:phi:e:pt:"
60 "gid:gncomp:geta:gphi:ge:gpt:"
64 "event:gid:gncomp:geta:gphi:ge:gpt:"
65 "id:ncomp:eta:phi:e:pt:"
66 "efromtruth:e_FR_plus:e_FR_minus:e_BH1:e_BH_plus:e_BH_minus");
144 cout <<
"========================== JetEnergies::End() ============================" << endl;
145 cout <<
" " <<
_ievent <<
" events of output written to: " <<
_filename << endl;
146 cout <<
"===========================================================================" << endl;
166 if (
verbosity > 2) cout <<
"JetEnergies::fillOutputNtuples() entered" << endl;
182 if (
verbosity > 1) cout <<
"JetEnergies::filling recojet ntuple..." << endl;
192 iter != recojets->
end();
194 Jet* recojet = iter->second;
197 float id = recojet->
get_id();
201 float e = recojet->
get_e();
217 ge = truthjet->
get_e();
222 float recojet_data[14] = {(float)
_ievent,
247 if (
verbosity > 1) cout <<
"JetEnergies::filling truthjet ntuple..." << endl;
257 iter != truthjets->
end();
259 Jet* truthjet = iter->second;
265 float gphi = truthjet->
get_phi();
266 float ge = truthjet->
get_e();
267 float gpt = truthjet->
get_pt();
282 e = recojet->
get_e();
287 float truthjet_data[19] = {(float)
_ievent,
330 PHG4Hit *this_hit = hit_iter->second;