27 const string &recojetname,
28 const string &truthjetname,
31 , _recojetname(recojetname)
32 , _truthjetname(truthjetname)
34 , _jetevalstack(nullptr)
36 , _do_recojet_eval(
true)
37 , _do_truthjet_eval(
true)
38 , _ntp_recojet(nullptr)
39 , _ntp_truthjet(nullptr)
52 "event:id:ncomp:eta:phi:e:pt:"
53 "gid:gncomp:geta:gphi:ge:gpt:"
57 "event:gid:gncomp:geta:gphi:ge:gpt:"
58 "id:ncomp:eta:phi:e:pt:"
113 cout <<
"========================== JetEvaluator::End() ============================" << endl;
114 cout <<
" " <<
_ievent <<
" events of output written to: " <<
_filename << endl;
115 cout <<
"===========================================================================" << endl;
137 if (
Verbosity() > 2) cout <<
"JetEvaluator::fillOutputNtuples() entered" << endl;
148 if (
Verbosity() > 1) cout <<
"JetEvaluator::filling recojet ntuple..." << endl;
159 iter != recojets->
end();
162 Jet *recojet = iter->second;
165 float id = recojet->
get_id();
169 float e = recojet->
get_e();
178 float efromtruth = NAN;
186 ge = truthjet->
get_e();
191 float recojet_data[14] = {(float)
_ievent,
216 if (
Verbosity() > 1) cout <<
"JetEvaluator::filling truthjet ntuple..." << endl;
227 iter != truthjets->
end();
230 Jet *truthjet = iter->second;
233 float gid = truthjet->
get_id();
235 float geta = truthjet->
get_eta();
236 float gphi = truthjet->
get_phi();
237 float ge = truthjet->
get_e();
238 float gpt = truthjet->
get_pt();
246 float efromtruth = NAN;
254 e = recojet->
get_e();
259 float truthjet_data[14] = {(float)
_ievent,