29 , _recojetname(recojetname)
30 , _truthjetname(truthjetname)
42 _ntp_recojet =
new TNtuple(
"ntp_recojet",
"reco jet => max truth jet",
43 "event:id:ncomp:eta:phi:e:pt:"
44 "gid:gncomp:geta:gphi:ge:gpt:"
50 _ntp_truthjet =
new TNtuple(
"ntp_truthjet",
"truth jet => best reco jet",
51 "event:gid:gncomp:geta:gphi:ge:gpt:"
52 "id:ncomp:eta:phi:e:pt:"
114 std::cout <<
"========================== JetEvaluator::End() ============================" << std::endl;
115 std::cout <<
" " <<
_ievent <<
" events of output written to: " <<
_filename << std::endl;
116 std::cout <<
"===========================================================================" << std::endl;
140 std::cout <<
"JetEvaluator::fillOutputNtuples() entered" << std::endl;
155 std::cout <<
"JetEvaluator::filling recojet ntuple..." << std::endl;
166 for (
auto recojet : *recojets)
171 float id = recojet->
get_id();
172 float ncomp = recojet->size_comp();
173 float eta = recojet->get_eta();
174 float phi = recojet->get_phi();
175 float e = recojet->get_e();
176 float pt = recojet->get_pt();
192 ge = truthjet->
get_e();
197 float recojet_data[14] = {(float)
_ievent,
224 std::cout <<
"JetEvaluator::filling truthjet ntuple..." << std::endl;
235 for (
auto truthjet : *truthjets)
240 float gid = truthjet->get_id();
241 float gncomp = truthjet->size_comp();
242 float geta = truthjet->get_eta();
243 float gphi = truthjet->get_phi();
244 float ge = truthjet->get_e();
245 float gpt = truthjet->get_pt();
261 e = recojet->
get_e();
266 float truthjet_data[14] = {(float)
_ievent,